Commit 06e3e100 authored by Kelly Zhou's avatar Kelly Zhou
Browse files

Merge branch 'master' of...

Merge branch 'master' of https://community.opengroup.org/osdu/platform/security-and-compliance/policy into multi-partition
parents 70b30a0a 58c51a13
Pipeline #110879 passed with stages
in 12 minutes and 41 seconds
......@@ -11,7 +11,6 @@ variables:
AWS_DEPLOY_TARGET: EKS
AWS_EKS_DEPLOYMENT_NAME: os-policy
AZURE: "true"
AZURE_BUILD_SUBDIR: build/azure
AZURE_TEST_TYPE: "python"
AZURE_SERVICE: policy
......@@ -28,6 +27,7 @@ variables:
IBM_DEPLOYMENTS_SUBDIR: deployment/scripts/ibm
IBM_TEST_SUBDIR: tests/ibm
IBM_OPA_BUNDLE_SERVER_BUCKET: opa-bundle-server-bucket
OSDU_GCP_ENABLE_BOOTSTRAP: "true"
OSDU_GCP_SERVICE: policy
......@@ -96,7 +96,7 @@ include:
- local: "/devops/azure/override-stages.yml"
- local: "/devops/aws/bootstrap.yaml"
- local: "/devops/ibm/bootstrap.yml"
- local: "/devops/ibm/bootstrap-bundle.yml"
- local: "/devops/gcp/override-stages.yml"
# --------------------------------------------------------------------------------
......
ibm_bootstrap:
stage: bootstrap
image: registry.access.redhat.com/ubi8/ubi:latest
extends:
- .ibm_variables
script:
- tar -czf bundle-opendes.tar.gz --directory='deployment/default-policies' --exclude='./bootstrap_sequence.json' . --verbose
- dnf install -y wget
- wget https://dl.min.io/client/mc/release/linux-amd64/mc
- chmod +x mc
- ./mc config host add bundle-server https://$IBM_COS_ENDPOINT $IBM_COS_ACCESS_KEY $IBM_COS_SECRET_KEY --api S3v4
- ./mc cp bundle-opendes.tar.gz bundle-server/$IBM_OPA_BUNDLE_SERVER_BUCKET/
only:
variables:
- $IBM == 'true'
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment