Skip to content

Commit

Permalink
fix: adjusted ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
paulobressan committed Dec 12, 2023
1 parent 4904459 commit 3c4268e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ jobs:

- name: Validate if controller was executed
run: |
username=$(kubectl describe dbsyncports.demeter.run --namespace project useraccess | grep -oP 'Username: \K\S+')
password=$(kubectl describe dbsyncports.demeter.run --namespace project useraccess | grep -oP 'Password: \K\S+')
username=$(kubectl describe dbsyncports.demeter.run --namespace prj-ci-test useraccess | grep -oP 'Username: \K\S+')
password=$(kubectl describe dbsyncports.demeter.run --namespace prj-ci-test useraccess | grep -oP 'Password: \K\S+')
if [ -z "$username" ] && [ -z "$password" ]; then echo "Error: controller not executed" && exit 1; fi

0 comments on commit 3c4268e

Please sign in to comment.