Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Conversation

@cprivitere
Copy link
Contributor

What this PR does / why we need it:
The upgrade tests use version 1.1.99 (.01 less than the next big upstream version) to represent an image with the latest source code files. This PR fixes the clusterctl-settings.json file to specifically tell clusterctl that this version exists. This file is managed in a python script in upstream cluster-api and we should probably do the same here.

We're going to add an env override for useragent
tracking for things like this in the future. The ldflags
method was causing problems.
Also moving the built in client and ua formatting
back to constants.

Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
Use packet client instead of packngo.client

Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
and clientUAFormat as vars.

Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
dev version number

Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jul 25, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cprivitere

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot requested review from deitch and displague July 25, 2022 21:33
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jul 25, 2022
@cprivitere
Copy link
Contributor Author

/rebase

@cprivitere cprivitere merged commit 83b6260 into kubernetes-retired:main Jul 26, 2022
@cprivitere cprivitere deleted the fix-upgrade-tests branch July 26, 2022 16:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants