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

chore: remove deprecated code in pre 1.6 releases #2932

Merged
merged 18 commits into from
Mar 1, 2022

Conversation

squakez
Copy link
Contributor

@squakez squakez commented Jan 24, 2022

Closes #2751

Release Note

chore: remove deprecated code in pre 1.6 releases

@squakez
Copy link
Contributor Author

squakez commented Feb 4, 2022

Just figured out that, for some reason, when we update the kamelet definition, then, both .flow and .template will be left, causing the failure. Likely the same as openshift-integration/kamelet-catalog#223 (comment)

@squakez
Copy link
Contributor Author

squakez commented Feb 4, 2022

Issue reported in #2988

@squakez squakez force-pushed the chore/2751_remove_deprecated branch from ba615cb to 6eab32f Compare February 8, 2022 11:54
@squakez
Copy link
Contributor Author

squakez commented Feb 9, 2022

Hey @christophd, I think the Yaks test is failing because there is some adjustment to make on Yaks configuration to be able to marshal Kamelets with .spec.template instead .spec.flow. Can you please have a look?

@squakez squakez force-pushed the chore/2751_remove_deprecated branch from a2ea109 to 6a6b1d9 Compare February 9, 2022 14:55
@christophd
Copy link
Contributor

@squakez thanks for taking care of it already

@squakez
Copy link
Contributor Author

squakez commented Feb 10, 2022

Hey @christophd do you mind having a look at the failing tests? It seems that the new Yaks version is not running as expected, as I see installation failures. Can you suggest is there is some additional change to perform to move to the new version?

@christophd
Copy link
Contributor

@squakez yep, I will take a look

@squakez
Copy link
Contributor Author

squakez commented Feb 15, 2022

Hey @christophd, I think I know what's going on. So, I tried to replicate this locally and the problem is that we have no 0.9.0-SNAPSHOT image available, which is what the nightly CLI (YAKS 0.9.0-202202081029) would expect to install:

2m41s       Normal    BackOff             pod/yaks-operator-66bdff6848-9d8fl    Back-off pulling image "docker.io/citrusframework/yaks:0.9.0-SNAPSHOT"

I understand that we won't be able to have those tests valid until we have Yaks 0.9.0 available. Do you have any plan to release that version shortly? otherwise we can ignore for now this test in order to proceed with the release. What do you suggest?

@christophd
Copy link
Contributor

@squakez but that is why we are using pinned snapshot version that is released via nightly build. let me check the YAKS installation command in the workflow.

@squakez
Copy link
Contributor Author

squakez commented Feb 15, 2022

@squakez but that is why we are using pinned snapshot version that is released via nightly build. let me check the YAKS installation command in the workflow.

I know, but it would be okey if we only use the CLI. The operator installation (yaks install) procedure, likely fallback to a -SNAPSHOT suffix which does not exist because it was not officially released. I understand we only release stable images in Yaks as well.

@christophd
Copy link
Contributor

Updated my PRs with --operator-image option on the YAKS install command. I think this is a workaround. The pinned snapshot pre-release YAKS binary must not use -SNAPSHOT operator image version when doing a yaks install. This is a bug in the pre-release binaries.

@christophd
Copy link
Contributor

YAKS install issue tracked in citrusframework/yaks#392

@christophd
Copy link
Contributor

@squakez I have fixed the YAKS installation issues and opened a PR on your branch: squakez#10

if you pull the changes we should see this fixed here, too

@squakez squakez force-pushed the chore/2751_remove_deprecated branch 2 times, most recently from 7fb227f to b1f08cc Compare February 22, 2022 09:07
@squakez
Copy link
Contributor Author

squakez commented Feb 24, 2022

I think we're almost done with this. There is one last error with Yaks test. I am not able to understand why it is failing. @christophd do you mind having an expert look?

@squakez squakez force-pushed the chore/2751_remove_deprecated branch from ef9c1f4 to 7b16c3a Compare March 1, 2022 12:09
@squakez squakez merged commit 6719484 into apache:main Mar 1, 2022
@squakez squakez deleted the chore/2751_remove_deprecated branch March 1, 2022 14:33
@squakez
Copy link
Contributor Author

squakez commented Mar 1, 2022

Test failure related to #3055

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.

Remove deprecated code
5 participants