-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (30 loc) · 895 Bytes
/
main.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
name: Run HelloWorld Flow
on:
push:
jobs:
helloworld:
permissions:
id-token: write
contents: read
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install and Configure Outerbounds
run: |-
pip install -U outerbounds && \
outerbounds service-principal-configure \
--name github-actions-demo \
--deployment-domain dev-content.outerbounds.xyz \
--perimeter default \
--github-actions
- name: Run tests
run: |-
python hello.py run --with kubernetes
- name: Deploy to production
run: |-
python hello.py --branch ${{ github.head_ref || github.ref_name }} argo-workflows create