Skip to content

Commit 2d2373e

Browse files
committed
PR comments
1 parent ebc3bd3 commit 2d2373e

File tree

3 files changed

+6
-25
lines changed

3 files changed

+6
-25
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
if: ${{ needs.paths-filter.outputs.catalyst-gateway == 'true' || github.base_ref == 'main'}}
8080
uses: ./.github/workflows/gateway-tests.yml
8181
secrets:
82-
PRIVATE_SSH_KEY: ${{ secrets.PRIVATE_SSH_KEY }}
82+
PRIVATE_SSH_KEY: ${{ secrets.secrets.QA_REPO_SSH_KEY }}
8383

8484
voices-integration-tests:
8585
needs: [ci, paths-filter]

.github/workflows/gateway-tests.yml

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Setup SSH Agent
4040
uses: webfactory/[email protected]
4141
with:
42-
ssh-private-key: ${{ secrets.PRIVATE_SSH_KEY }}
42+
ssh-private-key: ${{ secrets.QA_REPO_SSH_KEY }}
4343

4444
- name: Install Forge
4545
uses: input-output-hk/catalyst-forge/actions/install@ci/v1.10.0
@@ -139,25 +139,10 @@ jobs:
139139
steps:
140140
- uses: actions/checkout@v4
141141

142-
- name: Free Disk Space (Ubuntu)
143-
uses: jlumbroso/free-disk-space@main
144-
with:
145-
# this might remove tools that are actually needed,
146-
# if set to "true" but frees about 6 GB
147-
tool-cache: false
148-
# all of these default to true, but feel free to set to
149-
# "false" if necessary for your workflow
150-
android: true
151-
dotnet: false
152-
haskell: false
153-
large-packages: false
154-
docker-images: false
155-
swap-storage: true
156-
157142
- name: Setup SSH Agent
158143
uses: webfactory/[email protected]
159144
with:
160-
ssh-private-key: ${{ secrets.PRIVATE_SSH_KEY }}
145+
ssh-private-key: ${{ secrets.QA_REPO_SSH_KEY }}
161146

162147
- name: Install Forge
163148
uses: input-output-hk/catalyst-forge/actions/install@ci/v1.10.0
@@ -192,6 +177,7 @@ jobs:
192177
fi
193178
if [ "$STATUS" == "unhealthy" ]; then
194179
echo "Container became unhealthy."
180+
docker compose -f catalyst-gateway/tests/docker-compose-devnet.yml logs cat-devnet
195181
exit 1
196182
fi
197183
sleep 5
@@ -216,15 +202,11 @@ jobs:
216202
fi
217203
if [ "$STATUS" == "unhealthy" ]; then
218204
echo "Container became unhealthy."
219-
break
205+
docker compose -f catalyst-gateway/tests/docker-compose-devnet.yml logs cat-gateway
206+
exit 1
220207
fi
221208
sleep 5
222209
done
223-
224-
if [ "$STATUS" != "healthy" ]; then
225-
docker compose -f catalyst-gateway/tests/docker-compose-devnet.yml logs cat-gateway
226-
exit 1
227-
fi
228210
229211
- name: Schemathesis tests
230212
if: ${{ steps.gateway-healthy.conclusion == 'success' }}

catalyst-gateway/tests/docker-compose-devnet.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ services:
66
image: cat-devnet:latest
77
container_name: cat-devnet
88
healthcheck:
9-
#TODO when the issues with block initial sizes is fixed, update the healthcheck https://github.com/input-output-hk/catalyst-voices/issues/3327
109
test: ["CMD-SHELL","bash /healthcheck.sh"]
1110
start_period: 60s
1211
interval: 30s

0 commit comments

Comments
 (0)