fix: move job runner to /etc/cron.d; improve elastic-rebuild #137
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} |