Skip to content

reload db always on restore #10202

reload db always on restore

reload db always on restore #10202

Workflow file for this run

name: Tests
on:
push:
branches:
- '**' # run on ever branch except main (is covered by PR)
- '!main'
jobs:
Unit-Tests:
name: unit-tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
cache: true
- name: Unit test
run: ./test/run.sh --unit-only
Integration-Tests:
name: integration-tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
cache: true
- name: Integration test
run: ./test/run.sh --integration-only
Push-Docker:
name: push-docker
runs-on: ubuntu-latest-8-cores
if: ${{ !github.event.pull_request.head.repo.fork }} # no PRs from fork
steps:
- uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{secrets.DOCKER_USERNAME}}
password: ${{secrets.DOCKER_PASSWORD}}
- name: Push container
id: push-container
run: ./ci/push_docker.sh
env:
PR_TITLE: "${{ github.event.pull_request.title }}"
- name: Generate Report
env:
PREVIEW_TAG: "${{ steps.push-container.outputs.PREVIEW_TAG }}"
run: ./ci/generate_docker_report.sh