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

refactor: break down the deployment process into various stages #28

Merged
merged 22 commits into from
Mar 26, 2024

Conversation

leovct
Copy link
Member

@leovct leovct commented Mar 25, 2024

Description

The deployment process is now divided into various stages. The stages parameter indicates the specific stages you wish the deployment to proceed through. By default, it will execute all the stages.

Use Case

# Clean up the environment
kurtosis clean -a

# Execute the first stage (deploy L1).
yq e '.stages = [1]' --inplace params.yml
kurtosis run --enclave cdk-v1 --args-file params.yml .
# Do a bunch of things...

# Execute the second stage (configure L1).
yq e '.stages = [2]' --inplace params.yml
kurtosis run --enclave cdk-v1 --args-file params.yml .
# Do a bunch of things...

# Execute the thirs stage (deploy trusted/central environment).
yq e '.stages = [3]' --inplace params.yml
kurtosis run --enclave cdk-v1 --args-file params.yml .
# Do a bunch of things...

# Execute the fourth stage (deploy bridge/agglayer/dac).
yq e '.stages = [4]' --inplace params.yml
kurtosis run --enclave cdk-v1 --args-file params.yml .
# Do a bunch of things...

# Execute the fifth stage (deploy permissionless node).
yq e '.stages = [5]' --inplace params.yml
kurtosis run --enclave cdk-v1 --args-file params.yml .
# Do a bunch of things...

@leovct leovct marked this pull request as ready for review March 26, 2024 09:25
@leovct leovct changed the title refactor: introduce stages refactor: break down the deployment process into various stages Mar 26, 2024
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@leovct leovct merged commit 0b5494b into main Mar 26, 2024
4 checks passed
@leovct leovct deleted the refactor/stages branch March 26, 2024 14:26
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