Skip to content

Commit

Permalink
clean status of previous job before starting next job
Browse files Browse the repository at this point in the history
  • Loading branch information
ahus1 committed Dec 7, 2023
1 parent 9ad8a99 commit f408c76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/keycloak-create-dataset/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ runs:
- id: create_dataset
shell: bash
run: |
./dataset-import.sh -a clear-status-completed -l ${{ env.KEYCLOAK_URL }}/realms/master/dataset
./dataset-import.sh -a create-realms -r ${{ inputs.realms }} -c ${{ inputs.clients }} -u ${{ inputs.users }} -l ${{ env.KEYCLOAK_URL }}/realms/master/dataset
./dataset-import.sh -a status-completed -t ${{ inputs.maxWaitEntityCreation }} -l ${{ env.KEYCLOAK_URL }}/realms/master/dataset
working-directory: dataset
Expand All @@ -46,6 +47,7 @@ runs:
if: ${{ inputs.createClientForSpecificRealm == 'true' }}
shell: bash
run: |
./dataset-import.sh -a clear-status-completed -l ${{ env.KEYCLOAK_URL }}/realms/master/dataset
./dataset-import.sh -a create-clients -c ${{ inputs.clientsPerRealm }} -n ${{ inputs.realmNameForClients }} -l ${{ env.KEYCLOAK_URL }}/realms/master/dataset
./dataset-import.sh -a status-completed -t ${{ inputs.maxWaitEntityCreation }} -l ${{ env.KEYCLOAK_URL }}/realms/master/dataset
working-directory: dataset

0 comments on commit f408c76

Please sign in to comment.