Skip to content

Commit

Permalink
Initial achilles GA test
Browse files Browse the repository at this point in the history
Removed extra sleep from openldap GA test.
  • Loading branch information
alondhe committed Sep 11, 2023
1 parent 4302126 commit f856c7b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/achilles.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: achilles profile (Linux and Mac)
on: push
jobs:
default:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
httpType: [http, https]
runs-on: ${{ matrix.os }}
steps:
- name: Setup Docker on macOS
if: runner.os == 'macOS'
uses: douglascamata/setup-docker-macos-action@v1-alpha
- name: Checkout
uses: actions/checkout@v3
- name: Create certs folder
run: mkdir -p ./certs
- name: Build achilles container
run: docker-compose --env-file .env --profile achilles up -d
1 change: 0 additions & 1 deletion .github/workflows/openldap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,4 @@ jobs:
run: docker-compose --env-file .env --profile openldap up -d
- name: Test openldap auth in WebAPI
run: |
sleep 30
curl -d "login=user1&password=$(<./secrets/openldap/OPENLDAP_ACCOUNT_PASSWORDS)" -H "Content-Type: application/x-www-form-urlencoded" -X POST ${{matrix.httpType}}://127.0.0.1/WebAPI/user/login/ldap

0 comments on commit f856c7b

Please sign in to comment.