forked from aws/aws-parallelcluster-cookbook
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 1.05 KB
/
system-tests-ubuntu.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
name: ParallelCluster Cookbook System Test Ubuntu
on:
push:
branches:
- develop
pull_request:
jobs:
systemtest-build:
runs-on: ubuntu-latest
name: SystemTestUbuntu
services:
registry:
image: registry:2
ports:
- 5000:5000
steps:
- uses: actions/checkout@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
with:
driver-opts: network=host
- name: Install
id: docker_build
uses: docker/build-push-action@v2
with:
builder: ${{ steps.buildx.outputs.name }}
context: ./
file: ./system_tests/Dockerfile.ubuntu
push: true
tags: localhost:5000/pcluster/chef-base:ubuntu
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Configure
run: docker run -i -v ${{ github.workspace }}:/build -v ${{ github.workspace }}/system_tests/dna.json:/etc/chef/dna.json localhost:5000/pcluster/chef-base:ubuntu /build/system_tests/systemd