Skip to content

Commit fd24ba7

Browse files
committed
add authorization
1 parent 8f66018 commit fd24ba7

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/dss-deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
COMPOSE_PROFILES: aws-1
4343
AWS_REGION: us-east-1
4444
TF_VAR_app_hostname: ${{ secrets.APP_HOSTNAME }}
45+
TF_VAR_authorization: ${{ secrets.AUTHORIZATION }}
4546
TF_VAR_aws_iam_administrator_role: ${{ secrets.AWS_IAM_ADMINISTRATOR_ROLE }}
4647
TF_VAR_aws_iam_ci_role: ${{ secrets.AWS_IAM_CI_ROLE }}
4748
TF_VAR_aws_iam_permissions_boundary: ${{ secrets.AWS_IAM_PERMISSIONS_BOUNDARY }}

deploy/operations/ci/aws-1/test.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ helm dep update --kube-context="$KUBE_CONTEXT"
4040
helm upgrade --install --debug --kube-context="$KUBE_CONTEXT" -f "${WORKSPACE_LOCATION}/helm_values.yml" "$RELEASE_NAME" .
4141
kubectl wait --for=condition=complete --timeout=3m job --all
4242

43+
# Write infrastructure information
44+
45+
4346
# Test the deployment of the DSS
4447
kubectl apply -f "$BASEDIR/test-resources.yaml"
4548
kubectl create secret generic -n tests dummy-oauth-certs --from-file="$BASEDIR/../../../../build/test-certs/auth2.key"

deploy/operations/docker-compose.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@ services:
1111
- AWS_SESSION_TOKEN
1212
- AWS_REGION
1313
- TF_VAR_app_hostname
14+
- TF_VAR_authorization
1415
- TF_VAR_aws_iam_administrator_role
1516
- TF_VAR_aws_iam_ci_role
1617
- TF_VAR_aws_iam_permissions_boundary
1718
- TF_VAR_aws_role_to_assume
1819
- TF_VAR_aws_route53_zone_id
1920
- TF_VAR_db_hostname_suffix
21+
- DO_NOT_DESTROY=true
2022
volumes:
2123
- type: bind
2224
source: ../../

0 commit comments

Comments
 (0)