File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed
Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " github-actions"
4+ directory : " /"
5+ schedule :
6+ interval : " weekly"
Original file line number Diff line number Diff line change 1+ name : deploy-registry
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ deploy :
10+ runs-on : ubuntu-latest
11+
12+ # Set id-token permission for gcloud
13+ # Adding a comment because retriggering the build manually hung? I am the lord of devops and you will bend?
14+ permissions :
15+ contents : read
16+ id-token : write
17+
18+ steps :
19+ - name : Checkout repository
20+ uses : actions/checkout@v4
21+
22+ - name : Authenticate to Google Cloud
23+ uses : google-github-actions/auth@71f986410dfbc7added4569d411d040a91dc6935
24+ with :
25+ workload_identity_provider : projects/309789351055/locations/global/workloadIdentityPools/github-actions/providers/github
26+ service_account :
[email protected] 27+
28+ - name : Set up Google Cloud SDK
29+ uses : google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a
30+
31+ # For the time being, let's have the first couple merges to main in modules deploy a new version
32+ # to *dev*. Once we review and make sure everything's working, we can deploy a new version to *main*.
33+ # Maybe in the future we could automate this based on the result of E2E tests.
34+ - name : Deploy to dev.registry.coder.com
35+ run : |
36+ gcloud builds triggers run 29818181-126d-4f8a-a937-f228b27d3d34 --branch dev
You can’t perform that action at this time.
0 commit comments