Skip to content

Commit

Permalink
chore: test with CM in grpc+http
Browse files Browse the repository at this point in the history
  • Loading branch information
pandatix committed Nov 8, 2024
1 parent 63b89b9 commit 3dc0ee2
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ jobs:

services:
chall-manager:
image: ctferio/chall-manager:dev
image: ctferio/chall-manager:grpchttp
ports:
- 9090:9090
- 8081:8081
- 8080:8080
env:
CI: true
credentials:
Expand Down Expand Up @@ -62,7 +61,7 @@ jobs:
- name: Wait for Chall-Manager server
run: |
max_attempts=60
base_url="http://localhost:9090/api/v1/challenge"
base_url="http://localhost:8080/api/v1/challenge"
for ((i=0; i<$max_attempts; i++)); do
if curl --fail --silent --show-error "$base_url" >/dev/null; then
echo "Server is up and running!"
Expand Down Expand Up @@ -130,12 +129,12 @@ jobs:
CYPRESS_CTFD_PASSWORD: ${{ env.PASSWORD }}
CYPRESS_CTFD_URL: "http://localhost:8000"
CYPRESS_SCENARIO_PATH: "${{ github.workspace }}/demo-deploy.zip"
CYPRESS_PLUGIN_SETTINGS_CM_API_URL: "http://chall-manager:9090/api/v1"
CYPRESS_PLUGIN_SETTINGS_CM_API_URL: "http://chall-manager:8080/api/v1"
CYPRESS_PLUGIN_SETTINGS_CM_MANA_TOTAL: "10"

- uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # 4.3.6
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
if-no-files-found: ignore
if-no-files-found: ignore

0 comments on commit 3dc0ee2

Please sign in to comment.