-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#1917 - Fix deployment #1994
#1917 - Fix deployment #1994
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice work @andrewsignori-aot
echo OC CLI Version: $(oc version) | ||
|
||
# Create new tag. | ||
# # Create new tag. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what happens with double #
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leftover from when I was commenting and uncommenting the code. Just removed it.
@@ -29,10 +30,10 @@ on: | |||
type: string | |||
deployCamundaDefinitions: | |||
required: true | |||
type: string | |||
type: boolean |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 just a small question
@@ -73,7 +74,7 @@ jobs: | |||
ref: ${{ needs.createTag.outputs.newTag }} | |||
- name: Log in to OpenShift | |||
run: | | |||
oc login --token=${{ secrets.SA_TOKEN }} --server=https://api.silver.devops.gov.bc.ca:6443 | |||
oc login --token=${{ secrets.SA_TOKEN }} --server=${{ vars.OPENSHIFT_CLUSTER_URL }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One advantage of having those vars is that if the value changes it is only one place to be changed.
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
github.event.inputs
withinputs
. The first one failed for the reusable workflows calls (see additional context).OPENSHIFT_CLUSTER_URL
andBUILD_NAMESPACE
as per @dheepak-aot suggestion in the previous PR.deployCamundaDefinitions
anddeployFormioDefinitions
are now booleans.run-name
to make the workflow execution clear.