-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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: update release scripts to work with AWS SSO #20438
Conversation
Thanks for taking the time to open a PR!
|
Test summaryRun details
View run in Cypress Dashboard ➡️ Flakiness
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
guides/release-process.md
Outdated
|
||
```shell | ||
yarn move-binaries --sha <commit sha> --version <new target version> | ||
``` | ||
|
||
8. Validate you are logged `npm` with `npm whoami`. Otherwise log in with `npm login`. | ||
|
||
4. Publish the new npm package under the `dev` tag, using your personal npm account. |
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.
Numbering needs to continue here.
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 stopped since markdown would render the right numbers and this would caused the full doc to change 😬 I can update though.
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.
scripts/binary/util/upload.js
Outdated
|
||
return config | ||
return await fromSSO({ profile: process.env.AWS_PROFILE || 'production' })() |
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.
Nit. Technically you don't need to await this.
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.
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.
Looks good! @emilyrohrbough how have you been testing this? With DevSandbox
?
@flotwig Thanks! DevSandbox does not have a |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Closes Update Release Process for SSO #20423
update release scripts to use AWS credentials API instead of use custom env var. This allows one to login via the aws cli and have the ability to run the move binaries and upload to s3 scripts.
updated CI env to use AWS envs instead of custom env var.
User facing changelog
n/a
How has the user experience changed?
One less ENV to set during the release and less work to determine the AWS session token and aligns with AWS docs for providing credentials.
PR Tasks
cypress-documentation
?type definitions
?cypress.schema.json
?