@@ -88,31 +88,15 @@ jobs:
8888 run : node ./scripts/ldif.js && ls -la
8989 - name : Import ldif into openldap
9090 run : ./scripts/import.sh
91- - name : Install baton
92- run : ./scripts/get-baton.sh && mv baton /usr/local/bin
9391 - name : Build baton-ldap
9492 run : go build ./cmd/baton-ldap
95- - name : Run baton-ldap
96- run : ./baton-ldap
97- - name : List grants
98- run : baton grants
99- - name : Test grant/revoking posixGroup entitlements
100- env :
101- BATON : baton
102- BATON_LDAP : ./baton-ldap
103- BATON_ENTITLEMENT : " group:cn=testgroup00000,dc=example,dc=org:member"
104- BATON_PRINCIPAL : " cn=testuser00099@example.com,dc=example,dc=org"
105- BATON_PRINCIPAL_TYPE : " user"
106- run : ./scripts/grant-revoke.sh
107- - name : Test grant/revoking groupOfUniqueNames entitlements
108- env :
109- BATON : baton
110- BATON_LDAP : ./baton-ldap
111- BATON_ENTITLEMENT : " group:cn=othertestgroup00000,dc=example,dc=org:member"
112- BATON_PRINCIPAL : " cn=testuser00099@example.com,dc=example,dc=org"
113- BATON_PRINCIPAL_TYPE : " user"
114- run : ./scripts/grant-revoke.sh
115-
93+ - name : Grant/revoke
94+ uses : ConductorOne/github-workflows/actions/sync-test@v2
95+ with :
96+ connector : ./baton-ldap
97+ baton-entitlement : ' group:cn=testgroup00000,dc=example,dc=org:member'
98+ baton-principal : ' cn=testuser00099@example.com,dc=example,dc=org'
99+ baton-principal-type : user
116100 - name : Create account
117101 env :
118102 ACCOUNT_DISPLAYNAME : ' Example User'
0 commit comments