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

Add support for local registry use to the local-dev tooling #894

Merged
merged 21 commits into from
Jul 25, 2023

Conversation

malancas
Copy link
Contributor

@malancas malancas commented Jul 14, 2023

Summary

Adds support for using the local Kind registry. This pull request also adds a new k8s-version flag. If supplied, this option determines which Kind image is used when creating the Kind cluster.

cc @hectorj2f @vaikas

Release Note

Documentation

Signed-off-by: Meredith Lancaster <malancas@github.com>
Signed-off-by: Meredith Lancaster <malancas@github.com>
Signed-off-by: Meredith Lancaster <malancas@github.com>
Signed-off-by: Meredith Lancaster <malancas@github.com>
Signed-off-by: Meredith Lancaster <malancas@github.com>
Signed-off-by: Meredith Lancaster <malancas@github.com>
Signed-off-by: Meredith Lancaster <malancas@github.com>
@codecov
Copy link

codecov bot commented Jul 14, 2023

Codecov Report

Merging #894 (4847634) into main (f962f46) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #894   +/-   ##
=======================================
  Coverage   54.66%   54.66%           
=======================================
  Files          44       44           
  Lines        4831     4831           
=======================================
  Hits         2641     2641           
  Misses       1975     1975           
  Partials      215      215           

Signed-off-by: Meredith Lancaster <malancas@github.com>
@malancas malancas changed the title Change local-dev tooling implementation to use a bash script, add support for local registry use Implement local-dev tooling with bash scripting, add support for local registry use Jul 14, 2023
@malancas malancas marked this pull request as ready for review July 14, 2023 19:17
hack/local-dev.sh Outdated Show resolved Hide resolved
hack/local-dev.sh Outdated Show resolved Hide resolved

for i in ${CONFIG_FILES[@]}
do
ko apply -f $i
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why don't you run make ko-apply instead ?

Signed-off-by: Meredith Lancaster <malancas@github.com>
Copy link
Member

@cpanato cpanato left a comment

Choose a reason for hiding this comment

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

Personally i think we should stay using go instead of bash

@hectorj2f
Copy link
Collaborator

I am okay with any approach as long as it is easy to mantain in a longer term.i don't have strong preferences here.

@malancas
Copy link
Contributor Author

Thanks for the feedback, I was able to implement more with the Go CLI. I'll push an update soon that includes it.

@cpanato
Copy link
Member

cpanato commented Jul 17, 2023

cool!

Signed-off-by: Meredith Lancaster <malancas@github.com>
Signed-off-by: Meredith Lancaster <malancas@github.com>
Signed-off-by: Meredith Lancaster <malancas@github.com>
@malancas malancas changed the title Implement local-dev tooling with bash scripting, add support for local registry use Add support for local registry use to the local-dev tooling Jul 17, 2023
Signed-off-by: Meredith Lancaster <malancas@github.com>
Signed-off-by: Meredith Lancaster <malancas@github.com>
Signed-off-by: Meredith Lancaster <malancas@github.com>
Signed-off-by: Meredith Lancaster <malancas@github.com>
Signed-off-by: Meredith Lancaster <malancas@github.com>
Signed-off-by: Meredith Lancaster <malancas@github.com>
cmd/local-dev/setup.go Outdated Show resolved Hide resolved
cmd/local-dev/setup.go Outdated Show resolved Hide resolved
Signed-off-by: Meredith Lancaster <malancas@github.com>
Signed-off-by: Meredith Lancaster <malancas@github.com>
Signed-off-by: Meredith Lancaster <malancas@github.com>
@malancas
Copy link
Contributor Author

thanks for the review @hectorj2f, would you mind merging the PR? I don't have access to merge it

@cpanato cpanato merged commit 42321f6 into sigstore:main Jul 25, 2023
76 checks passed
@github-actions github-actions bot added this to the v1 milestone Jul 25, 2023
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.

3 participants