-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Need for urgent changes in GitHub Actions automation #448
Comments
Hey @derberg, i would love to work on this 😄 |
We already have the required topics, I think we need to clean the package.json according to asyncapi/.github#205, @Ruchip16 you can go ahead with this. |
@Ruchip16 do you need any help with this? |
You can follow asyncapi/.github#205 to clean the package.json file. |
but the package.json file is also already cleaned up in this PR as suggested here: asyncapi/.github#205, I cant see anything that's remaining, can you check once? |
Yeah, @Ruchip16 this has been fixed, sorry for the confusion since this issue was not mentioned in the PR we had no idea that this was fixed. |
cool, if there is nothing to work upon lets close this issue ? |
This issue defines a list of tasks that need to be performed in this repo to make sure it's ci/cd automation works long term without any issues.
It is up to maintainers to decide if it must be addressed in one or multiple PRs.
Below are 3 different sections describing 3 different important ci/cd changes.
IMPORTANT-START
For GitHub workflows that contain
This workflow is centrally managed in https://github.com/asyncapi/.github/
you do not have to perform any work. These workflows were already updated through the update in.github
. The only exception is the workflows related to nodejs release. More details in Upgrade Release pipeline - in case of nodejs projects sectionIMPORTANT-END
Deprecation of way data is shared between steps
Every single GitHub Action workflow that has
echo "::set-output name={name}::{value}"
need to be updated to followecho "{name}={value}" >> $GITHUB_OUTPUT
We do not yet know when
set-output
will stop working. Previous disable date was 31.05 but now then say community needs more time.For more details read official article from GitHub
Deprecation of node12
v3
version of this action, and make sure minimum node 14 is usednode12
is that node-based GitHub Actions were using it in majority as a runtime environment. Look for example at this action.yaml file for setup-node action v2. So the job that you have to do is go through all the workflows, and verify every single action that you use, make sure you are using the latest version that is not based onnode12
. I already did review a lot of actions as part of this PR so maybe you will find some actions there and can copy from me. For exampleaction/checkout
needs to be updated to v3.Node12 end of support in action is probably September 27th.
For more details read official article from GitHub
Upgrade Release pipeline - in case of nodejs projects
You have 2 options. You can:
A. choose to switch to new release pipeline using instruction from asyncapi/.github#205
B. stay with old release pipeline, and manually update GitHub workflows and actions used in it, you can inspire a lot from this PR asyncapi/.github#226
I definitely recommend going with A
Workflows related to release:
The text was updated successfully, but these errors were encountered: