mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-24 19:48:36 +02:00
Correct documentation since we should restage our application instead of restarting or pushing a manifest. Also include whitespace so it triggers checks
This commit is contained in:
parent
21c41e5f84
commit
7005006b1e
2 changed files with 6 additions and 7 deletions
|
@ -62,14 +62,12 @@ jq -n --arg django_key "$django_key" --arg login_key "$login_key" '{"DJANGO_SECR
|
|||
|
||||
Copy `REGISTRY_*` credentials from another sandbox into your `credentials-<ENVIRONMENT>.json` file. Also add your `AWS_*` credentials if you have them, otherwise also copy them from another sandbox. You can either use the cloud.gov dashboard or the command `cf env <APP>` to find other credentials.
|
||||
|
||||
Go to https://dashboard.fr.cloud.gov/home. Find the `getgov-credentials` service tied to your ENVIRONMENT. Double check it is the right one and delete it. Recreate the service using the updated credentials:
|
||||
### Update the `getgov-credentials` service tied to your environment.
|
||||
```sh
|
||||
cf cups getgov-credentials -p credentials-<ENVIRONMENT>.json
|
||||
cf uups getgov-credentials -p credentials-<ENVIRONMENT>.json
|
||||
```
|
||||
|
||||
### Restart, restage or push manifest
|
||||
Pushing the manifest works but a restart or restage might work as well.
|
||||
|
||||
### Restage your application
|
||||
```sh
|
||||
cf push getgov-<ENVIRONMENT> -f ops/manifests/manifest-<ENVIRONMENT>.yaml
|
||||
```
|
||||
cf restage getgov-<ENVIRONMENT> --strategy rolling
|
||||
```
|
|
@ -136,6 +136,7 @@ then
|
|||
fi
|
||||
|
||||
cf service-key github-cd-account github-cd-key | sed 1,2d | jq -r '[.username, .password]|@tsv' |
|
||||
|
||||
while read -r username password; do
|
||||
gh secret --repo cisagov/getgov set CF_${upcase_name}_USERNAME --body $username
|
||||
gh secret --repo cisagov/getgov set CF_${upcase_name}_PASSWORD --body $password
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue