-
Notifications
You must be signed in to change notification settings - Fork 58
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
Add Pipeline Run Script #1012
base: main
Are you sure you want to change the base?
Add Pipeline Run Script #1012
Conversation
6f99df4
to
6409973
Compare
4d94ea6
to
54d8403
Compare
@@ -82,7 +82,7 @@ | |||
- name: 'Deploy Frontend' | |||
run: | | |||
make frontend.deploy | |||
./run_pipeline.sh dev ./frontend/pipeline.yaml deploy -c public |
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.
how about we change the content of the make frontend.deploy
target to use run_pipeline.sh
?
that way also provisioning outside of GH action uses the pipeline files
@@ -0,0 +1,125 @@ | |||
#!/bin/bash | |||
|
|||
PROJECT_ROOT_DIR=$(dirname "$(realpath "${BASH_SOURCE[0]}")") |
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.
this is basically a copy of tempatlize.sh
can we try to pull the common parts into a script we include in both templatlize.sh and run_pipeline.sh?
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.
Sure can do. I somehow feared having a single script can be quite complicated, but I'll give it a shot.
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.
maybe pull out some things into a lib.sh script that is included
e.g. the short region name calculation
6a66f7b
to
19c6c34
Compare
19c6c34
to
95e3147
Compare
What this PR does
Jira:
Link to demo recording:
Special notes for your reviewer