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 upgrade tests #386

Merged
merged 5 commits into from
Jul 26, 2022
Merged

🐛 Fix upgrade tests #386

merged 5 commits into from
Jul 26, 2022

Conversation

cprivitere
Copy link
Member

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 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
Member Author

/rebase

@cprivitere cprivitere merged commit 83b6260 into kubernetes-sigs:main Jul 26, 2022
@cprivitere cprivitere deleted the fix-upgrade-tests branch July 26, 2022 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.

None yet

2 participants