-
-
Notifications
You must be signed in to change notification settings - Fork 163
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: assets release using oclif #501
Conversation
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.
Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
Signed-off-by: CyberHippo <[email protected]>
5d80453
to
08d2da0
Compare
Thanks for the PR @CyberHippo. Can you please have a look at the conflicts you have there, and also failing tests. Also, one more small stuff, please do not update CLI version in package files, these happen automatically on release |
Signed-off-by: CyberHippo <[email protected]>
@derberg I fixed the conflicts and removed the version bump. The tests are passing locally. I did not upgrade |
Tests are failing https://github.com/asyncapi/cli/actions/runs/4607360398/jobs/8146614119 not because of tests but because there is an issue with My only idea is:
🤞🏼 |
@derberg I suspect that the tests are failing because I generated a
Since Node 14 will be EOL on the 2023-04-30 I added an additional commit to update the runtime of current Github Actions to Node 18. I think that this may be best for the stability of the workflows. I could also regenerate a I noticed in the "PR testing - if Node project" workflow logs that the previous stage
|
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.
Unfortunately for majority of workflows you will have to revert your changes. Sorry about that. You can identify these by looking at the first line of the workflow
# This action is centrally managed in https://github.com/asyncapi/.github/
So for workflows like homebrew, or upload release, your changes are fine. For the rest, you need to revert as they need to come from our central repository. Have a look at asyncapi/.github#224 (review). We have over 50 repos here in AsyncAPI org so many workflows we maintain centrally and them bot push them out. Example: #490
Signed-off-by: CyberHippo <[email protected]>
cd47e00
to
fd98ed1
Compare
@derberg My bad, I went too fast finding and replacing deprecated workflows. I reverted the changes to the centrally managed workflows. Should I wait for asyncapi/.github#226 to be merged since the failing workflow is centrally managed and keep the v2 lockfile ? |
we might do the trick that you change here this one global pr testing workflow to enable this PR to be merge. And once my PR is merged, all will be set back to track |
this is the most important PR we are waiting for asyncapi/.github#187 |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@derberg I just updated the global PR testing workflow to run on Node 18 again. Let's see if the installation error persists. |
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.
@Souvikns all good from my side to merge, but just want to make sure you are ok with switch away from souvikns-oclif
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.
I see changes were made to .github/workflows, won't they get replaced by https://github.com/asyncapi/.github
@Souvikns yes they will, but it is not a problem as we are now doing some stuff with global workflows anyway, and these will "overwrite" but not change stuff. What I mean is that what @CyberHippo changed is be replaced by "the same" but coming from global, later in a week or two. |
/rtm |
@allcontributors please add @CyberHippo for code,infra |
I've put up a pull request to add @CyberHippo! 🎉 |
not yet released because of #514 |
🎉 This PR is included in version 0.37.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@CyberHippo I think it did not work in case of macos. So pipelines are now green but macos distro pipeline shows below when trying to upload to GH release:
not sure if something changes with generated package name an you mind having a look? |
all the rest for linux is here https://github.com/asyncapi/cli/releases/tag/v0.37.2 |
Description
Update
oclif
dependencies to benefit from oclif/oclif#987 which is missing fromsouvikns-oclif
leading to permissions errors.Details
oclif
npm package instead ofsouvikns-oclif
oclif
dependenciesoclif pack
commandsRelated issue(s)