mirror of
https://github.com/valitydev/party-management.git
synced 2024-11-06 09:15:18 +00:00
a405fce864
* TD-128: Add CI, Makefile, Dockerfile and docker-compose.yaml * Fix format and lint * Use compose test * Update erlang workflow version * Add covertool * Move to valitydev repos * Add prometheus clarification * Use compose spec instead of docker compose spec * Update .github/workflows/build-image.yaml Co-authored-by: Alexey S. <kehitt@users.noreply.github.com> * Add healthchecks to dominant and machinegun in compose file * Fix Dockerfile SERVICE arg * Try to solve mystery of alias * fix * fix * fix * Only check shumway to be healthy * Insert daemon socket * Find container * Inspect last container * Try different method to print inspect * One last try * Fix * Remove hostname from docker-compose.yaml * Check `$SERVICENAME` availability * cat envfile * Test theory * Change service name * Revert experiments * Fix healthcheck * Disable wait for health on dominant Co-authored-by: Alexey S. <kehitt@users.noreply.github.com>
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
name: Erlang CI Checks
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
- 'epic/**'
|
|
pull_request:
|
|
branches: [ '**' ]
|
|
|
|
jobs:
|
|
setup:
|
|
name: Load .env
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
otp-version: ${{ steps.otp-version.outputs.version }}
|
|
rebar-version: ${{ steps.rebar-version.outputs.version }}
|
|
thrift-version: ${{ steps.thrift-version.outputs.version }}
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
- run: grep -v '^#' .env >> $GITHUB_ENV
|
|
- id: otp-version
|
|
run: echo "::set-output name=version::$OTP_VERSION"
|
|
- id: rebar-version
|
|
run: echo "::set-output name=version::$REBAR_VERSION"
|
|
- id: thrift-version
|
|
run: echo "::set-output name=version::$THRIFT_VERSION"
|
|
|
|
run:
|
|
name: Run checks
|
|
needs: setup
|
|
uses: valitydev/erlang-workflows/.github/workflows/erlang-parallel-build.yml@v1.0.1
|
|
with:
|
|
otp-version: ${{ needs.setup.outputs.otp-version }}
|
|
rebar-version: ${{ needs.setup.outputs.rebar-version }}
|
|
use-thrift: true
|
|
thrift-version: ${{ needs.setup.outputs.thrift-version }}
|
|
run-ct-with-compose: true
|