-
Notifications
You must be signed in to change notification settings - Fork 0
91 lines (64 loc) · 3.92 KB
/
integration.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
---
name: Integration
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
integration:
name: Integration testing
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Docker Compose .env file
run: .github/helpers/gen-compose-env > integration/.env
env:
TEST_APP_KEY_B64: ${{ secrets.TEST_APP_KEY_B64 }}
- name: Build test images
run: docker compose -f integration/docker-compose.yaml build
- name: Bring up Vault server
run: docker compose -f integration/docker-compose.yaml up --wait --detach vault-server
- name: Enable Vault's Transit Engine
run: docker compose -f integration/docker-compose.yaml run --no-deps vault-setup
- name: Import App key (Python 3.10) (constrained)
run: docker compose -f integration/docker-compose.yaml run --no-deps testrun-py310-constrained import
- name: Issue Access Token (Python 3.10) (constrained)
run: docker compose -f integration/docker-compose.yaml run --no-deps testrun-py310-constrained issue
- name: Issue scoped Access Token (Python 3.10) (constrained)
run: docker compose -f integration/docker-compose.yaml run --no-deps testrun-py310-constrained issue-scoped
- name: Import App key (Python 3.10) (unconstrained)
run: docker compose -f integration/docker-compose.yaml run --no-deps testrun-py310-unconstrained import
- name: Issue Access Token (Python 3.10) (unconstrained)
run: docker compose -f integration/docker-compose.yaml run --no-deps testrun-py310-unconstrained issue
- name: Issue scoped Access Token (Python 3.10) (unconstrained)
run: docker compose -f integration/docker-compose.yaml run --no-deps testrun-py310-unconstrained issue-scoped
- name: Import App key (Python 3.11) (constrained)
run: docker compose -f integration/docker-compose.yaml run --no-deps testrun-py311-constrained import
- name: Issue Access Token (Python 3.11) (constrained)
run: docker compose -f integration/docker-compose.yaml run --no-deps testrun-py311-constrained issue
- name: Issue scoped Access Token (Python 3.11) (constrained)
run: docker compose -f integration/docker-compose.yaml run --no-deps testrun-py311-constrained issue-scoped
- name: Import App key (Python 3.11) (unconstrained)
run: docker compose -f integration/docker-compose.yaml run --no-deps testrun-py311-unconstrained import
- name: Issue Access Token (Python 3.11) (unconstrained)
run: docker compose -f integration/docker-compose.yaml run --no-deps testrun-py311-unconstrained issue
- name: Issue scoped Access Token (Python 3.11) (unconstrained)
run: docker compose -f integration/docker-compose.yaml run --no-deps testrun-py311-unconstrained issue-scoped
- name: Import App key (Python 3.12) (constrained)
run: docker compose -f integration/docker-compose.yaml run --no-deps testrun-py312-constrained import
- name: Issue Access Token (Python 3.12) (constrained)
run: docker compose -f integration/docker-compose.yaml run --no-deps testrun-py312-constrained issue
- name: Issue scoped Access Token (Python 3.12) (constrained)
run: docker compose -f integration/docker-compose.yaml run --no-deps testrun-py312-constrained issue-scoped
- name: Import App key (Python 3.12) (unconstrained)
run: docker compose -f integration/docker-compose.yaml run --no-deps testrun-py312-unconstrained import
- name: Issue Access Token (Python 3.12) (unconstrained)
run: docker compose -f integration/docker-compose.yaml run --no-deps testrun-py312-unconstrained issue
- name: Issue scoped Access Token (Python 3.12) (unconstrained)
run: docker compose -f integration/docker-compose.yaml run --no-deps testrun-py312-unconstrained issue-scoped