mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-06-16 02:45:47 +00:00
31b61ab310
Rework how mixer-ci is built and remove it from the test matrix as it is no longer automatically updated as github's runner isn't able to build it at this time. Signed-off-by: William Douglas <william.douglas@intel.com>
49 lines
1.0 KiB
YAML
49 lines
1.0 KiB
YAML
name: CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build1:
|
|
name: build_group1
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node:
|
|
- cgit
|
|
- clr-installer-ci
|
|
- golang
|
|
- haproxy
|
|
- httpd
|
|
- iperf
|
|
- machine-learning-ui
|
|
- mariadb
|
|
- memcached
|
|
- nginx
|
|
- node
|
|
- openjdk/8
|
|
- openjdk/13
|
|
- os-core
|
|
- perl
|
|
- php
|
|
- php-fpm
|
|
- postgres
|
|
- python
|
|
- rabbitmq
|
|
- ruby
|
|
- valkey
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: install
|
|
run: |
|
|
sudo apt-get install bats -f
|
|
sudo modprobe -r overlay
|
|
sudo modprobe overlay redirect_dir=off
|
|
sudo systemctl restart docker
|
|
- name: run test
|
|
run: |
|
|
dir=$(pwd)
|
|
cd ${{matrix.node}}
|
|
docker build -t ghcr.io/clearlinux/${{matrix.node}} .
|
|
cd $dir
|
|
if [ -d "./tests/${{matrix.node}}" ]; then cd tests; make ${{matrix.node}}; fi
|