|
11 | 11 | permissions:
|
12 | 12 | contents: read
|
13 | 13 |
|
| 14 | +env: |
| 15 | + SCW_DEFAULT_ORGANIZATION_ID: ${{ secrets.SCW_DEFAULT_ORGANIZATION_ID }} |
| 16 | + SCW_SECRET_KEY: ${{ secrets.SCW_SECRET_KEY }} |
| 17 | + SCW_ACCESS_KEY: ${{ secrets.SCW_ACCESS_KEY }} |
| 18 | + SCW_DEFAULT_PROJECT_ID: ${{ secrets.SCW_DEFAULT_PROJECT_ID }} |
| 19 | + |
14 | 20 | jobs:
|
15 | 21 | setup-gateway:
|
16 | 22 | runs-on: self-hosted
|
17 | 23 | container: python:3.11-bookworm
|
18 | 24 | steps:
|
19 | 25 | - uses: actions/checkout@v3
|
20 | 26 |
|
21 |
| - - uses: scaleway/action-scw@v0.0.1 |
22 |
| - with: |
23 |
| - access-key: ${{ secrets.SCW_ACCESS_KEY }} |
24 |
| - secret-key: ${{ secrets.SCW_SECRET_KEY }} |
25 |
| - default-project-id: ${{ secrets.SCW_DEFAULT_PROJECT_ID }} |
26 |
| - default-organization-id: ${{ secrets.SCW_DEFAULT_ORGANIZATION_ID }} |
27 |
| - |
28 | 27 | - uses: ./.github/actions/setup-poetry
|
29 | 28 |
|
30 | 29 | - name: Create gateway database
|
|
50 | 49 | steps:
|
51 | 50 | - uses: actions/checkout@v3
|
52 | 51 |
|
53 |
| - - uses: ./.github/actions/setup-cli |
54 |
| - with: |
55 |
| - access-key: ${{ secrets.SCW_ACCESS_KEY }} |
56 |
| - secret-key: ${{ secrets.SCW_SECRET_KEY }} |
57 |
| - project-id: ${{ secrets.SCW_DEFAULT_PROJECT_ID }} |
58 |
| - organization-id: ${{ secrets.SCW_DEFAULT_ORGANIZATION_ID }} |
59 |
| - |
60 | 52 | - uses: ./.github/actions/setup-poetry
|
61 | 53 |
|
62 | 54 | - name: Run integration tests
|
|
76 | 68 | steps:
|
77 | 69 | - uses: actions/checkout@v3
|
78 | 70 |
|
79 |
| - - uses: ./.github/actions/setup-cli |
80 |
| - with: |
81 |
| - access-key: ${{ secrets.SCW_ACCESS_KEY }} |
82 |
| - secret-key: ${{ secrets.SCW_SECRET_KEY }} |
83 |
| - project-id: ${{ secrets.SCW_DEFAULT_PROJECT_ID }} |
84 |
| - organization-id: ${{ secrets.SCW_DEFAULT_ORGANIZATION_ID }} |
85 |
| - |
86 | 71 | - uses: ./.github/actions/setup-poetry
|
87 | 72 |
|
88 | 73 | - name: Delete namespace
|
|
0 commit comments