blob: eaa72ceb1e282ec4a15e983f214abae571614752 (
plain)
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
|
version: 2.1
jobs:
arm-container:
parameters:
os:
type: string
machine:
image: ubuntu-2004:current
resource_class: arm.medium
steps:
- checkout
- run:
name: Set the right OS in the Dockerfile
command: sed -i "s#^FROM.*#FROM << parameters.os >>#" tests/Dockerfile
- run:
name: Build image
command: docker build -t mod_authnz_pam -f tests/Dockerfile .
- run:
name: Run container
command: docker run --name mod_authnz_pam --rm -d mod_authnz_pam
- run:
name: Run tests in the container
command: docker exec mod_authnz_pam tests/run.sh
workflows:
workflow:
jobs:
- arm-container:
matrix:
parameters:
os:
- 'registry.fedoraproject.org/fedora:latest'
- 'quay.io/centos/centos:stream9'
|