Skip to content

Add BE deployment script#16

Open
ainefairbrother wants to merge 2 commits intoigsr:mainfrom
ainefairbrother:add-be-deployment-script
Open

Add BE deployment script#16
ainefairbrother wants to merge 2 commits intoigsr:mainfrom
ainefairbrother:add-be-deployment-script

Conversation

@ainefairbrother
Copy link
Collaborator

@ainefairbrother ainefairbrother commented Mar 17, 2026

This script automates the BE deployment process.

Use-case is if you make a change to the BE code and need to build image and push to GC docker repository and have the changes reflected on the dev or prod website.
The script has a --dry-run mode to verify what will be run.

Deploy to dev

cd igsr-be
./scripts/deploy_igsr_be.sh \
	--path . \
	--env dev \
	--config ./scripts/config.ini  \
	--dry-run

Deploy to prod

cd igsr-be
./scripts/deploy_igsr_be.sh \
	--path . \
	--env prod \
	--config ./scripts/config.ini \
	--dry-run

Where config.ini looks like:

ES_CLOUD_ID=
ES_API_KEY=

@ainefairbrother ainefairbrother marked this pull request as ready for review March 17, 2026 16:02
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.

1 participant