latest job artifacts as specified by name are not available. #34

Open
opened 2023-06-07 02:50:31 +00:00 by jon_nfc · 12 comments
jon_nfc commented 2023-06-07 02:50:31 +00:00 (Migrated from gitlab.com)

if the latest pipeline for a specified branch doesn't include a job, if you try to download via the API a 404 not found is returned. it appears, that the latest job artifact, by name. does not search for the latest pipeline with job.

work around is to ensure that any job that has required artifacts is always run on the branch, regardless if needed to be run or not. this solution requires that you waste CI/CD minutes. why?? if you only run a job on changes, the job may not run in the latest pipeline and therefore not be available if called.

due to this issue, jobs that require artifacts that are called via the https://gitlab.com/api/v4/projects/{project_id}/jobs/artifacts/development/download?job={job name} API endpoint need to be updated to ALWAYS RUN

this issue has also been report at gitlab-org/gitlab#331232

🚧 tasks

  • update CI jobs

    • Docs / Pages are effected
if the latest pipeline for a specified branch doesn't include a job, if you try to download via the API a 404 not found is returned. it appears, that the latest job artifact, by name. does not search for the latest pipeline with job. work around is to ensure that any job that has required artifacts is always run on the branch, regardless if needed to be run or not. this solution requires that you waste CI/CD minutes. why?? if you only run a job on changes, the job may not run in the latest pipeline and therefore not be available if called. due to this issue, jobs that require artifacts that are called via the `https://gitlab.com/api/v4/projects/{project_id}/jobs/artifacts/development/download?job={job name}` API endpoint need to be updated to **ALWAYS RUN** this issue has also been report at gitlab-org/gitlab#331232 ## :construction: tasks - [ ] update CI jobs - [ ] Docs / Pages are effected
jon_nfc commented 2023-06-07 02:50:43 +00:00 (Migrated from gitlab.com)

added 30m of time spent

added 30m of time spent
jon_nfc commented 2023-06-07 03:01:27 +00:00 (Migrated from gitlab.com)

changed the description

changed the description
jon_nfc commented 2023-06-07 03:07:38 +00:00 (Migrated from gitlab.com)

mentioned in merge request !52

mentioned in merge request !52
jon_nfc commented 2023-06-07 03:19:58 +00:00 (Migrated from gitlab.com)

mentioned in commit 7269b9167f8015cfcd7cac89fdf95276ecf71e7a

mentioned in commit 7269b9167f8015cfcd7cac89fdf95276ecf71e7a
jon_nfc commented 2023-06-07 03:21:14 +00:00 (Migrated from gitlab.com)

mentioned in commit 22dd4985be

mentioned in commit 22dd4985be315be95be55b2b4edff5ae4ba1eeb4
jon_nfc commented 2023-06-07 03:56:40 +00:00 (Migrated from gitlab.com)

mentioned in commit fb20ae875d

mentioned in commit fb20ae875dc5f3285e2263e136f227279efd1c99
jon_nfc commented 2023-06-07 04:10:11 +00:00 (Migrated from gitlab.com)

mentioned in commit 755fcac06e

mentioned in commit 755fcac06e9f265789b02a88eb90df35ab1dbf07
jon_nfc commented 2023-06-07 06:45:50 +00:00 (Migrated from gitlab.com)

mentioned in commit nofusscomputing/infrastructure/website@07ba60e64302bfe33ce40d1704e96cd48546a086

mentioned in commit nofusscomputing/infrastructure/website@07ba60e64302bfe33ce40d1704e96cd48546a086
jon_nfc commented 2023-06-07 06:46:20 +00:00 (Migrated from gitlab.com)

mentioned in merge request nofusscomputing/infrastructure/website!19

mentioned in merge request nofusscomputing/infrastructure/website!19
jon_nfc commented 2023-06-07 06:50:52 +00:00 (Migrated from gitlab.com)

mentioned in commit nofusscomputing/infrastructure/website@88635840065bb8a83d0545927add9968a4428aa7

mentioned in commit nofusscomputing/infrastructure/website@88635840065bb8a83d0545927add9968a4428aa7
jon_nfc commented 2023-06-07 06:51:23 +00:00 (Migrated from gitlab.com)

mentioned in merge request nofusscomputing/infrastructure/website!20

mentioned in merge request nofusscomputing/infrastructure/website!20
jon_nfc commented 2023-06-07 06:52:46 +00:00 (Migrated from gitlab.com)

mentioned in commit nofusscomputing/infrastructure/website@d5b5db5e0b865f36dbcd6fa36ca15504d1a99d8d

mentioned in commit nofusscomputing/infrastructure/website@d5b5db5e0b865f36dbcd6fa36ca15504d1a99d8d
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: infrastructure/gitlab-ci#34
No description provided.