Skip to content

Commit

Permalink
fix(deprecated-image-check): remove unused result
Browse files Browse the repository at this point in the history
PYXIS_HTTP_CODE result is unused for long time

Signed-off-by: Martin Basti <[email protected]>
  • Loading branch information
MartinBasti committed Apr 29, 2024
1 parent 065fd1d commit 9636c0c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
11 changes: 11 additions & 0 deletions task/deprecated-image-check/0.4/MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@

New mandatory parameters are required in version 0.4: `IMAGE_URL` and `IMAGE_DIGEST`

Unused result `PYXIS_HTTP_CODE` has been removed in version 0.4.

## Action from users

### New parameters

Update files in Pull-Request created by Konflux bot:

- Search for the task named `deprecated-base-image-check`
Expand Down Expand Up @@ -38,3 +42,10 @@ AFTER:
- name: name
value: deprecated-image-check
```
### Removed result
Update files in Pull-Request created by RHTAP bot:
- Search for the result named `PYXIS_HTTP_CODE` (given the historical reasons 0 occurences may be found)
- Remove all occurences
1 change: 0 additions & 1 deletion task/deprecated-image-check/0.4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ in a high-level declarative language called Rego.

| name | description |
|-------------------|-------------------------------------------|
| PYXIS_HTTP_CODE | HTTP code returned by Pyxis API endpoint. |
| TEST_OUTPUT | Tekton task test output. |

## Source repository for image
Expand Down
2 changes: 0 additions & 2 deletions task/deprecated-image-check/0.4/deprecated-image-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ spec:
- name: IMAGE_DIGEST
description: Image digest.
results:
- name: PYXIS_HTTP_CODE
description: HTTP code returned by Pyxis API endpoint.
- description: Tekton task test output.
name: TEST_OUTPUT

Expand Down

0 comments on commit 9636c0c

Please sign in to comment.