-
Notifications
You must be signed in to change notification settings - Fork 17
39 lines (36 loc) · 1.15 KB
/
e2e-release-testing.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
name: Release End to End Testing
on:
push:
branches:
- release/**
workflow_dispatch: {}
jobs:
get_version:
name: Get Release Version
runs-on: ubuntu-latest
if: ${{ (startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/poc/')) }}
outputs:
version: ${{ steps.get-version.outputs.result }}
steps:
- name: Get Release Version
id: get-version
run: |
VERSION=$(echo ${{ github.ref_name }} | cut -d'/' -f 2)
echo "VERSION=$VERSION" >> $GITHUB_ENV
echo "VERSION: $VERSION"
echo "result=$VERSION" >> $GITHUB_OUTPUT
daily_e2e_test:
if: ${{ (startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/poc/')) }}
uses: ./.github/workflows/e2e-testing.yml
needs: get_version
with:
environment: "fllm-rel-${{ needs.get_version.outputs.version }}-${{ github.run_id }}"
deployOpenAi: true
openAiName: fllm-01
openAiResourceGroup: fllm-shared-01
location: EastUS2
notificationsEnabled: false
enableTeardown: true
bypassAndTeardown: false
target: e2e
secrets: inherit