You are on page 1of 2

+ umask 000

+ GIT_LFS_SKIP_SMUDGE=1 retry 6 git clone --branch="jira_37066" --depth 50


https://x-token-auth:$REPOSITORY_OAUTH_ACCESS_TOKEN@bitbucket.org/
$BITBUCKET_REPO_FULL_NAME.git $BUILD_DIR
Cloning into '/opt/atlassian/pipelines/agent/build'...

+ git reset --hard 1d9fd0944edc6b36b42b5ea2283130b762250cc7


HEAD is now at 1d9fd09 added vpc connector

+ git config user.name bitbucket-pipelines

+ git config user.email commits-noreply@bitbucket.org

+ git config push.default current

+ git config http.${BITBUCKET_GIT_HTTP_ORIGIN}.proxy http://localhost:29418/

+ git remote set-url origin http://bitbucket.org/$BITBUCKET_REPO_FULL_NAME

+ git reflog expire --expire=all --all

+ echo ".bitbucket/pipelines/generated" >> .git/info/exclude

+ chmod 777 $BUILD_DIR

Images used:
build : artifactory.mitelcloud.com/cas-docker-dev/cicd-
standard@sha256:4c6d266454ce83274a0e83b9498c09e0c725a050d675d6ff26a25e1a76e79344
#[0;32m [INFO] CICD_SCRIPT_VERSION=1.0.0 #[0m
#[0;32m [INFO] CLOUD_SDK_VERSION=341.0.0 #[0m
#[0;32m [INFO] TERRAFORM_VERSION=0.14.5 #[0m
#[0;32m [INFO] ANSIBLE_VERSION=2.9.17 #[0m
#[0;32m [INFO] HELM_VERSION=3.5.2 #[0m
#[0;32m [INFO] TERRAFORM_CLOUD_TOKEN is set #[0m
#[0;32m [INFO] GOOGLE_CREDENTIALS is set #[0m
Activated service account credentials for: [service-delivery-repo@na-dev-service-
delivery-01.iam.gserviceaccount.com]
+ gcloud container clusters get-credentials ${CLUSTER_NAME_NA} --region $
{CLUSTER_REGION_NA} --project ${CLUSTER_PROJECT_NA}
Fetching cluster endpoint and auth data.
kubeconfig entry generated for cas-dev.

+ if [[ $ENV == "prod" ]]; then gcloud container clusters get-credentials $


{CLUSTER_NAME_EU} --region ${CLUSTER_REGION_EU} --project ${CLUSTER_PROJECT_EU}; fi

+ source $BITBUCKET_CLONE_DIR/cicd/init_terraform.sh

+ cd $BITBUCKET_CLONE_DIR/terraform

+ terraform fmt -check -recursive


envs/dev.tfvars
modules/pubsub/sd-datasync/main.tf
#[0;32m [INFO] CICD_SCRIPT_VERSION=1.0.0 #[0m
#[0;32m [INFO] CLOUD_SDK_VERSION=341.0.0 #[0m
#[0;32m [INFO] TERRAFORM_VERSION=0.14.5 #[0m
#[0;32m [INFO] ANSIBLE_VERSION=2.9.17 #[0m
#[0;32m [INFO] HELM_VERSION=3.5.2 #[0m
#[0;32m [INFO] TERRAFORM_CLOUD_TOKEN is set #[0m
#[0;32m [INFO] GOOGLE_CREDENTIALS is set #[0m
Activated service account credentials for: [service-delivery-repo@na-dev-service-
delivery-01.iam.gserviceaccount.com]
Searching for test report files in directories named [test-results, failsafe-
reports, test-reports, TestResults, surefire-reports] down to a depth of 4
Finished scanning for test reports. Found 0 test report files.
Merged test suites, total number tests is 0, with 0 failures and 0 errors.

You might also like