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

#1959 - Staging sims prod environment : formio GitHub action build deploy split #2000

Conversation

guru-aot
Copy link
Collaborator

@guru-aot guru-aot commented Jun 8, 2023

Split the github action workflow which currently builds and deploys simultaneously in a single action into seperate build and deploy github action.

Copy link
Collaborator

@andrewsignori-aot andrewsignori-aot left a comment

Choose a reason for hiding this comment

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

Nice work, minor comments only.

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.

Nice work 👍 . Please have a look at @andrewsignori-aot comments.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jun 8, 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

Copy link
Collaborator

@andrewsignori-aot andrewsignori-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 👍

@github-actions
Copy link

github-actions bot commented Jun 8, 2023

Backend Unit Tests Coverage Report

Totals Coverage
Statements: 17.91% ( 2086 / 11648 )
Methods: 8.27% ( 123 / 1488 )
Lines: 20.68% ( 1827 / 8835 )
Branches: 10.26% ( 136 / 1325 )

@github-actions
Copy link

github-actions bot commented Jun 8, 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 8, 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 8, 2023

E2E SIMS API Coverage Report

Totals Coverage
Statements: 43.54% ( 3032 / 6964 )
Methods: 37.75% ( 339 / 898 )
Lines: 48.6% ( 2526 / 5197 )
Branches: 19.22% ( 167 / 869 )

@guru-aot guru-aot merged commit 58fc79f into main Jun 8, 2023
@guru-aot guru-aot deleted the feature/#1959-Staging-SIMS-Prod-Environment-Formio-GithubAction-Build-Deploy branch June 8, 2023 21:01
@guru-aot guru-aot temporarily deployed to DEV June 8, 2023 21:09 — with GitHub Actions Inactive
@guru-aot guru-aot temporarily deployed to DEV June 8, 2023 21:10 — with GitHub Actions Inactive
@guru-aot guru-aot temporarily deployed to DEV June 8, 2023 21:10 — with GitHub Actions Inactive
@guru-aot guru-aot temporarily deployed to DEV June 8, 2023 21:10 — with GitHub Actions Inactive
@guru-aot guru-aot temporarily deployed to DEV June 8, 2023 21:10 — with GitHub Actions Inactive
@guru-aot guru-aot temporarily deployed to DEV June 8, 2023 21:12 — with GitHub Actions Inactive
@guru-aot guru-aot temporarily deployed to DEV June 8, 2023 21:12 — with GitHub Actions Inactive
gitRef:
description: "Git Ref"
required: true
default: ""
Copy link
Contributor

Choose a reason for hiding this comment

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

why should we need the default as empty?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The git ref for build is the reference something like main-65, it does not have any default value.

run: |
echo BUILD NAMESPACE: $BUILD_NAMESPACE
echo BRANCH: $BUILD_REF
# Checkout the PR branch
Copy link
Contributor

Choose a reason for hiding this comment

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

period

Copy link
Contributor

@ann-aot ann-aot Jun 8, 2023

Choose a reason for hiding this comment

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

line 39 too and comments in other files too.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Will update it in my next pr

andrewsignori-aot pushed a commit that referenced this pull request Jun 8, 2023
…ploy split (#2000)

Split the github action workflow which currently builds and deploys
simultaneously in a single action into seperate build and deploy github
action.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Devops Devops
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants