Skip to content

Commit

Permalink
Actually create the LDIF file
Browse files Browse the repository at this point in the history
  • Loading branch information
lvps committed Apr 5, 2024
1 parent 1f66a7b commit 9782091
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env:
TEST_PASSWORD: "asd"
TEST_LDAP_CONNECTION_STRING: "ldap://dirsrv:3389"
TEST_SUFFIX: "dc=example,dc=test"
TEST_ACI_LDIF: "aci_tmp.txt"
TEST_ACI_LDIF: "aci_tmp.ldif"

jobs:
run-tests:
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Generate ACIs
working-directory: ./aci
run: |
python make_acis.py -l -s $TEST_SUFFIX
python make_acis.py -l -s $TEST_SUFFIX > aci_tmp.ldif
- name: Run test script
working-directory: ./aci
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pip install -r requirements.txt
# Alternatively, as a LDIF file (replace with real suffix):
./make_acis.py -l -s "dc=example,dc=test"
# Create LDIF file with ACIs for tests:
./make_acis.py -l -s "dc=example,dc=test" > aci_tmp.txt
./make_acis.py -l -s "dc=example,dc=test" > aci_tmp.ldif
# Required env variables for the tests
export TEST_PASSWORD="secret1"
export TEST_LDAP_CONNECTION_STRING="ldap://ldap1.sso.local:389"
Expand Down

0 comments on commit 9782091

Please sign in to comment.