-
Notifications
You must be signed in to change notification settings - Fork 49
59 lines (57 loc) · 1.89 KB
/
ci.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
59
name: ci
on: [push, pull_request]
jobs:
build-images:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- image: accumulo
test: accumulo
- image: centos7-oj17
platforms: linux/amd64,linux/arm64
- image: centos7-oj17-openldap-referrals
platforms: linux/amd64,linux/arm64
test: openldap
- image: centos7-oj17-openldap-active-directory
platforms: linux/amd64,linux/arm64
test: openldap-active-directory
- image: spark3-iceberg
platforms: linux/amd64,linux/arm64
test: spark3-iceberg
- image: spark3-delta
platforms: linux/amd64,linux/arm64
test: spark3-delta
- image: spark3-hudi
platforms: linux/amd64,linux/arm64
test: spark3-hudi
- image: kerberos
platforms: linux/amd64,linux/arm64
test: kerberos
- image: gpdb-6
test: gpdb-6
- image: hive3.1-hive
platforms: linux/amd64,linux/arm64
test: hive3.1-hive
- image: hdp3.1-hive-kerberized
test: hdp3.1-hive
# TODO add test https://github.com/trinodb/trino/issues/14543
- image: phoenix5
platforms: linux/amd64,linux/arm64
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # checkout tags so version in Manifest is set properly
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Build ${{ matrix.image }}
env:
PLATFORMS: ${{ matrix.platforms }}
run: make "testing/${{ matrix.image }}"
- name: Test ${{ matrix.test }}
env:
PLATFORMS: ${{ matrix.platforms }}
if: ${{ matrix.test != '' }}
shell: 'script -q -e -c "bash {0}"'
run: make test IMAGE_TO_TEST="${{ matrix.test }}"