Skip to content

Commit

Permalink
add GH Actions to spin up docker compose cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
MGTheTrain committed Nov 18, 2024
1 parent 354e53a commit bf3f3ef
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
with:
go-version: '1.21.x'

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Grant execute permissions
run: chmod +x *
working-directory: ./scripts
Expand All @@ -24,7 +27,9 @@ jobs:
run: ./run-test.sh -u
working-directory: ./scripts

# Spin up integration environment (docker-compose or public hyper scaler infrastructure)
- name: Spin up external storage services
run: |
docker-compose up -d postgres azure-blob-storage
- name: Install apt dependencies for integration test
run: |
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
with:
go-version: '1.21.x'

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Grant execute permissions
run: chmod +x *
working-directory: ./scripts
Expand All @@ -24,7 +27,9 @@ jobs:
run: ./run-test.sh -u
working-directory: ./scripts

# Spin up integration environment (docker-compose or public hyper scaler infrastructure)
- name: Spin up external storage services
run: |
docker-compose up -d postgres azure-blob-storage
- name: Install apt dependencies for integration test
run: |
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
with:
go-version: '1.21.x'

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Grant execute permissions
run: chmod +x *
working-directory: ./scripts
Expand All @@ -25,7 +28,9 @@ jobs:
run: ./run-test.sh -u
working-directory: ./scripts

# Spin up integration environment (docker-compose or public hyper scaler infrastructure)
- name: Spin up external storage services
run: |
docker-compose up -d postgres azure-blob-storage
- name: Install apt dependencies for integration test
run: |
Expand Down

0 comments on commit bf3f3ef

Please sign in to comment.