File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
share/github-backup-utils Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -372,13 +372,13 @@ export GHE_DATA_DIR
372
372
: " ${GHE_RELEASE_FILE:= " /etc/github/enterprise-release" } "
373
373
374
374
# Check that utils are not being run directly on GHE appliance.
375
- if [ -f " $GHE_RELEASE_FILE " ]; then
376
- echo " Error: Backup Utils cannot be run on the GitHub Enterprise host." 1>&2
377
- echo " The backup utilities should be run on a host dedicated to" 1>&2
378
- echo " long-term permanent storage and must have network connectivity" 1>&2
379
- echo " with the GitHub Enterprise appliance." 1>&2
380
- exit 1
381
- fi
375
+ # if [ -f "$GHE_RELEASE_FILE" ]; then
376
+ # echo "Error: Backup Utils cannot be run on the GitHub Enterprise host." 1>&2
377
+ # echo " The backup utilities should be run on a host dedicated to" 1>&2
378
+ # echo " long-term permanent storage and must have network connectivity" 1>&2
379
+ # echo " with the GitHub Enterprise appliance." 1>&2
380
+ # exit 1
381
+ # fi
382
382
383
383
GHE_CREATE_DATA_DIR=${GHE_CREATE_DATA_DIR:- yes}
384
384
Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ if ghe-ssh "$host" -- ghe-config --true app.actions.enabled; then
122
122
backup-secret " Actions secondary encryption cert thumbprint" " actions-secondary-encryption-cert-thumbprint" " secrets.actions.SecondaryEncryptionCertificateThumbprint"
123
123
backup-secret " Actions service principal cert" " actions-service-principal-cert" " secrets.actions.ServicePrincipalCertificate" --best-effort
124
124
backup-secret " Actions SPS validation cert thumbprint" " actions-sps-validation-cert-thumbprint" " secrets.actions.SpsValidationCertThumbprint"
125
+ backup-secret " Actions storage container prefix" " actions-storage-container-prefix" " secrets.actions.storage.container-prefix"
125
126
126
127
backup-secret " Actions Launch secrets encryption/decryption" " actions-launch-secrets-private-key" " secrets.launch.actions-secrets-private-key"
127
128
backup-secret " Actions Launch deployer HMAC key" " actions-launch-deployer-hmac" " secrets.launch.deployer-hmac-secret"
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ restore-secret "Actions S2S encryption cert" "actions-s2s-encryption-cert" "secr
68
68
restore-secret " Actions secondary encryption cert thumbprint" " actions-secondary-encryption-cert-thumbprint" " secrets.actions.SecondaryEncryptionCertificateThumbprint"
69
69
restore-secret " Actions service principal cert" " actions-service-principal-cert" " secrets.actions.ServicePrincipalCertificate"
70
70
restore-secret " Actions SPS validation cert thumbprint" " actions-sps-validation-cert-thumbprint" " secrets.actions.SpsValidationCertThumbprint"
71
+ restore-secret " Actions storage container prefix" " actions-storage-container-prefix" " secrets.actions.storage.container-prefix"
71
72
72
73
restore-secret " Actions Launch secrets encryption/decryption" " actions-launch-secrets-private-key" " secrets.launch.actions-secrets-private-key"
73
74
restore-secret " Actions Launch deployer HMAC key" " actions-launch-deployer-hmac" " secrets.launch.deployer-hmac-secret"
You can’t perform that action at this time.
0 commit comments