Skip to content

Switch to Upbound DevEx#72

Merged
ytsarev merged 2 commits intoupbound:mainfrom
ytsarev:devex
Jun 20, 2025
Merged

Switch to Upbound DevEx#72
ytsarev merged 2 commits intoupbound:mainfrom
ytsarev:devex

Conversation

@ytsarev
Copy link
Copy Markdown
Member

@ytsarev ytsarev commented Jun 20, 2025

Description of your changes

  • Migrated from traditional Crossplane configuration with patch-and-transform functions to modern Upbound DevEx approach
  • Converted composition to pipeline-mode with embedded KCL functions for Flux GitOps deployment
  • Added comprehensive testing infrastructure with composition and e2e tests

I have:

  • Read and followed Upbound's contribution process.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR, as appropriate.

How has this code been tested

Composition tests

up test run tests/*
  ✓   Parsing tests
  ✓   Checking dependencies
  ✓   Generating language schemas
  ✓   Building functions
  ✓   Building configuration package
  ✓   Pushing embedded functions to local daemon
  ✓   Assert flux-test
SUCCESS:
SUCCESS: Tests Summary:
SUCCESS: ------------------
SUCCESS: Total Tests Executed: 1
SUCCESS: Passed tests:         1
SUCCESS: Failed tests:         0

e2e tests

 up test run tests/* --e2e
        === COMMAND
        /bin/sh -c ${KUBECTL} wait --for=delete xflux.gitops.platform.upbound.io/test-flux-instance --timeout 1h15m0s
    | 17:57:39 | delete | Assert Deletion  | SCRIPT    | DONE  |
    | 17:57:39 | delete | Assert Deletion  | TRY       | END   |
    | 17:57:39 | delete | @chainsaw        | CLEANUP   | SKIP  |
=== NAME  chainsaw
    | 17:57:39 | chainsaw | @chainsaw | CLEANUP   | SKIP  |
--- PASS: chainsaw (0.00s)
    --- PASS: chainsaw/delete (3.47s)
PASS
2025/06/20 17:57:39 Tests Summary:
2025/06/20 17:57:39 - Passed: 1
2025/06/20 17:57:39 - Failed: 0
2025/06/20 17:57:39 - Skipped: 0
SUCCESS:
SUCCESS: Tests Summary:
SUCCESS: ------------------
SUCCESS: Total Tests Executed: 1
SUCCESS: Passed tests:         1
SUCCESS: Failed tests:         0

ytsarev added 2 commits June 20, 2025 15:04
Signed-off-by: Yury Tsarev <yury@upbound.io>
Signed-off-by: Yury Tsarev <yury@upbound.io>
@ytsarev ytsarev requested a review from a team as a code owner June 20, 2025 16:07
Copy link
Copy Markdown
Collaborator

@kaessert kaessert left a comment

Choose a reason for hiding this comment

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

LGTM!

@ytsarev ytsarev merged commit 07a3ac4 into upbound:main Jun 20, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants