File tree Expand file tree Collapse file tree 2 files changed +19
-3
lines changed
Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 1313 - name : Checkout
1414 uses : actions/checkout@v4
1515 with :
16- fetch-depth : 2 # required so we can compare with previous commit
16+ fetch-depth : 0 # we need full history for git log
1717
1818 - name : Install jq
1919 run : sudo apt-get install -y jq
6666 if : steps.check.outputs.changed == 'true'
6767 uses : google-github-actions/setup-gcloud@v2
6868 with :
69- project_id : ${{ secrets.GCP_PROJECT_ID }}
69+ project_id : compass-130ba
70+
71+ - name : Install Tofu (Terraform)
72+ run : |
73+ sudo apt-get update
74+ sudo apt-get install -y wget unzip
75+ LATEST=https://github.com/opentofu/opentofu/releases/download/v1.10.5/tofu_1.10.5_linux_amd64.zip
76+ cd /tmp || exit 1
77+ curl -LO "$LATEST"
78+ unzip -o tofu_*_linux_amd64.zip
79+ sudo mv tofu /usr/local/bin/
80+ rm tofu_*_linux_amd64.zip
81+ info "OpenTofu version: $(tofu version)"
82+
83+ - name : Configure Docker for Artifact Registry
84+ run : |
85+ gcloud auth configure-docker us-west1-docker.pkg.dev --quiet
7086
7187 - name : Run deploy script
7288 if : steps.check.outputs.changed == 'true'
Original file line number Diff line number Diff line change 11{
22 "name" : " @compass/api" ,
33 "description" : " Backend API endpoints" ,
4- "version" : " 1.0.2 " ,
4+ "version" : " 1.0.3 " ,
55 "private" : true ,
66 "scripts" : {
77 "watch:serve" : " tsx watch src/serve.ts" ,
You can’t perform that action at this time.
0 commit comments