Skip to content

Commit

Permalink
Update RBAC GHA
Browse files Browse the repository at this point in the history
Signed-off-by: jmasar <[email protected]>
  • Loading branch information
jmasar committed May 29, 2024
1 parent 29a2635 commit ddd90a7
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
submodules: recursive

name: Set up JDK 17
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
Expand All @@ -29,7 +29,7 @@ jobs:
test-v2:
runs-on: ubuntu-latest
needs: build-v2

services:
postgres:
image: postgres
Expand All @@ -50,7 +50,7 @@ jobs:
submodules: recursive

name: Set up JDK 17
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
Expand Down Expand Up @@ -78,6 +78,8 @@ jobs:
'http://localhost:8080/api/metadata/workflow' \
-H 'accept: */*' \
-H 'Content-Type: application/json' \
-H 'From: admin' \
-H 'x-auth-user-groups: network-admin' \
-d '[{
"name": "test",
"description": "test workflow",
Expand Down Expand Up @@ -121,6 +123,8 @@ jobs:
'http://localhost:8080/api/workflow' \
-H 'accept: text/plain' \
-H 'Content-Type: application/json' \
-H 'From: admin' \
-H 'x-auth-user-groups: network-admin' \
-d '{
"name": "test"
}'
Expand All @@ -135,6 +139,8 @@ jobs:
curl -X 'GET' \
'http://localhost:8080/api/workflow/search-v2?start=0&size=100&freeText=%2A' \
-H 'accept: */*' \
-H 'From: admin' \
-H 'x-auth-user-groups: network-admin' \
| grep workflowId
- name: Search WFs
Expand All @@ -143,6 +149,8 @@ jobs:
curl -X 'GET' \
'http://localhost:8080/api/workflow/search-v2?start=0&size=100&freeText=%2A' \
-H 'accept: */*' \
-H 'From: admin' \
-H 'x-auth-user-groups: network-admin' \
| jq
- name: Print Conductor logs
Expand All @@ -151,4 +159,4 @@ jobs:

- name: Print Worker logs
if: always()
run: cat worker_logs.txt
run: cat worker_logs.txt

0 comments on commit ddd90a7

Please sign in to comment.