-
Notifications
You must be signed in to change notification settings - Fork 280
move from 0.3.1 to 0.3.3 in the CI test #686
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
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jichenjc 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 |
Build failed.
|
Makefile
Outdated
@@ -316,16 +316,16 @@ create-cluster: $(KUSTOMIZE) $(ENVSUBST) ## Create a development Kubernetes clus | |||
mkdir ~/.cluster-api | |||
chmod +x $(CLUSTERCTL) | |||
# Create clusterctl.yaml to use local OpenStack provider | |||
mkdir -p ./out/infrastructure-openstack/v0.3.1 | |||
mkdir -p ./out/infrastructure-openstack/pr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does pr stand for? I think the reason I added it might have been because clusterctl expected it in this folder. But not sure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, my test showed that ,but I think v0.3.1 does not make sense now... at least need move to 0.3.2 or 0.3.3
checking the reason and dependency you mentioned above now..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup. Let's see what we need here :). I don't really know anymore where the dependency came from if there is one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI: CAPA uses next minor version: v0.7.0
https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/master/clusterctl-settings.json#L5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error: failed to get provider components for the "openstack" provider: failed to get repository client for the InfrastructureProvider with name openstack: error creating the local filesystem repository client: invalid version: "pr". Version must obey the syntax and semantics of the "Semantic Versioning" specification (http://semver.org/) and path format {basepath}/{provider-name}/{version}/{components.yaml}
this is the issue you mentioned @sbueringer
so we need switch to 0.3.3 and update it whenever we have a new version ...
Merge Failed. This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset. |
Build failed.
|
recheck |
Build failed.
|
recheck |
Build failed.
|
recheck |
Build succeeded.
|
@hidekazuna can you help to check this? Thanks |
Every time we release patch version, we will update this file. How about using 0.4.0 to avoid update so often? |
clusterctl need this version as previous comments mentioned, clusterctl will create from desired version (0.3.1 , 0.3.3 etc) |
0.4.0 is semver. master branch is for future version, so that it is not odd to be 0.4.0. Actually CAPA uses future version. |
no , 0.4.0 will not work , because clusterctl will load from docker registry and 0.4.0 not exist now |
Still I do not understand. CAPO image in CI is tagged with another tag, which is not v0.3.3. In my local environment, echo " minor: 3" >> ./out/infrastructure-openstack/$(CAPO_VERSION)/metadata.yaml must be echo " minor: 4" >> ./out/infrastructure-openstack/$(CAPO_VERSION)/metadata.yaml |
Error: failed to get provider components for the "openstack" provider: failed to get repository client for the InfrastructureProvider with name openstack: error creating the local filesystem repository client: invalid version: "pr". Version must obey the syntax and semantics of the "Semantic Versioning" specification (http://semver.org/) and path format {basepath}/{provider-name}/{version}/{components.yaml} and please check our CI 2020-12-10 08:47:40.622041 | ubuntu-bionic-large | Installing Provider="infrastructure-openstack" Version="0.3.3" TargetNamespace="capo-system" the 0.3.3 is comes from {version} above .. |
"pr" is not semver. 0.4.0 is semver. Check out "Semantic Versioning" specification
This is because you created 0.3.3 directory. If you create 0.4.0 directory, you will get the following like my local environment. ubuntu@capi:~/cluster-api-provider-openstack$ clusterctl init --infrastructure openstack --core cluster-api:v${CAPI_VERSION} --bootstrap kubeadm:v${CAPI_VERSION} --control-plane kubeadm:v${CAPI_VERSION}
Fetching providers
Installing cert-manager Version="v0.16.1"
Waiting for cert-manager to be available...
Installing Provider="cluster-api" Version="v0.3.11" TargetNamespace="capi-system"
Installing Provider="bootstrap-kubeadm" Version="v0.3.11" TargetNamespace="capi-kubeadm-bootstrap-system"
Installing Provider="control-plane-kubeadm" Version="v0.3.11" TargetNamespace="capi-kubeadm-control-plane-system"
Installing Provider="infrastructure-openstack" Version="0.4.0" TargetNamespace="capo-system" |
Trying to save time 😃 #712 |
do we have 0.4 capo in hand? |
we load capo docker image into kind cluster: |
understand, so we should keep current 0.3.1 ? at least it looks weird and confusing when debug.. |
0.3.1 is already released. CI is for master, master is to develop 0.4.0. So I like 0.4.0. |
@hidekazuna updated just now ,thanks~ |
Makefile
Outdated
echo " contract: v1alpha3" >> ./out/infrastructure-openstack/v0.3.1/metadata.yaml | ||
echo "releaseSeries:" > ./out/infrastructure-openstack/$(CAPO_VERSION)/metadata.yaml | ||
echo "- major: 0" >> ./out/infrastructure-openstack/$(CAPO_VERSION)/metadata.yaml | ||
echo " minor: 3" >> ./out/infrastructure-openstack/$(CAPO_VERSION)/metadata.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to update to 4.
/lgtm just fyi. cluster-api released 0.3.12 today: https://github.com/kubernetes-sigs/cluster-api/releases/tag/v0.3.12 |
/hold feel free to /hold cancel when you want to merge |
cluster api 0.3.12 is something we might catch up later on (will take a look later on) /hold cancel |
/hold cancel |
What this PR does / why we need it:
the v0.3.1 is confusing ,we should update to latest version
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Release note: