-
Notifications
You must be signed in to change notification settings - Fork 12
36 lines (33 loc) · 1.09 KB
/
ci-live.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: CI Live
on:
pull_request_target:
types: [labeled]
jobs:
test-live:
runs-on: ubuntu-18.04
if: contains(github.event.pull_request.labels.*.name, 'safe to test')
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- run: make github-env
env:
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- run: |
make \
-e BUILD_TARGET=runtime \
-e REGISTRATION_CREDENTIALS="$GITHUB_AUTH_TOKEN" \
-e LOKOLE_QUEUE_BROKER_SCHEME=azureservicebus \
-e LOKOLE_RESOURCE_SUFFIX="$SUFFIX" \
-e APPINSIGHTS_INSTRUMENTATIONKEY="$SUFFIX" \
-e AZURITE_ACCOUNT="$TEST_AZURE_STORAGE_ACCOUNT" \
-e AZURITE_KEY="$TEST_AZURE_STORAGE_KEY" \
-e AZURITE_HOST="" \
-e AZURITE_SECURE="True" \
-e TEST_STEP_DELAY=90 \
-e LIVE="True" \
build start integration-tests
- run: make status
if: ${{ failure() }}
- run: make clean-storage stop
if: ${{ always() }}