Cass Winfrey
12/08/2021, 11:08 AMrelease/v1.2.3 & should be auto-deployed in the qa stage, whereas branches of the form feat/some-feature would be deployed in the dev stage
I can see there’s stage_name_constructor but that’s for the changing name of the app based off the branch, rather than being able to allocate into a specific deployment stageCass Winfrey
12/08/2021, 11:59 AMstage_name_constructor: >
if [[ $SEED_STAGE_BRANCH == "releases"* ]]; then
# from releases/v1.2.3 to releases-1-2-3
# so we get a nice url like <http://releases-1-2-3.website.com|releases-1-2-3.website.com>
echo $SEED_STAGE_BRANCH | sed -E -e 's/\.|\//-/g'
else
echo $SEED_STAGE_BRANCH
fi
but the name is still coming out as pr123 on a releases/vx.x.x branch - is sed available? How can I see what is being outputted stdout/stderr wise?Frank
releases/v1.2.3, releases/v1.2.4, … releases/v* all auto-deploy to the qa stage?Frank
feat/* to dev?Cass Winfrey
12/09/2021, 10:40 AMFrank
Frank
releases/* and have it use the SEED CLI to deploy to qa https://seed.run/docs/deploying-with-the-seed-cli.html