test
This commit is contained in:
parent
4fd5007a3e
commit
77214306bf
38
.github/workflows/deploy_to_run_job.yml
vendored
38
.github/workflows/deploy_to_run_job.yml
vendored
@ -16,46 +16,8 @@ jobs:
|
||||
REPO_NAME: ${{ github.repository }}
|
||||
HASH_SUFFIX: ${{ github.sha }}
|
||||
JOB_NAME: ${{ vars.JOB_NAME }}
|
||||
HASH_SUFFIX: ${{ github.sha }}
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
|
||||
|
||||
# - name: Check Deploy Tools
|
||||
# run: |
|
||||
# ls -la
|
||||
# echo "Checking gcloud and terraform versions..."
|
||||
# gcloud --version
|
||||
# terraform --version
|
||||
|
||||
# - name: Check Gcloud auth
|
||||
# run: |
|
||||
# echo "HOME: ${HOME}"
|
||||
# printf '%s' "$GCP_SA_KEY" > $HOME/sa.json
|
||||
# export GOOGLE_APPLICATION_CREDENTIALS="$HOME/sa.json"
|
||||
|
||||
# gcloud auth activate-service-account --key-file="$GOOGLE_APPLICATION_CREDENTIALS"
|
||||
# gcloud config set project "$GCP_PROJECT_ID"
|
||||
|
||||
# echo "Check gcloud"
|
||||
# gcloud config list
|
||||
# gcloud --version
|
||||
|
||||
# - name: Exec Terraform init shell
|
||||
# run: |
|
||||
# export GOOGLE_APPLICATION_CREDENTIALS="$HOME/sa.json"
|
||||
# ./scripts/deploy/init_terraform.sh
|
||||
|
||||
# - name: Exec Container Image Push to Artifact Registry
|
||||
# run: |
|
||||
# export GOOGLE_APPLICATION_CREDENTIALS="$HOME/sa.json"
|
||||
# ./scripts/deploy/build_image_to_gar.sh
|
||||
|
||||
# - name: Exec Terraform plan shell
|
||||
# run: |
|
||||
# export GOOGLE_APPLICATION_CREDENTIALS="$HOME/sa.json"
|
||||
# ./scripts/deploy/plan_terraform.sh
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user