Adapt to meilisearch backup-restore-sidecar support. (#143) #89
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: Integration tests | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
test: | |
name: Integration tests | |
runs-on: self-hosted | |
steps: | |
- name: Gain back workspace permissions # https://github.com/actions/checkout/issues/211 | |
run: | | |
[ -d "${GITHUB_WORKSPACE}" ] && sudo chown -R $USER:$USER ${GITHUB_WORKSPACE} | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Docker Login | |
uses: docker/login-action@v2 | |
with: | |
registry: ${{ secrets.DOCKER_REGISTRY }} | |
username: ${{ secrets.DOCKER_REGISTRY_USER }} | |
password: ${{ secrets.DOCKER_REGISTRY_TOKEN }} | |
- name: Build Docker image | |
run: | | |
make build-vms-image | |
docker push ghcr.io/metal-stack/mini-lab-vms:latest | |
- name: Run integration tests | |
shell: bash | |
run: | | |
./test/ci-cleanup.sh | |
./test/integration.sh | |
env: | |
DOCKER_HUB_USER: ${{ secrets.DOCKER_HUB_USER }} | |
DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }} | |
- uses: release-drafter/release-drafter@v5 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |