Skip to content

Commit

Permalink
Add a smoketest profile for Stepup
Browse files Browse the repository at this point in the history
See #19
  • Loading branch information
pablothedude committed Jan 21, 2025
1 parent f8a0ed1 commit 8ccf8ce
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/stepup-behat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
env:
DOCKER_COMPOSE: docker compose -f docker-compose.yml
DOCKER_COMPOSE: docker compose --profile smoketest -f docker-compose.yml
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions stepup/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ services:
volumes:
- ${PWD}/:/config
- /var/run/docker.sock:/var/run/docker.sock
profiles:
- "smoketest"

webauthn:
image: ghcr.io/openconext/stepup-webauthn/stepup-webauthn:${STEPUP_VERSION:-prod}
Expand Down
4 changes: 1 addition & 3 deletions stepup/start-dev-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,4 @@ done
echo -e "Starting the ${MODE} environment with the following command:\n"

echo -e "docker compose -f docker-compose.yml ${docker_compose_args[@]} ${extra_compose_args} up ${d_option} ${@:$number_of_dev_envs}\n"
docker compose -f docker-compose.yml ${docker_compose_args[@]} ${extra_compose_args} up ${d_option} ${@:$number_of_dev_envs}


docker compose --profile smoketest -f docker-compose.yml ${docker_compose_args[@]} ${extra_compose_args} up ${d_option} ${@:$number_of_dev_envs}

0 comments on commit 8ccf8ce

Please sign in to comment.