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

🛤️ tracking: Release Automation #6103

Closed
16 of 28 tasks
runspired opened this issue May 13, 2019 · 5 comments
Closed
16 of 28 tasks

🛤️ tracking: Release Automation #6103

runspired opened this issue May 13, 2019 · 5 comments

Comments

@runspired
Copy link
Contributor

runspired commented May 13, 2019

The EmberData team recently landed a number of improvements to the release publishing and CI pipelines to reduce the cost overhead of releases, enable publishing canary builds to npm, and prepare for a more automated future.

This ticket outlines remaining work items we hope to accomplish to complete our quest for low-to-zero-overhead releases:

CI

  • ensure we match Travis for current Azure setup
    🔒Claimed by @HeroicEric Update Azure Pipelines config to match Travis config #6098
  • Drop travis.yml and deactivate Travis for ember-data We dropped all jobs we could. Once we have allowed-failure equivalent in gh-actions we will drop the rest.
  • validate that all PRs have a label for the targeted branch
  • validate that all PRs have a label for their kind (fix|chore|test|security etc.)

Branch Management

  • document how to use the backporting bot feature for backporting fixes to beta and release branches
  • improve backporting bot feature to account for fixes that need to target both beta and release branches
  • configure the backporting bot to work via labels
  • [DISCUSS] backporting bot should run lint --fix automatically on backported commits

Changelog Generation

  • move to lerna changelog from custom solution
  • add changelog generation into the lerna version automation step in our release script
  • investigate configuring our monorepo to publish release notes (possible if using lerna changelog)
  • Improve Changelog generated output (ref Better changelog management #7928)
    • don't include beta/canary builds
    • don't include references to private/unpublished packages

Publishing

  • Automate nightly publishing of canary to npm registry
    • failed & successful attempts should notify @core-data in #dev-ember-data on discord
    • should only publish if changes exist since last canary
  • configure CI with a token to be used in place of OTP for publishing to npm
  • upgrade release script to confirm or bypass the lerna version prompt for the intended version bump

Testing
Automation also means we will want to ensure more robust testing.

  • add tests for our automated release process (likely via https://verdaccio.org/)
  • IE11 integration tests [FEAT CI] Fastboot and IE11 Integration Tests #6431
  • fastboot integration tests [FEAT CI] Fastboot and IE11 Integration Tests #6431
  • make it clear upstream needs to be set
  • lts release bumps patch version when it's just a "new channel", is this necessary?
  • update guidance for using lerna-changelog always, not just lts
  • lerna-changelog generates for every alpha, this is annoying, can we auto-collapse to minor/major?
  • should we drop internal/house commits?
  • we should update azure-pipelines ember-try guidance to reference github actions
  • can we automate the changelog step further?
  • can we auto publish release notes?
@runspired runspired pinned this issue Aug 1, 2019
@runspired runspired changed the title [QUEST] Release Automation [QUEST] Release Automation ⚙️📦💙 Sep 11, 2019
@runspired
Copy link
Contributor Author

cc @HeroicEric for assignment

@BryanCrotaz
Copy link
Contributor

I looked at whether I could contribute on backport bot but it appears to backport onto branches - There are no release branches since 3.4 - is this a change of branching methodology?

@runspired
Copy link
Contributor Author

@BryanCrotaz we only create specific release branch if we have something to backport, so the first backport we create a branch from the tag.

@runspired
Copy link
Contributor Author

@BryanCrotaz would you be interested in picking up where @Gaurav0 left off with the backport bot?

@runspired runspired moved this to Quest | Underway in EmberData Feb 18, 2022
@runspired runspired unpinned this issue Jul 28, 2022
This was referenced Dec 3, 2022
@runspired runspired changed the title [QUEST] Release Automation ⚙️📦💙 [QUEST] Release Automation Sep 10, 2023
@runspired runspired moved this to needs champion in EmberData Sep 17, 2023
@runspired runspired changed the title [QUEST] Release Automation 🛤️ tracking: Release Automation Sep 17, 2023
@runspired
Copy link
Contributor Author

with #9231 I don't think this particular ticket serves us much use anymore. I would love for use to get a backport bot still, but automating releases is itself a big enough win I'm not sure its worth keeping this open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

4 participants
@runspired @igorT @BryanCrotaz and others