Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs for Autodetected releases and release markers #9026

Merged
merged 11 commits into from
Nov 1, 2024

Conversation

rosieyohannan
Copy link
Contributor

@rosieyohannan rosieyohannan commented Oct 17, 2024

Description

Expanded section in releases overview to explain the process of autodetection, how to opt out, how to go and manually configure an exisitng release marker or manually set up from scratch.

Reasons

A link to a GitHub and/or JIRA issue (if applicable).
Otherwise, a brief sentence about why you made these changes.

Content Checklist

Please follow our style when contributing to CircleCI docs. Our style guide is here: https://circleci.com/docs/style/style-guide-overview.

Please take a moment to check through the following items when submitting your PR (this is just a guide so will not be relevant for all PRs) 😸:

  • Break up walls of text by adding paragraph breaks.
  • Consider if the content could benefit from more structure, such as lists or tables, to make it easier to consume.
  • Keep the title between 20 and 70 characters.
  • Consider whether the content would benefit from more subsections (h2-h6 headings) to make it easier to consume.
  • Check all headings h1-h6 are in sentence case (only first letter is capitalized).
  • Is there a "Next steps" section at the end of the page giving the reader a clear path to what to read next?
  • Include relevant backlinks to other CircleCI docs/pages.

@rosieyohannan rosieyohannan changed the title [WIP] Docs for Autodetected releases Docs for Autodetected releases and release markers Oct 23, 2024
@rosieyohannan rosieyohannan marked this pull request as ready for review October 23, 2024 15:55
@rosieyohannan rosieyohannan requested review from a team as code owners October 23, 2024 15:55

=== Autodetection of releases

CircleCI looks for the word `deploy` in your job names to detect when a release may be in progress and creates an autodetected release marker.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
CircleCI looks for the word `deploy` in your job names to detect when a release may be in progress and creates an autodetected release marker.
CircleCI looks for the word `deploy` in your job names to detect when a release may have happened and creates an autodetected release marker.

clarify the release might have been done for two reasons

  1. we decide to create the release when the deploy job is success, it means is in a terminal status (the thing already happened)
  2. we don't care much about the status of the release, we just log the event but the release may be in progress, success or failure status.

When CircleCI creates a release marker for you automatically, we use the information available in your pipeline configuration to create the following:

* **Component**: CircelCI created a component for the release and uses your project name to create a component name.
* **Environment integration**: CircleCI creates an enviornment for you, using your job and workflow names to create a relevant name. The environment has the type `AUTODETECTED`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we mention that if we do a best effort to determine the environment name, if not possible the environment name would be autogenerated, also they can feel free to rename it and that won't cause any issues with the autodetection process

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I see, so they can update the name, just not the type

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the team discarded the idea of updating the type for now, we are going to allow only the name from the time being

@alexazl alexazl merged commit b21d84c into master Nov 1, 2024
3 checks passed
@alexazl alexazl deleted the DOCSS-1626-automated-releases branch November 1, 2024 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants