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

Add Pipeline Run Script #1012

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Add Pipeline Run Script #1012

wants to merge 5 commits into from

Conversation

janboll
Copy link
Collaborator

@janboll janboll commented Dec 19, 2024

What this PR does

Jira:
Link to demo recording:

Special notes for your reviewer

@@ -82,7 +82,7 @@
- name: 'Deploy Frontend'
run: |
make frontend.deploy
./run_pipeline.sh dev ./frontend/pipeline.yaml deploy -c public
Copy link
Collaborator

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]}")")
Copy link
Collaborator

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?

Copy link
Collaborator Author

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.

Copy link
Collaborator

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

@janboll janboll force-pushed the add-pipeline-run branch 2 times, most recently from 6a66f7b to 19c6c34 Compare December 20, 2024 10:18
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