Skip to content

fix: move job runner to /etc/cron.d; improve elastic-rebuild #137

fix: move job runner to /etc/cron.d; improve elastic-rebuild

fix: move job runner to /etc/cron.d; improve elastic-rebuild #137

Workflow file for this run

name: Test Meza
on:
push:
branches:
jobs:
test:
strategy:
fail-fast: false
matrix:
test_type:
- monolith-from-scratch
- monolith-from-import
- import-from-remote
- backup-to-remote
- import-from-alt-remote
runs-on: ubuntu-latest
steps:
- name: Context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- uses: actions/checkout@master
- name: apt-get update
run: sudo apt-get update
- name: install prereqs
run: sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
- name: get key
run: curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- name: fingerprint
run: sudo apt-key fingerprint 0EBFCD88
- name: Get docker repo
run: sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- name: apt-get update again
run: sudo apt-get update
- name: Install docker
run: sudo apt-get install docker-ce docker-ce-cli containerd.io
- name: run test
run: sudo bash ./tests/docker/run-tests.sh ${{ matrix.test_type }} ${PWD}