Creating pipelines zip archive in docs CI on every push to a PR branch
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 88/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 静か
- 技術スタック
- github-actions
- 領域
- ci-cd, documentation
調査の方向性
.github/workflows/httomo_docs.yml から始め、43-45 行目および 56-60 行目のアーティファクト作成を、51 行目付近の docs のアップロード条件と併せて確認します。pipelines アーティファクトがリリースの場合にのみ作成されるように workflow の条件を調整し、その後、PR ブランチへの push ではそれがアップロードされず、リリース実行では引き続きアップロードされることを検証します。
索引モデルが issue の本文から書いたものです。
説明
I noticed that there's an artifact getting uploaded as part of the docs build CI even if the CI wasn't triggered by a tag push:
The artifact isn't very big (taken from https://github.com/DiamondLightSource/httomo/actions/runs/24771337928/job/72478300291?pr=708):
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Beginning upload of artifact content to blob storage
Uploaded bytes 16937
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact zip is 5e9dd090dcaad7c024f063b92dcd1c1b6e945ce80a57d2491132ba2461fd364a
Finalizing artifact upload
Artifact full_pipelines-artifact.zip successfully finalized. Artifact ID 6575004505
Artifact full_pipelines-artifact has been successfully uploaded! Final size is 16937 bytes. Artifact ID is 6575004505
Artifact download URL: https://github.com/DiamondLightSource/httomo/actions/runs/24771337928/artifacts/6575004505
but if this happens every time a push is done to a PR branch then this could accumulate, and I imagine it'd accumulate somewhere associated with the repo and it'll eventually reach a storage limit of some kind.
We probably want to only create this artifact for releases, which would be equivalent to something like the following condition used for the docs upload, just without the main part: https://github.com/DiamondLightSource/httomo/blob/899a43da8c63a1431d0804dcb48773be08b46710/.github/workflows/httomo_docs.yml#L51
- 主要言語
- Python
- スター
- 10
- フォーク
- 5
- 平均マージ
- 6分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DiamondLightSource/httomo のほかの issue
-
framework minor
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
DiamondLightSource/httomo#699 ·
-
documentation question
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
DiamondLightSource/httomo#697 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
DiamondLightSource/httomo#609 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
DiamondLightSource/httomo#607 ·
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
DiamondLightSource/httomo#585 ·
DiamondLightSource/httomo の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
webrecorder/warcio#209 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Jeffy123-zhu/logspecter#20 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信