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

fix: support registry override for dev deploy (yolo) #3064

Merged
merged 3 commits into from
Oct 22, 2024

Conversation

mjnagel
Copy link
Contributor

@mjnagel mjnagel commented Oct 3, 2024

Description

Adds a new hidden flag --registry-url which can be used on dev deploy (yolo only) to set the value to use for ZARF_REGISTRY.

Related Issue

Fixes #2713

Checklist before merging

@mjnagel mjnagel requested review from a team as code owners October 3, 2024 16:00
Copy link

netlify bot commented Oct 3, 2024

Deploy Preview for zarf-docs canceled.

Name Link
🔨 Latest commit f770d99
🔍 Latest deploy log https://app.netlify.com/sites/zarf-docs/deploys/6717c39d43332d00084705d9

@mjnagel mjnagel force-pushed the dev-deploy-registry branch from 5047594 to d893b60 Compare October 3, 2024 16:00
@mjnagel mjnagel changed the title fix: support registry override for dev-deploy yolo fix: support registry override for dev deploy (yolo) Oct 3, 2024
Comment on lines +60 to +61
stdOut, stdErr, err = e2e.Zarf(t, "tools", "kubectl", "delete", "namespace", "dos-games")
require.NoError(t, err, stdOut, stdErr)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I might just be crazy but I don't think package remove works on something that was dev deployed, so I switched this to just delete the namespace instead...

@mjnagel mjnagel force-pushed the dev-deploy-registry branch from 2164670 to 4b0ae4b Compare October 21, 2024 22:25
@mjnagel mjnagel force-pushed the dev-deploy-registry branch from 4b0ae4b to 9c3c0f5 Compare October 21, 2024 22:27
Copy link

codecov bot commented Oct 22, 2024

Codecov Report

Attention: Patch coverage is 0% with 24 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/pkg/packager/dev.go 0.00% 18 Missing ⚠️
src/cmd/dev.go 0.00% 6 Missing ⚠️
Files with missing lines Coverage Δ
src/cmd/dev.go 0.00% <0.00%> (ø)
src/pkg/packager/dev.go 0.00% <0.00%> (ø)

@schristoff schristoff added this pull request to the merge queue Oct 22, 2024
Merged via the queue into zarf-dev:main with commit ad480ac Oct 22, 2024
26 checks passed
Jneville0815 pushed a commit to radiusmethod/zarf that referenced this pull request Dec 12, 2024
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.

dev deploy with ###ZARF_REGISTRY### values in helm chart
2 participants