-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (44 loc) · 1.2 KB
/
pipeline-beyond-doubt.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
---
name: Pipeline beyond doubt
on:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
everything:
name: Everything in ${{ matrix.environ.name }} environ
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
environ:
- name: green
os: ubuntu-22.04
- name: amber
os: ubuntu-20.04
runs-on: ${{ matrix.environ.os }}
permissions:
packages: write
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/prepare
with:
name: ${{ matrix.environ.name }}
tools: python java docker
token: ${{ secrets.GITHUB_TOKEN }}
- run: ansible-playbook sources.yml -e focus=pipeline
working-directory: .dx
env:
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: >
ansible-playbook stacks.yml
-e binary_repo=maven.pkg.github.com
-e image_repo=ghcr.io
-e environ=${{ matrix.environ.name }}
-e focus=pipeline
working-directory: .dx
env:
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}