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

ci: new release process #31

Merged
merged 1 commit into from
Jul 23, 2022
Merged

ci: new release process #31

merged 1 commit into from
Jul 23, 2022

Conversation

KyleTryon
Copy link
Contributor

Update the CI process

This change migrates the CI process to the new "orb tools 11" process.

Blocked By:

Enable "dynamic configuration" for your project on CircleCI.

  • Visit https://app.circleci.com/ and navigate to your project.
  • Click Project Settings in the upper right corner.
  • Click Advanced
  • Toggle on Enable Dynamic Configuration

Notable changes:

  • Removed the 30 day limit
    • Previously, the configuration relied on calling a dev:alpha tagged version of the orb for testing. Due to "dev" tags on CircleCI being ephemeral with a 30-day life span, if it had been over 30 days since the orb was last published this would result in an error in the CircleCI pipeline. Users would have to manually publish their orb locally to re-start the ci pipeline
    • The new dynamic configuration system allows us to publish the dev version of the orb before calling it for testing. This means that the 30 day limit is no longer an issue.
  • Adopting Tag/Release based publishing
    • Publishing previously required a special text flag to be added to the commit message and a new version was published on every merge to the main branch.
    • The new tag/release based publishing system will simply publish your orb when you opt to push a versioned tag or use GitHub's releases feature, which will create a tag and give you an opportunity to create a change log via release notes.
  • Review system
    • The new "review" job can automatically detect opportunities to improve best-practices and provide native JUNIT output which will be displayed in the CircleCI UI.
    • Modeled after shellcheck, it is easy to skip any "review check" by supplying its "RC" code in the "exclude" parameter of the job.
  • Simplified/Improved PR Commenting
    • Automatically comment on the PR associated with a commit when each new orb version is published (dev or production.)
    • The comment will include a link to the Orb Registry to preview dev versions of the orb, and a live link to the production version of the orb.

More information on deployments: https://circleci.com/docs/creating-orbs

@KyleTryon KyleTryon marked this pull request as ready for review July 22, 2022 17:29
@meeroslav meeroslav merged commit 5bfab6b into nrwl:main Jul 23, 2022
@meeroslav
Copy link
Collaborator

Thank you @KyleTryon for the amazing PR!

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.

2 participants