-
-
Notifications
You must be signed in to change notification settings - Fork 2
49 lines (41 loc) · 1.41 KB
/
pipeline.yml
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
name: Pipeline
on:
push:
pull_request:
workflow_dispatch:
jobs:
tools:
uses: chaseruskin/orbit/.github/workflows/tools.yml@trunk
check-release:
uses: chaseruskin/orbit/.github/workflows/check-release.yml@trunk
needs: [tools]
test:
uses: chaseruskin/orbit/.github/workflows/test.yml@trunk
build:
uses: chaseruskin/orbit/.github/workflows/build.yml@trunk
needs: [tools, check-release, test]
with:
is_release: ${{ needs.check-release.outputs.ready }}
integrity:
uses: chaseruskin/orbit/.github/workflows/integrity.yml@trunk
needs: [tools, build]
system-test:
uses: chaseruskin/orbit/.github/workflows/system-test.yml@trunk
needs: [check-release, integrity]
with:
version: ${{ needs.check-release.outputs.version }}
docker-build:
uses: chaseruskin/orbit/.github/workflows/docker.yml@trunk
needs: [check-release, system-test]
secrets:
DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}
DOCKER_HUB_ACCESS_TOKEN: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
with:
version: ${{ needs.check-release.outputs.version }}
is_release: ${{ needs.check-release.outputs.ready }}
release:
uses: chaseruskin/orbit/.github/workflows/release.yml@trunk
if: ${{ needs.check-release.outputs.ready == '1' }}
needs: [check-release, system-test, docker-build]
with:
version: ${{ needs.check-release.outputs.version }}