add production environment

This commit is contained in:
John Bohannon
2021-03-05 09:44:31 -05:00
parent c451f7ec47
commit 761b09ecde
6 changed files with 4 additions and 6 deletions
-3
View File
@@ -16,9 +16,6 @@
#
# 4. Change the values for the REGION_ID, REGISTRY, NAMESPACE, IMAGE, ACK_CLUSTER_ID, and ACK_DEPLOYMENT_NAME.
#
# 5. Create an environment named "production".
# For instructions see https://docs.github.com/en/actions/reference/environments#creating-an-environment.
#
name: Build and Deploy to ACK
-3
View File
@@ -22,9 +22,6 @@
# 4. Store an IAM user access key in GitHub Actions secrets named `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`.
# See the documentation for each action used below for the recommended IAM policies for this IAM user,
# and best practices on handling the access key credentials.
#
# 5. Create an environment named "production".
# For instructions see https://docs.github.com/en/actions/reference/environments#creating-an-environment.
on:
release:
+1
View File
@@ -28,6 +28,7 @@ jobs:
setup-build-publish-deploy:
name: Setup, Build, Publish, and Deploy
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout
+1
View File
@@ -64,6 +64,7 @@ jobs:
openshift-ci-cd:
name: Build and deploy to OpenShift
runs-on: ubuntu-20.04
environment: production
steps:
- uses: actions/checkout@v2
+1
View File
@@ -30,6 +30,7 @@ jobs:
setup-build-publish-deploy:
name: Setup, Build, Publish, and Deploy
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout
+1
View File
@@ -54,6 +54,7 @@ jobs:
terraform:
name: 'Terraform'
runs-on: ubuntu-latest
environment: production
# Use the Bash shell regardless whether the GitHub Actions runner is ubuntu-latest, macos-latest, or windows-latest
defaults: