Skip to content
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

Merged
merged 17 commits into from
Jun 6, 2023
Merged

#1917 - Fix deployment #1994

merged 17 commits into from
Jun 6, 2023

Conversation

andrewsignori-aot
Copy link
Collaborator

@andrewsignori-aot andrewsignori-aot commented Jun 6, 2023

  • Replace the usage of github.event.inputs with inputs. The first one failed for the reusable workflows calls (see additional context).
  • Created repository variables for OPENSHIFT_CLUSTER_URL and BUILD_NAMESPACE as per @dheepak-aot suggestion in the previous PR.
  • deployCamundaDefinitions and deployFormioDefinitions are now booleans.
  • Added run-name to make the workflow execution clear.
    image

@andrewsignori-aot andrewsignori-aot added the Bug Something isn't working label Jun 6, 2023
@andrewsignori-aot andrewsignori-aot self-assigned this Jun 6, 2023
@andrewsignori-aot andrewsignori-aot temporarily deployed to DEV June 6, 2023 21:57 — with GitHub Actions Inactive
@andrewsignori-aot andrewsignori-aot temporarily deployed to DEV June 6, 2023 21:59 — with GitHub Actions Inactive
@andrewsignori-aot andrewsignori-aot temporarily deployed to DEV June 6, 2023 21:59 — with GitHub Actions Inactive
@andrewsignori-aot andrewsignori-aot temporarily deployed to DEV June 6, 2023 21:59 — with GitHub Actions Inactive
@andrewsignori-aot andrewsignori-aot temporarily deployed to DEV June 6, 2023 21:59 — with GitHub Actions Inactive
@andrewsignori-aot andrewsignori-aot temporarily deployed to DEV June 6, 2023 21:59 — with GitHub Actions Inactive
@andrewsignori-aot andrewsignori-aot temporarily deployed to DEV June 6, 2023 21:59 — with GitHub Actions Inactive
@andrewsignori-aot andrewsignori-aot temporarily deployed to DEV June 6, 2023 22:02 — with GitHub Actions Inactive
@andrewsignori-aot andrewsignori-aot temporarily deployed to DEV June 6, 2023 22:02 — with GitHub Actions Inactive
@andrewsignori-aot andrewsignori-aot temporarily deployed to DEV June 6, 2023 22:13 — with GitHub Actions Inactive
@andrewsignori-aot andrewsignori-aot temporarily deployed to DEV June 6, 2023 22:15 — with GitHub Actions Inactive
@andrewsignori-aot andrewsignori-aot temporarily deployed to DEV June 6, 2023 22:15 — with GitHub Actions Inactive
@andrewsignori-aot andrewsignori-aot temporarily deployed to DEV June 6, 2023 22:15 — with GitHub Actions Inactive
@andrewsignori-aot andrewsignori-aot temporarily deployed to DEV June 6, 2023 22:15 — with GitHub Actions Inactive
Copy link
Collaborator

@guru-aot guru-aot left a 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

@andrewsignori-aot andrewsignori-aot added the Devops Devops label Jun 6, 2023
echo OC CLI Version: $(oc version)

# Create new tag.
# # Create new tag.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what happens with double #

Copy link
Collaborator Author

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@sh16011993 sh16011993 requested a review from ann-aot June 6, 2023 23:21
Copy link
Contributor

@ann-aot ann-aot left a 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 }}
Copy link
Collaborator

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.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jun 6, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@github-actions
Copy link

github-actions bot commented Jun 6, 2023

Backend Unit Tests Coverage Report

Totals Coverage
Statements: 17.92% ( 2092 / 11673 )
Methods: 8.23% ( 123 / 1494 )
Lines: 20.7% ( 1833 / 8854 )
Branches: 10.26% ( 136 / 1325 )

@github-actions
Copy link

github-actions bot commented Jun 6, 2023

E2E Workflow Workers Coverage Report

Totals Coverage
Statements: 49.81% ( 267 / 536 )
Methods: 41.56% ( 32 / 77 )
Lines: 55.33% ( 218 / 394 )
Branches: 26.15% ( 17 / 65 )

@github-actions
Copy link

github-actions bot commented Jun 6, 2023

E2E Queue Consumers Coverage Report

Totals Coverage
Statements: 69.4% ( 390 / 562 )
Methods: 59.15% ( 42 / 71 )
Lines: 71.52% ( 344 / 481 )
Branches: 40% ( 4 / 10 )

@github-actions
Copy link

github-actions bot commented Jun 6, 2023

E2E SIMS API Coverage Report

Totals Coverage
Statements: 43.54% ( 3042 / 6986 )
Methods: 37.65% ( 340 / 903 )
Lines: 48.62% ( 2535 / 5214 )
Branches: 19.22% ( 167 / 869 )

Copy link
Collaborator

@andrepestana-aot andrepestana-aot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Copy link
Collaborator

@sh16011993 sh16011993 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@andrewsignori-aot andrewsignori-aot merged commit 5e5c46e into main Jun 6, 2023
@andrewsignori-aot andrewsignori-aot deleted the fix/secrets-1917 branch June 6, 2023 23:40
@andrewsignori-aot andrewsignori-aot temporarily deployed to DEV June 6, 2023 23:50 — with GitHub Actions Inactive
@andrewsignori-aot andrewsignori-aot temporarily deployed to DEV June 6, 2023 23:51 — with GitHub Actions Inactive
@andrewsignori-aot andrewsignori-aot temporarily deployed to DEV June 6, 2023 23:51 — with GitHub Actions Inactive
@andrewsignori-aot andrewsignori-aot temporarily deployed to DEV June 6, 2023 23:51 — with GitHub Actions Inactive
@andrewsignori-aot andrewsignori-aot temporarily deployed to DEV June 6, 2023 23:51 — with GitHub Actions Inactive
@andrewsignori-aot andrewsignori-aot temporarily deployed to DEV June 6, 2023 23:53 — with GitHub Actions Inactive
@andrewsignori-aot andrewsignori-aot temporarily deployed to DEV June 6, 2023 23:53 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Devops Devops
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants