Skip to content

refactor(RELEASE-2480): convert collect-registry-token-secret to python#2340

Draft
happybhati wants to merge 1 commit into
konflux-ci:developmentfrom
happybhati:RELEASE-2480-collect-registry-token-secret-standalone-script
Draft

refactor(RELEASE-2480): convert collect-registry-token-secret to python#2340
happybhati wants to merge 1 commit into
konflux-ci:developmentfrom
happybhati:RELEASE-2480-collect-registry-token-secret-standalone-script

Conversation

@happybhati

Copy link
Copy Markdown
Contributor

Describe your changes

This commit replaces the inline bash script for the collect-registry-token-secret
managed task with a standalone python script contained in the utils image.
The tekton unit tests are updated accordingly. We only keep one happy path
test as the other scenarios are covered by pytest in the utils repo.

Depends on (merge first): konflux-ci/release-service-utils#860

TODO before merge: Update the image: digest in collect-registry-token-secret.yaml

once the Konflux on-pr build for utils #860 is available, then /retest this PR.
After utils merges, bump to quay.io/konflux-ci/release-service-utils@sha256:<main-digest>

Assisted-by: Cursor

Relevant Jira

RELEASE-2480

Checklist before requesting a review

  • I have marked as draft or added do not merge label if there's a dependency PR
    • If you want reviews on your draft PR, you can add reviewers or add the release-service-maintainers handle if you are unsure who to tag
  • My commit message includes Signed-off-by: My name <email>
  • I read CONTRIBUTING.MD and commit formatting
  • I have run the README.md generator script in .github/scripts/readme_generator.sh and verified the results using .github/scripts/check_readme.sh
  • If an AI agent was used, I marked that via a commit footer like Assisted-By: Cursor

Replaces inline bash in collect-secret step with the standalone python
script from release-service-utils. One happy-path Tekton test; fail
scenarios covered by pytest in utils.

Assisted-by: Cursor
Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant