Skip to content

Update e2e test image tags from pinned versions to :latest#4591

Merged
liamfallon merged 1 commit into
kptdev:mainfrom
Nordix:e2e-update-fn-image-tags-to-latest
Jun 16, 2026
Merged

Update e2e test image tags from pinned versions to :latest#4591
liamfallon merged 1 commit into
kptdev:mainfrom
Nordix:e2e-update-fn-image-tags-to-latest

Conversation

@aravindtga

Copy link
Copy Markdown
Contributor

Description

  • What changed: Updated e2e test cases referencing bar:v0.1, foo:v0.1, printenv:v0.1, and drop-comments:v0.1 to use :latest.
  • Why it's needed: These images now have a latest tag published in ghcr.io/kptdev/krm-functions-catalog. Aligning to :latest keeps the test suite consistent and avoids depending on old pinned versions.
  • How it works: Replaced :v0.1 with :latest in Kptfiles, config files, setup scripts, exec scripts, and expected diff patches.

Related Issue(s)

Type of Change

  • Tests
  • Enhancement

Checklist

  • Code follows project style guidelines
  • Self-reviewed changes
  • Tests added/updated
  • Documentation added/updated
  • All tests and gating checks pass

AI Disclosure

  • I have used AI in the creation of this PR.

If so, please describe how:
- Kiro to identify all affected files and perform the replacements.

@netlify

netlify Bot commented Jun 16, 2026

Copy link
Copy Markdown

Deploy Preview for kptdocs ready!

Name Link
🔨 Latest commit 7909864
🔍 Latest deploy log https://app.netlify.com/projects/kptdocs/deploys/6a315b148c149c0008a8a343
😎 Deploy Preview https://deploy-preview-4591--kptdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@aravindtga aravindtga requested a review from Copilot June 16, 2026 13:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates function image references in kpt e2e fixtures from pinned v0.1 tags to :latest and refreshes expected outputs/scripts accordingly.

Changes:

  • Switch Kptfile/function image references (render/eval testdata) from v0.1 to latest
  • Update expected output artifacts (.expected/*) to match new image tags
  • Refresh copyright headers in generated/expected scripts/configs

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
e2e/testdata/fn-render/preserve-comments/Kptfile Updates function image tag to :latest in render fixture
e2e/testdata/fn-render/preserve-comments/.expected/diff.patch Updates expected patch output to reflect :latest
e2e/testdata/fn-render/image-pull-policy-if-not-present/Kptfile Updates fixture to use foo:latest
e2e/testdata/fn-render/image-pull-policy-if-not-present/.expected/setup.sh Updates expected setup script image tags + header year
e2e/testdata/fn-render/image-pull-policy-always/Kptfile Updates fixture to use foo:latest
e2e/testdata/fn-render/image-pull-policy-always/.expected/setup.sh Updates expected setup script image tags + header year
e2e/testdata/fn-eval/preserve-comments/.expected/config.yaml Updates expected config to use drop-comments:latest + header year
e2e/testdata/fn-eval/image-pull-policy-if-not-present/.expected/setup.sh Updates expected setup script image tags + header year
e2e/testdata/fn-eval/image-pull-policy-if-not-present/.expected/config.yaml Updates expected config to use bar:latest + header year
e2e/testdata/fn-eval/image-pull-policy-always/.expected/setup.sh Updates expected setup script image tags + header year
e2e/testdata/fn-eval/image-pull-policy-always/.expected/config.yaml Updates expected config to use foo:latest + header year
e2e/testdata/fn-eval/function-env/.expected/exec.sh Updates expected exec script image tag to printenv:latest + header year

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread e2e/testdata/fn-render/preserve-comments/Kptfile
Comment thread e2e/testdata/fn-render/image-pull-policy-if-not-present/.expected/setup.sh Outdated
Comment thread e2e/testdata/fn-render/image-pull-policy-always/.expected/setup.sh
Signed-off-by: Aravindhan Ayyanathan <aravindhan.a@est.tech>
@aravindtga aravindtga force-pushed the e2e-update-fn-image-tags-to-latest branch from e0cfbd1 to 7909864 Compare June 16, 2026 14:17
@aravindtga aravindtga self-assigned this Jun 16, 2026
@aravindtga aravindtga marked this pull request as ready for review June 16, 2026 14:22
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. Testing labels Jun 16, 2026
@dosubot dosubot Bot added the lgtm label Jun 16, 2026
@liamfallon liamfallon merged commit 76ae216 into kptdev:main Jun 16, 2026
12 checks passed
@efiacor efiacor deleted the e2e-update-fn-image-tags-to-latest branch June 16, 2026 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm size:XS This PR changes 0-9 lines, ignoring generated files. Testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

E2E tests don't work on the latest versions of kpt functions

4 participants