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: improve release devops #546

Merged
merged 3 commits into from
Nov 6, 2024
Merged

ci: improve release devops #546

merged 3 commits into from
Nov 6, 2024

Conversation

Mirko-von-Leipzig
Copy link
Contributor

This PR changes the deploy workflow to a more controlled manual flow.

It also distinguishes between creating a package, and bundling it into a release which simplifies the code overall.

Currently, deployment is automatic and occurs on each push for devnet and on each release for testnet. This doesn't quite suit our needs as often we want to release, test on devnet and only then deploy on testnet. Further, currently its impossible to create release artifacts without doing a deployment as well. This PR separates these concerns and allows for manually deploying.

This PR also fixes some (as yet unknown) issues with the deployment scripts, causing deployments to not fully take (known to occur on at least devnet).

This PR is not yet complete.

@Mirko-von-Leipzig Mirko-von-Leipzig marked this pull request as ready for review November 6, 2024 13:29
Copy link
Contributor

@Dominik1999 Dominik1999 left a comment

Choose a reason for hiding this comment

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

looks good to me, but I have little exp in this DevOps wizardry

aws s3 cp ${{ env.node-package }} ${{ env.s3-path }}/${{ env.node-package }}
aws s3 cp ${{ env.node-faucet }} ${{ env.s3-path }}/${{ env.node-faucet }}

# TODO: does this fail if the files already exist?
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need the still as a ToDo?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah its something I'll have to try out at some stage - can't try it locally since its a command on a remote aws server.

@Mirko-von-Leipzig Mirko-von-Leipzig merged commit e3aefd1 into main Nov 6, 2024
8 checks passed
@Mirko-von-Leipzig Mirko-von-Leipzig deleted the mirko-devops branch November 6, 2024 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants