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 unmaintained CI images and update release workflow #3147

Merged
merged 2 commits into from
Apr 16, 2021
Merged

Conversation

oxy
Copy link

@oxy oxy commented Apr 16, 2021

⚠️ This needs to be merged before we make a release!

ci/images/debian10 was removed in a previous PR, but we still used it in our publish flow... this should fix that, and also update our documentation to stop referring to those images.

Closes #3142.

@oxy oxy requested a review from a team as a code owner April 16, 2021 15:42
Copy link
Contributor

@jsjoeio jsjoeio left a comment

Choose a reason for hiding this comment

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

Thanks for picking this up so quickly!

Sorry for deleting that without realizing we used it here 😅

Two comments! But overall looks great!

.github/workflows/publish.yaml Show resolved Hide resolved
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
name: npm-package
Copy link
Contributor

Choose a reason for hiding this comment

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

What is this name environment variable used for? (Just curious)

Copy link
Author

@oxy oxy left a comment

Choose a reason for hiding this comment

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

I can't request changes on my own PR so don't merge yet, I reviewed it myself and caught something 😅

Comment on lines 17 to 20
- name: Download npm package
uses: actions/download-artifact@v2
with:
args: ./ci/steps/publish-npm.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
name: npm-package
Copy link
Author

Choose a reason for hiding this comment

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

Took a second look and need to fix this; npm-package is produced by the ci.yaml workflow, we need to fetch it from there, this won't work.

@jsjoeio jsjoeio added this to the v3.9.4 milestone Apr 16, 2021
@oxy oxy force-pushed the remove-ci-images branch from aa97f5c to 7bde382 Compare April 16, 2021 18:30
@jsjoeio jsjoeio marked this pull request as draft April 16, 2021 19:12
@jsjoeio jsjoeio marked this pull request as ready for review April 16, 2021 19:13
@jsjoeio jsjoeio marked this pull request as draft April 16, 2021 19:13
@oxy oxy marked this pull request as ready for review April 16, 2021 19:30
Copy link
Contributor

@jsjoeio jsjoeio left a comment

Choose a reason for hiding this comment

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

LGTM!

@oxy oxy merged commit cbc2e8b into main Apr 16, 2021
@oxy oxy deleted the remove-ci-images branch April 16, 2021 19:47
@jsjoeio jsjoeio added the chore Related to maintenance or clean up label May 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Related to maintenance or clean up
Projects
None yet
Development

Successfully merging this pull request may close these issues.

使用Docker run.sh时报错,请求的nfpm@v2.3.1是不存在的。
2 participants