Skip to content

Comments

Promote dev to test#70

Merged
ty2k merged 11 commits intotestfrom
dev
May 20, 2025
Merged

Promote dev to test#70
ty2k merged 11 commits intotestfrom
dev

Conversation

@ty2k
Copy link
Collaborator

@ty2k ty2k commented May 20, 2025

No description provided.

@ty2k ty2k requested a review from Copilot May 20, 2025 20:54
@ty2k ty2k self-assigned this May 20, 2025
@ty2k ty2k added the promotion For PRs that promote code from one environment to another label May 20, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the dev deployment and CI workflows to prepare for promoting the dev environment into a test environment, by adding an OpenShift image trigger and standardizing the GitHub Actions test/build pipelines.

  • Adds an ImageChange trigger to the dev deployment so it redeploys on new image tags
  • Introduces a default working directory and explicit build step in the test workflow
  • Replaces manual Docker build/push in the build workflow with a GHCR builder action

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.

File Description
graphemes-api/openshift/dev/deployment.yaml Added triggers block to automatically redeploy on image changes
.github/workflows/graphemes_api_test.yaml Added defaults for working directory and a build validation step
.github/workflows/graphemes_api_build.yaml Swapped manual Docker steps for bcgov-nr/action-builder-ghcr
Files not reviewed (1)
  • graphemes-api/package.json: Language not supported
Comments suppressed due to low confidence (1)

.github/workflows/graphemes_api_test.yaml:41

  • Consider adding a caching step (using actions/cache@v3 for ~/.npm) before installing dependencies to reuse node_modules and reduce CI runtime.
run: npm install

- graphemes-api
from:
kind: ImageStreamTag
name: graphemes-api:dev
Copy link

Copilot AI May 20, 2025

Choose a reason for hiding this comment

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

The deployment trigger is watching an internal ImageStreamTag, but your new build pipeline pushes images to GHCR. Without a mirror or import step into OpenShift, the trigger won’t fire. Consider either pushing into the ImageStreamTag or adding an oc import-image step after publishing to GHCR.

Copilot uses AI. Check for mistakes.
@ty2k ty2k merged commit 72d6942 into test May 20, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

promotion For PRs that promote code from one environment to another

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant