-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1383 from GSA/update-sandbox-steps
Make sandbox deployments easier
- Loading branch information
Showing
4 changed files
with
53 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
# Create a requirements.txt file so dependencies are properly managed with the | ||
# deploy. This will overwrite any existing requirements.txt file to make sure | ||
# it is always up-to-date. | ||
poetry export --without-hashes --format=requirements.txt > requirements.txt | ||
|
||
# Target the notify-sandbox space and deploy to cloud.gov with a cf push. | ||
# All environment variables are accounted for in the deploy-config/sandbox.yml | ||
# file, no need to add any of your own or source a .env* file. | ||
|
||
# If this errors out because you need to be logged in, login first with this: | ||
# cf login -a api.fr.cloud.gov --sso | ||
cf target -o gsa-tts-benefits-studio -s notify-sandbox | ||
cf push -f manifest.yml --vars-file deploy-config/sandbox.yml --strategy rolling |