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

#2001 - Updating the cache name of redhat docker image artifactory #2129

Merged
merged 1 commit into from
Jul 24, 2023

Conversation

dheepak-aot
Copy link
Collaborator

@dheepak-aot dheepak-aot commented Jul 24, 2023

Update the artifactory cache

As per rocketchat, the docket image atifactory cache redhat-docker-remote is pointing to registry.connect.redhat.com and not the registry.access.redhat.com.

Hence updated the cache to redhat-access-docker-remote

image

image

@sonarqubecloud
Copy link

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

Backend Unit Tests Coverage Report

Totals Coverage
Statements: 17.87% ( 2134 / 11940 )
Methods: 8.29% ( 126 / 1520 )
Lines: 20.67% ( 1870 / 9047 )
Branches: 10.05% ( 138 / 1373 )

@github-actions
Copy link

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

E2E Queue Consumers Coverage Report

Totals Coverage
Statements: 72.5% ( 406 / 560 )
Methods: 63.38% ( 45 / 71 )
Lines: 74.53% ( 357 / 479 )
Branches: 40% ( 4 / 10 )

@github-actions
Copy link

E2E SIMS API Coverage Report

Totals Coverage
Statements: 52.23% ( 3716 / 7115 )
Methods: 48.59% ( 448 / 922 )
Lines: 57.36% ( 3045 / 5309 )
Branches: 25.23% ( 223 / 884 )

@dheepak-aot dheepak-aot changed the title #2001 - Updating the cache name of redhat docker image antifactory #2001 - Updating the cache name of redhat docker image artifactory Jul 24, 2023
@dheepak-aot dheepak-aot self-assigned this Jul 24, 2023
@dheepak-aot dheepak-aot added the Devops Devops label Jul 24, 2023
@oc -n $(BUILD_NAMESPACE) start-build bc/$(API_BUILD_REF) --wait

build-workers:
test -n "$(BUILD_NAMESPACE)"
test -n "$(BUILD_REF)"
test -n "$(WORKERS_BUILD_REF)"
@echo "+\n++ BUILDING WORKERS with tag: $(BUILD_REF)\n+"
@oc -n $(BUILD_NAMESPACE) process -f $(BUILD_TEMPLATE_PATH) -p TAG=$(BUILD_REF) -p SOURCE_REPOSITORY_REF=$(BUILD_REF) -p BASE_IMAGE_NAME="nodejs-16" -p BASE_IMAGE_TAG="1" -p BASE_IMAGE_REPO="artifacts.developer.gov.bc.ca/redhat-docker-remote/ubi8/" -p SOURCE_CONTEXT_DIR=$(SOURCE_CONTEXT_DIR)backend -p DOCKER_FILE_PATH=apps/workers/Dockerfile -p NAME=$(WORKERS_BUILD_REF) | oc -n $(BUILD_NAMESPACE) apply -f -
@oc -n $(BUILD_NAMESPACE) process -f $(BUILD_TEMPLATE_PATH) -p TAG=$(BUILD_REF) -p SOURCE_REPOSITORY_REF=$(BUILD_REF) -p BASE_IMAGE_NAME="nodejs-16" -p BASE_IMAGE_TAG="1" -p BASE_IMAGE_REPO="artifacts.developer.gov.bc.ca/redhat-access-docker-remote/ubi8/" -p SOURCE_CONTEXT_DIR=$(SOURCE_CONTEXT_DIR)backend -p DOCKER_FILE_PATH=apps/workers/Dockerfile -p NAME=$(WORKERS_BUILD_REF) | oc -n $(BUILD_NAMESPACE) apply -f -
Copy link
Collaborator

@guru-aot guru-aot Jul 24, 2023

Choose a reason for hiding this comment

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

@dheepak-aot i know its not part of your change, just curious did we check we have node js 18 version available??

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

redhat-access-docker-remote is just a cache of registry.access.redhat.com. So Yes, node-18 is available there.
image

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.

👍

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 👍

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 @dheepak-aot

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.

Thanks for the research and changes, looks good 👍

@dheepak-aot dheepak-aot merged commit 9934a77 into main Jul 24, 2023
@dheepak-aot dheepak-aot temporarily deployed to DEV July 24, 2023 23:45 — with GitHub Actions Inactive
@dheepak-aot dheepak-aot temporarily deployed to DEV July 24, 2023 23:50 — with GitHub Actions Inactive
@dheepak-aot dheepak-aot temporarily deployed to DEV July 24, 2023 23:50 — with GitHub Actions Inactive
@dheepak-aot dheepak-aot temporarily deployed to DEV July 24, 2023 23:50 — with GitHub Actions Inactive
@dheepak-aot dheepak-aot temporarily deployed to DEV July 24, 2023 23:50 — with GitHub Actions Inactive
@dheepak-aot dheepak-aot temporarily deployed to DEV July 24, 2023 23:53 — with GitHub Actions Inactive
@dheepak-aot dheepak-aot temporarily deployed to DEV July 24, 2023 23:53 — with GitHub Actions Inactive
@dheepak-aot dheepak-aot deleted the fix/#2001-update-nodejs-tag-version branch August 1, 2023 22:02
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