-
Notifications
You must be signed in to change notification settings - Fork 67
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
chore(ci): move releasing to GitHub Actions MONGOSH-1871 #2309
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: Nikola Irinchev <[email protected]>
0edc03e
to
187cfd2
Compare
name: Release mongosh | ||
on: | ||
workflow_run: | ||
workflows: ["CheckQL", "Run Smoke Tests", "evergreen"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure if evergreen is considered a workflow since it seems to be created by a bot/integration(?). Could leave and see what happens or just make it manual-only
187cfd2
to
8bfe843
Compare
1561be9
to
3c557da
Compare
707000e
to
7868a6c
Compare
Co-authored-by: Nikola Irinchev <[email protected]>
7868a6c
to
990f8ee
Compare
['merge', '--squash', `origin/release/${mongoshVersion}`], | ||
commandOptions | ||
); | ||
spawnSync( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this essentially merges the PR but wondering if it'd be worth using GitHub CLI here instead to i.e. have reference to the original PR naming when merging. Don't know how easy it is with how our GitHub Actions Bot token works
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, right now this pushes from evergreen, right? Do we even have permissions for that?
{ isDryRun = false, useAuxiliaryPackagesOnly = false }, | ||
listNpmPackages: typeof listNpmPackagesFn = listNpmPackagesFn, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getting rid of this helper so we can share more code
working_dir: src | ||
shell: bash | ||
script: | | ||
set -e | ||
set -x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we write the secrets first, then turn set -x
on after so that it's turned on for the rest of the script? It's really helpful when debugging CI issues
['merge', '--squash', `origin/release/${mongoshVersion}`], | ||
commandOptions | ||
); | ||
spawnSync( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, right now this pushes from evergreen, right? Do we even have permissions for that?
Built on top of #2289.
To Do: