-
Notifications
You must be signed in to change notification settings - Fork 2
52 lines (50 loc) · 2.45 KB
/
call-frontend-package-variants.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
40
41
42
43
44
45
46
47
48
49
50
51
52
name: call-frontend-package-variants
on:
workflow_dispatch:
inputs:
baseVersion:
description: 'Version of Base Image and Repository Tag; example: 0.14.80'
required: true
jobs:
call-frontend-package-variant-a:
runs-on: ubuntu-20.04
steps:
- name: Set env variables
run: |
echo "variantName=a" >> $GITHUB_ENV
echo "baseVersion=${{ github.event.inputs.baseVersion }}" >> $GITHUB_ENV
echo "pluginsFrontend=@max-bytes/okplugin-generic-json-ingest@${{ github.event.inputs.baseVersion }} @max-bytes/okplugin-visualization@${{ github.event.inputs.baseVersion }}" >> $GITHUB_ENV
- name: "Invoke frontend variant: a"
uses: benc-uk/workflow-dispatch@v1
with:
workflow: package-frontend-variant
token: ${{ secrets.PAT }}
inputs: '{ "variantName": "${{ env.variantName }}", "baseVersion": "${{ env.baseVersion }}", "pluginsFrontend": "${{ env.pluginsFrontend }}" }'
call-frontend-package-variant-b:
runs-on: ubuntu-20.04
steps:
- name: Set env variables
run: |
echo "variantName=b" >> $GITHUB_ENV
echo "baseVersion=${{ github.event.inputs.baseVersion }}" >> $GITHUB_ENV
echo "pluginsFrontend=@max-bytes/okplugin-generic-json-ingest@${{ github.event.inputs.baseVersion }} @max-bytes/okplugin-visualization@${{ github.event.inputs.baseVersion }}" >> $GITHUB_ENV
- name: "Invoke frontend variant: b"
uses: benc-uk/workflow-dispatch@v1
with:
workflow: package-frontend-variant
token: ${{ secrets.PAT }}
inputs: '{ "variantName": "${{ env.variantName }}", "baseVersion": "${{ env.baseVersion }}", "pluginsFrontend": "${{ env.pluginsFrontend }}" }'
call-frontend-package-variant-internal:
runs-on: ubuntu-20.04
steps:
- name: Set env variables
run: |
echo "variantName=internal" >> $GITHUB_ENV
echo "baseVersion=${{ github.event.inputs.baseVersion }}" >> $GITHUB_ENV
echo "pluginsFrontend=@max-bytes/okplugin-generic-json-ingest@${{ github.event.inputs.baseVersion }} @max-bytes/okplugin-visualization@${{ github.event.inputs.baseVersion }}" >> $GITHUB_ENV
- name: "Invoke frontend variant: internal"
uses: benc-uk/workflow-dispatch@v1
with:
workflow: package-frontend-variant
token: ${{ secrets.PAT }}
inputs: '{ "variantName": "${{ env.variantName }}", "baseVersion": "${{ env.baseVersion }}", "pluginsFrontend": "${{ env.pluginsFrontend }}" }'