fix(deps): update code.cloudfoundry.org/loggregator-agent-release/src digest to 6c97f6f #10528
Workflow file for this run
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: Build with Mysql | |
on: | |
pull_request: | |
workflow_dispatch: | |
concurrency: | |
group: "${{ github.workflow }}/${{ github.ref }}" | |
cancel-in-progress: true | |
jobs: | |
build: | |
strategy: | |
matrix: | |
mysql: [8] | |
suite: [test, integration] | |
env: | |
DB_DATABASE: autoscaler | |
DB_USER: root | |
DB_PASSWORD: root | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/cloudfoundry/app-autoscaler-release-tools:main | |
continue-on-error: true | |
name: Build suite=${{ matrix.suite }}, mysql=${{ matrix.mysql }} | |
services: | |
mysql: | |
image: mysql:${{ matrix.mysql }} | |
env: | |
MYSQL_ALLOW_EMPTY_PASSWORD: true | |
MYSQL_DATABASE: autoscaler | |
ports: | |
- 3306:3306 | |
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 | |
steps: | |
- name: Trust my checkout | |
run: git config --global --add safe.directory "${GITHUB_WORKSPACE}" | |
- uses: actions/checkout@v4 | |
- name: make build | |
run: | | |
make build db_type=mysql | |
- name: make ${{ matrix.suite }} | |
env: | |
DB_HOST: mysql | |
run: | | |
make ${{ matrix.suite }} db_type=mysql DB_HOST="${DB_HOST}" |