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

🐛 create command always checks GitHub for last release, even when OCI is wanted #159

Open
jschoone opened this issue Sep 26, 2024 · 0 comments
Assignees
Labels
Container Issues or pull requests relevant for Team 2: Container Infra and Tooling

Comments

@jschoone
Copy link
Contributor

/kind bug

What steps did you take and what happened:
[A clear and concise description of what the bug is.]

git clone https://github.com/SovereignCloudStack/cluster-stacks
git clone https://github.com/SovereignCloudStack/csctl
cd csctl
make build
./csctl create ../cluster-stacks/providers/openstack/scs

Got error Error: failed to create create options: failed to create new github client: failed to create git config: environment variable GIT_PROVIDER is not set which is correct in general, but I only want to use an OCI registry

What did you expect to happen:
When no GIT_* env vars are set, the csctl tool could check if there are OCI_* env vars available instead to check for the latest stable version there.
Alternatively or additionally and maybe even more stable could be a flag to set the target, since both GIT_* and OCI_* could be set.

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Environment:

  • csctl version: (use csctl version)
  • OS (e.g. from /etc/os-release):
@jschoone jschoone added the Container Issues or pull requests relevant for Team 2: Container Infra and Tooling label Sep 26, 2024
@DEiselt DEiselt self-assigned this Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Container Issues or pull requests relevant for Team 2: Container Infra and Tooling
Projects
Status: Backlog
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants