ci: add maximize-space plugin to actions #2814
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: "Quickstart" | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
integration: | |
name: Quickstart | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- name: Maximize build space | |
uses: easimon/maximize-build-space@master | |
with: | |
root-reserve-mb: 18432 | |
temp-reserve-mb: 12288 | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Setup upterm session | |
uses: lhotari/action-upterm@v1 | |
with: | |
limit-access-to-actor: true | |
limit-access-to-users: vindard | |
- uses: carvel-dev/setup-action@v1 | |
with: | |
only: ytt, vendir | |
- name: Test quickstart | |
run: | | |
export COMPOSE_PROJECT_NAME="galoy-dev" | |
cd quickstart | |
./bin/bump-galoy-git-ref.sh ${{ github.event.pull_request.head.sha }} | |
./bin/bump-galoy-image-digest.sh api local | |
./bin/bump-galoy-image-digest.sh trigger local | |
./bin/bump-galoy-image-digest.sh notifications local | |
./bin/bump-mongodb-migrate-image-digest.sh local | |
./bin/re-render.sh | |
GALOY_QUICKSTART_PATH="./" docker compose up -d | |
./bin/quickstart.sh |