Conversation
|
This PR has been released (on staging) and is available for download with a embedded-cluster-smoke-test-staging-app license ID. Online Installer: Airgap Installer (may take a few minutes before the airgap bundle is built): Happy debugging! |
0fb5572 to
0d4af47
Compare
| build-install: | ||
| name: Build current | ||
| runs-on: ubuntu-latest | ||
| runs-on: embedded-cluster-2 |
There was a problem hiding this comment.
is this the large runner or the arm runner? if it's the large runner, it's expensive. any reason we need it?
| build-upgrade: | ||
| name: Build upgrade | ||
| runs-on: ubuntu-latest | ||
| runs-on: embedded-cluster-2 |
| ```bash | ||
| # Step 1: Build dependencies and export metadata | ||
| dagger call with-one-password --service-account=env:OP_SERVICE_ACCOUNT_TOKEN \ | ||
| build-deps metadata export --path=./output/artifacts.json |
There was a problem hiding this comment.
i think?
| build-deps metadata export --path=./output/artifacts.json | |
| build-deps metadata export --path=./output/deps.json |
|
|
||
| Uploads metadata to S3. | ||
|
|
||
| **Note:** This currently only uploads `metadata.json` due to Docker/crane/oras complexity in Dagger containers. |
There was a problem hiding this comment.
does this mean that make upgrade-release no longer works / uploads these binaries?
|
|
||
| // Set build environment variables | ||
| builder = m.BuildMetadata.withEnvVariables(builder). | ||
| WithEnvVariable("IMAGES_REGISTRY_SERVER", "ttl.sh") |
There was a problem hiding this comment.
hmm this (ttl.sh) might not work in the production ci pipeline as we publish the image to dockerhub currently. same for the LAM image
| } | ||
|
|
||
| // Build and publish operator image using APKO/Melange | ||
| m.BuildMetadata.OperatorImageRepo = "ttl.sh/" + ttlShUser + "/embedded-cluster-operator-image" |
There was a problem hiding this comment.
should use dockerhub for prod workflow (unless that's out of scope for now)
| } | ||
|
|
||
| // Publish operator Helm chart | ||
| chartRemote := "oci://ttl.sh/" + ttlShUser |
| } | ||
|
|
||
| // Build and publish local-artifact-mirror image | ||
| m.BuildMetadata.LAMImageRepo = "ttl.sh/" + ttlShUser + "/embedded-cluster-local-artifact-mirror" |
What this PR does / why we need it:
Moves the build and release pipeline to dagger for portability.
Which issue(s) this PR fixes:
Does this PR require a test?
Does this PR require a release note?
Does this PR require documentation?