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

Remove usage of deprecated CDI API. #104

Merged
merged 2 commits into from
Jul 2, 2021

Conversation

manovotn
Copy link
Contributor

@manovotn manovotn commented Jun 9, 2021

Fixes #103

Latest CDI API (4.0.0.Alpha1) removed some long deprecated API.
Therefore, using this container will cause a failure with NoSuchMethod - spotted as part of weld/core#2383

Not to be merged until there is a release of Arq. core that contains arquillian/arquillian-core#339

@manovotn manovotn added the hold Do not merge label Jun 9, 2021
@manovotn manovotn marked this pull request as ready for review June 23, 2021 08:22
@manovotn
Copy link
Contributor Author

Since Travis is deprecated, I have also added the GH Actions template to this PR but apparently it won't trigger any runs until the file has been merged into master. The build itself works locally so I expect no issue with that.

@manovotn
Copy link
Contributor Author

@starksm64 @bartoszmajsak I could use a review here and eventually a release on this project :)

@@ -0,0 +1,34 @@
name: Arquillian Weld Container CI
Copy link
Member

@bartoszmajsak bartoszmajsak Jun 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any particular reason for GH action vs Circle CI? It's good to see .travis.yml problem being solved [1], I just wonder if we should strive for having a unified CI view and maintenance for the whole org (with the downside being shared quotas for example) or leave freedom to choose for every project.

[1] on a personal level I'm a bit sad about what happened to this milestone in CI space after acquisition though :(

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, I didn't even think about it. I used GH actions throughout Weld projects so I automatically added it here as well.

I am only familiar with Travis (whose free version was a joke last time I checked) and with GH Actions which has fairly astonishing throughput and limits for free usage. So I am biased towards GH actions :-)
I don't know CircleCI and what ups/downs it has but if you prefer it, I can change it - your call.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked the how-to setup for CircleCI but it seems it requires admin to set it up on their website which I cannot do either way. But maybe there is another way I missed.

@bartoszmajsak let me know how you want to proceed - if you are fine with GH actions, I think we can merge it as-is. If you want CircleCI, I can withdraw GH actions changes from this PR.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can stick with it if that works for you. Gonna push the release buttons today :)

Copy link
Member

@bartoszmajsak bartoszmajsak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - just one question with regards to CI

@manovotn manovotn removed the hold Do not merge label Jun 23, 2021
@bartoszmajsak bartoszmajsak merged commit 9d545d9 into arquillian:master Jul 2, 2021
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.

Usage of deprecated methods from CDI API
2 participants