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

#3685 - Convert SIMS Web to deployment object #4210

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

dheepak-aot
Copy link
Collaborator

@dheepak-aot dheepak-aot commented Jan 7, 2025

Convert Deployment Config to Deployment - SIMS Web

Resource

Updates

  • Converted the DeploymentConfig object sims-web to Deployment
  • The metadata label deploymentconfig is replaced with label app. This label is now used as selector.
  • The HorizontalPodAutoscaler is now attached to Deployment instead of DeploymentConfig.
  • The rollout status command is now executed on deployment.

@dheepak-aot dheepak-aot added the Devops Devops label Jan 7, 2025
@dheepak-aot dheepak-aot self-assigned this Jan 7, 2025
Copy link

sonarqubecloud bot commented Jan 7, 2025

Copy link

github-actions bot commented Jan 7, 2025

Backend Unit Tests Coverage Report

Totals Coverage
Statements: 22.22% ( 3782 / 17020 )
Methods: 10.19% ( 219 / 2150 )
Lines: 25.66% ( 3277 / 12770 )
Branches: 13.62% ( 286 / 2100 )

Copy link

github-actions bot commented Jan 7, 2025

E2E Workflow Workers Coverage Report

Totals Coverage
Statements: 65.59% ( 589 / 898 )
Methods: 59.63% ( 65 / 109 )
Lines: 68.72% ( 468 / 681 )
Branches: 51.85% ( 56 / 108 )

Copy link

github-actions bot commented Jan 7, 2025

E2E Queue Consumers Coverage Report

Totals Coverage
Statements: 86.14% ( 1249 / 1450 )
Methods: 82.42% ( 136 / 165 )
Lines: 88.51% ( 1032 / 1166 )
Branches: 68.07% ( 81 / 119 )

Copy link

github-actions bot commented Jan 7, 2025

E2E SIMS API Coverage Report

Totals Coverage
Statements: 67.4% ( 5922 / 8787 )
Methods: 65.09% ( 729 / 1120 )
Lines: 71.33% ( 4647 / 6515 )
Branches: 47.4% ( 546 / 1152 )

@dheepak-aot dheepak-aot marked this pull request as ready for review January 8, 2025 00:04
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.

Great work with the conversion, looks good 👍

@@ -511,7 +511,7 @@ deploy-web:
-p TLS_KEY=$(TLS_KEY) \
-p TLS_CA_CERTIFICATE=$(TLS_CA_CERTIFICATE) \
| oc -n $(NAMESPACE) apply -f -
$(call rollout_and_wait,dc/$(WEB))
$(call rollout_and_wait,deployment/$(WEB))
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍

@guru-aot
Copy link
Collaborator

guru-aot commented Jan 8, 2025

So as part of this yml we do not have
image
but when converting forms we do have them. Just FYI.

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.

Nice work @dheepak-aot . And good read.

@dheepak-aot dheepak-aot added this pull request to the merge queue Jan 8, 2025
Merged via the queue into main with commit 4fbbe08 Jan 8, 2025
21 checks passed
@dheepak-aot dheepak-aot deleted the upgrade/#3685-convert-to-deployment-web branch January 9, 2025 03:22
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.

3 participants