Skip to content

Commit

Permalink
No keycloak service in sanity and in test that are not API
Browse files Browse the repository at this point in the history
  • Loading branch information
jolelievre committed Sep 14, 2023
1 parent 4fd388b commit 9db2878
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-sanity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ jobs:
PS_INSTALL_AUTO: 0
run: |
echo Build docker via docker composer
USER_ID=$(id -u) GROUP_ID=$(id -g) docker-compose -f docker-compose.yml up -d --build
USER_ID=$(id -u) GROUP_ID=$(id -g) docker-compose -f docker-compose.yml up -d --build prestashop-git
- name: Start sanity campaign
uses: ./custom_actions/.github/workflows/actions/run-tests
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/test-with-prebuilt-shop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,14 @@ jobs:
## Add self-signed certificate to Chrome Trust Store
mkcert -install
- name: Start keycloak service
if: inputs.test_command == 'functional:API'
working-directory: ${{ env.PS_DIR }}
timeout-minutes: 5
run: |
echo Starting keycloak service alone
USER_ID=$(id -u) GROUP_ID=$(id -g) docker-compose -f docker-compose.yml up -d --build keycloak
- name: Setup database
working-directory: ${{ env.PS_DIR }}
timeout-minutes: 5
Expand Down Expand Up @@ -120,7 +128,7 @@ jobs:
DISABLE_MAKE: 1
run: |
echo Build the remaining dockers
USER_ID=$(id -u) GROUP_ID=$(id -g) docker-compose -f docker-compose.yml up -d --build
USER_ID=$(id -u) GROUP_ID=$(id -g) docker-compose -f docker-compose.yml up -d --build prestashop-git
echo Waiting for response from the FO
bash -c 'while [[ "$(curl -L -s -o /dev/null -w %{http_code} ${{ env.URL_FO }}en/)" != "200" ]]; do sleep 5; done'
Expand Down

0 comments on commit 9db2878

Please sign in to comment.