forked from hpcc-systems/HPCC-Platform
-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (54 loc) · 1.55 KB
/
test-regression-suite-k8s.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
53
54
55
56
57
58
name: Regression Suite on K8s
on:
workflow_call:
inputs:
os:
type: string
description: 'Operating System'
required: false
default: 'ubuntu-22.04'
asset-name:
type: string
description: 'Asset Name'
required: false
default: 'docker-ubuntu-22_04-containerized'
jobs:
build-docker:
name: build-docker-${{ inputs.os }}
if: ${{ contains('pull_request,push', github.event_name) }}
uses: ./.github/workflows/build-docker.yml
with:
os: ${{ inputs.os }}
upload-package: true
containerized: true
asset-name: ${{ inputs.asset-name }}
secrets: inherit
main:
name: K8s Regression Suite
needs: build-docker
runs-on: ${{ inputs.os }}
steps:
- name: Checkout PR
uses: actions/checkout@v4
with:
submodules: recursive
path: ./HPCC-Platform
- name: Deploy HPCC on K8s
uses: ./HPCC-Platform/.github/actions/deploy-hpcc-k8s
with:
os: ${{ inputs.os }}
asset-name: ${{ inputs.asset-name }}
platform-folder: ./HPCC-Platform
- name: Run ESP Regression Suite
with:
branch-name: ${{ github.base_ref }}
comments-url: ${{ github.event.pull_request.comments_url }}
github-token: ${{ secrets.GITHUB_TOKEN }}
uses: ./HPCC-Platform/.github/actions/hpcc4j-esp-regression-suite
succeeded:
runs-on: ${{ inputs.os }}
needs: main
steps:
- shell: "bash"
run: |
echo "...all tests passed..."