You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

315 lines
9.9 KiB

name: Run all tests on pebble
on:
push:
branches:
- master
- add-docker-buildx-caching
pull_request:
paths-ignore:
- '.github/workflows/*'
branches:
- master
- add-docker-buildx-caching
workflow_dispatch:
schedule:
- cron: '15 3 5 * *'
jobs:
test-alpine:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build test image
uses: docker/build-push-action@v5
with:
context: .
file: test/Dockerfile-alpine
tags: getssl-alpine
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build the docker compose stack
run: |
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
docker compose build --build-arg BUILDKIT_INLINE_CACHE=1
docker compose up -d
- name: Run test suite on Alpine
run: test/run-test.sh alpine
test-bash-4-0:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build test image
uses: docker/build-push-action@v5
with:
context: .
file: test/Dockerfile-bash4-0
tags: getssl-bash4-0
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build the docker compose stack
run: |
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
docker compose build --build-arg BUILDKIT_INLINE_CACHE=1
docker compose up -d
- name: Run test suite on Alpine using Bash 4.0
run: test/run-test.sh bash4-0
test-bash-4-2:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build test image
uses: docker/build-push-action@v5
with:
context: .
file: test/Dockerfile-bash4-2
tags: getssl-bash4-2
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build the docker compose stack
run: |
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
docker compose build --build-arg BUILDKIT_INLINE_CACHE=1
docker compose up -d
- name: Run test suite on Alpine using Bash 4.2
run: test/run-test.sh bash4-2
test-bash-5-0:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build test image
uses: docker/build-push-action@v5
with:
context: .
file: test/Dockerfile-bash5-0
tags: getssl-bash5-0
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build the docker compose stack
run: |
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
docker compose build --build-arg BUILDKIT_INLINE_CACHE=1
docker compose up -d
- name: Run test suite on Alpine using Bash 5
run: test/run-test.sh bash5-0
test-centos6:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build test image
uses: docker/build-push-action@v5
with:
context: .
file: test/Dockerfile-centos6
tags: getssl-centos6
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build the docker compose stack
run: |
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
docker compose build --build-arg BUILDKIT_INLINE_CACHE=1
docker compose up -d
- name: Run test suite on CentOS6
run: test/run-test.sh centos6
test-centos7:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build test image
uses: docker/build-push-action@v5
with:
context: .
file: test/Dockerfile-centos7
tags: getssl-centos7
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build the docker compose stack
run: |
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
docker compose build --build-arg BUILDKIT_INLINE_CACHE=1
docker compose up -d
- name: Run test suite on CentOS7
run: test/run-test.sh centos7
test-centos8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build test image
uses: docker/build-push-action@v5
with:
context: .
file: test/Dockerfile-centos8
tags: getssl-centos8
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build the docker compose stack
run: |
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
docker compose build --build-arg BUILDKIT_INLINE_CACHE=1
docker compose up -d
- name: Run test suite on CentOS8
run: test/run-test.sh centos8
test-debian:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build test image
uses: docker/build-push-action@v5
with:
context: .
file: test/Dockerfile-debian
tags: getssl-debian
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build the docker compose stack
run: |
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
docker compose build --build-arg BUILDKIT_INLINE_CACHE=1
docker compose up -d
- name: Run test suite on Debian
run: test/run-test.sh debian
test-rockylinux8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build test image
uses: docker/build-push-action@v5
with:
context: .
file: test/Dockerfile-rockylinux8
tags: getssl-rockylinux8
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build the docker compose stack
run: |
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
docker compose build --build-arg BUILDKIT_INLINE_CACHE=1
docker compose up -d
- name: Run test suite on RockyLinux8
run: test/run-test.sh rockylinux8
test-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build test image
uses: docker/build-push-action@v5
with:
context: .
file: test/Dockerfile-ubuntu
tags: getssl-ubuntu
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build the docker compose stack
run: |
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
docker compose build --build-arg BUILDKIT_INLINE_CACHE=1
docker compose up -d
- name: Run test suite on Ubuntu
run: test/run-test.sh ubuntu
test-ubuntu14:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build test image
uses: docker/build-push-action@v5
with:
context: .
file: test/Dockerfile-ubuntu14
tags: getssl-ubuntu14
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build the docker compose stack
run: |
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
docker compose build --build-arg BUILDKIT_INLINE_CACHE=1
docker compose up -d
- name: Run test suite on Ubuntu14
run: test/run-test.sh ubuntu14
test-ubuntu16:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build test image
uses: docker/build-push-action@v5
with:
context: .
file: test/Dockerfile-ubuntu16
tags: getssl-ubuntu16
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build the docker compose stack
run: |
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
docker compose build --build-arg BUILDKIT_INLINE_CACHE=1
docker compose up -d
- name: Run test suite on Ubuntu16
run: test/run-test.sh ubuntu16
test-ubuntu18:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build test image
uses: docker/build-push-action@v5
with:
context: .
file: test/Dockerfile-ubuntu18
tags: getssl-ubuntu18
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build the docker compose stack
run: |
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
docker compose build --build-arg BUILDKIT_INLINE_CACHE=1
docker compose up -d
- name: Run test suite on Ubuntu18
run: test/run-test.sh ubuntu18