forked from zapier/prom-aggregation-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
66 lines (50 loc) · 1.53 KB
/
on_pull_request.yaml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: pr_build
on:
pull_request:
paths:
- '*'
- '*/**'
- '!README.md'
- '!.tool-versions'
- '!COPYING.LGPL-3'
- '!.gitattributes'
- '!.gitignore'
jobs:
build-image:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: wistia/[email protected]
- uses: earthly/actions-setup@v1
with: { version: "v${{ env.EARTHLY_TOOL_VERSION }}" }
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
# intentionally avoiding --push, this is just
# to test the command
- run: ./earthly +build-image-multiarch
release-test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: wistia/[email protected]
- uses: earthly/actions-setup@v1
with: { version: "v${{ env.EARTHLY_TOOL_VERSION }}" }
# intentionally avoiding --push, this is just
# to test the command
- run: ./earthly +release-binaries
skaffold:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: wistia/[email protected]
- uses: earthly/actions-setup@v1
with: { version: "v${{ env.EARTHLY_TOOL_VERSION }}" }
- name: start minikube
uses: hiberbee/[email protected]
- name: setup helm
uses: hiberbee/[email protected]
- name: run skaffold
uses: hiberbee/[email protected]
with:
skaffold-version: "${{ env.SKAFFOLD_TOOL_VERSION }}"
command: run