-
Notifications
You must be signed in to change notification settings - Fork 1
31 lines (31 loc) · 1.28 KB
/
dev.yaml
File metadata and controls
31 lines (31 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: PR Build
on:
pull_request:
types: [opened, synchronize, reopened]
branches:
- main # Only for PRs targeting main branch.
env:
# Last known good edge-runtime tag from GAR. Update when releasing new edge-runtime.
EDGE_RUNTIME_TAG: "80d07c9"
jobs:
build-all:
runs-on: depot-ubuntu-22.04-16,dagger=0.19.10
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ">=1.21.5"
- name: Run Dagger pipeline
env:
APOXY_INTERNAL_GAR_CREDENTIALS: ${{ secrets.APOXY_INTERNAL_GAR_CREDENTIALS }}
SCCACHE_WEBDAV_TOKEN: ${{ secrets.SCCACHE_WEBDAV_TOKEN }}
SHUTUP: 1
timeout-minutes: 15
run: |
dagger call -v build-cli --src=.
# Make sure we can build for Darwin as well.
dagger call -v build-cli --src=. --platform=darwin/arm64
dagger call -v build-apiserver --src=. --sccache-token=env:SCCACHE_WEBDAV_TOKEN --edge-runtime-tag=$EDGE_RUNTIME_TAG --gcr-creds=env:APOXY_INTERNAL_GAR_CREDENTIALS
dagger call -v build-backplane --src=. --sccache-token=env:SCCACHE_WEBDAV_TOKEN --edge-runtime-tag=$EDGE_RUNTIME_TAG --gcr-creds=env:APOXY_INTERNAL_GAR_CREDENTIALS
dagger call -v build-tunnelproxy --src=.