Skip to content

Fix missing secrets for publishing of onnxweekly #6321

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

Merged
merged 1 commit into from
Aug 26, 2024
Merged

Conversation

andife
Copy link
Member

@andife andife commented Aug 26, 2024

Description

After the release-pipeline upgrade (#6277)
the publishing the weekly does not work any more as the secrets are not available at the resuable workflows (
https://github.com/onnx/onnx/actions/runs/10551283959/job/29228497156 )

Link for the option I used for the secrets:
https://github.blog/changelog/2022-05-03-github-actions-simplify-using-secrets-with-reusable-workflows

Motivation and Context

In my opinion, we no longer need these secrets at the end.

In the future, the publishing of the Onnx weekly builds will be solved via “trusted publishing” outside the individual OS release pipelines. This is already included in create_release.yml. Currently, the previous weeklys are published at pypi.org, in the test via trusted publishing at test.pypi.org

After a successful schedule test (next Monday), we could adjust the publishing. a) e.g. throw out the upload steps with twine and adjust the target of separate steps... b) or leave it as it is for now...

Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
@andife andife requested a review from a team as a code owner August 26, 2024 10:03
Copy link

codecov bot commented Aug 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.26%. Comparing base (83194ed) to head (af94cac).
Report is 92 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6321      +/-   ##
==========================================
+ Coverage   56.95%   57.26%   +0.30%     
==========================================
  Files         506      507       +1     
  Lines       30467    31354     +887     
  Branches     4592     4679      +87     
==========================================
+ Hits        17353    17954     +601     
- Misses      12285    12549     +264     
- Partials      829      851      +22     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@andife andife changed the title WIP: pass secrets to reusable workflows Fix missing secrets for publishing of onnxweekly Aug 26, 2024
@andife andife added this pull request to the merge queue Aug 26, 2024
Merged via the queue into onnx:main with commit 8171d36 Aug 26, 2024
39 checks passed
@andife andife deleted the fix_weekly branch August 26, 2024 14:20
linshokaku pushed a commit to linshokaku/onnx that referenced this pull request Oct 2, 2024
### Description
After the release-pipeline upgrade
(onnx#6277)
the publishing the weekly does not work any more as the secrets are not
available at the resuable workflows (
https://github.com/onnx/onnx/actions/runs/10551283959/job/29228497156 )

Link for the option I used for the secrets:

https://github.blog/changelog/2022-05-03-github-actions-simplify-using-secrets-with-reusable-workflows

### Motivation and Context

In my opinion, we no longer need these secrets at the end.

In the future, the publishing of the Onnx weekly builds will be solved
via “trusted publishing” outside the individual OS release pipelines.
This is already included in create_release.yml. Currently, the previous
weeklys are published at pypi.org, in the test via trusted publishing at
test.pypi.org

After a successful schedule test (next Monday), we could adjust the
publishing. a) e.g. throw out the upload steps with twine and adjust the
target of separate steps... b) or leave it as it is for now...

Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
Signed-off-by: Linsho Kaku <linsho@preferred.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants