Skip to content
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

Misc fix #936

Merged
merged 2 commits into from
Feb 9, 2024
Merged

Misc fix #936

merged 2 commits into from
Feb 9, 2024

Conversation

Roming22
Copy link
Contributor

@Roming22 Roming22 commented Feb 8, 2024

  • Do not run test.sh in debug mode by default.
  • Run test.sh in debug mode in the CI
  • Auto-formatting of modified shell scripts (you can turn off whitespace diff in the files view to make the review easier)
  • Fix an issue that would make any change to the tekton-chains-signing-secret require a manual action for the change to be deployed. It is possible that to deploy this fix, the manual action of deleting the existing job might be required one last time.

Copy link
Collaborator

@gabemontero gabemontero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a question and very minor suggestion (which I won't argue strongly for if you don't like)

rh-pre-commit.version: 2.1.0
rh-pre-commit.check-secrets: ENABLED
rh-pre-commit.version: 2.1.0
rh-pre-commit.check-secrets: ENABLED
Copy link
Collaborator

@gabemontero gabemontero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

argocd comment helpful

See below - I'm still a little confused about how debug is turned on now, but maybe I am missing something

@@ -4,7 +4,6 @@
set -o errexit
set -o nounset
set -o pipefail
set -x
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK so I see where you turned off debug by default, but I don't see where the --debug arg is getting processed ... is that a default bash thing I'm missing ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This done in the parse_args function, around line 48/49.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah cool leveraging an existing arg whose impl was too far from the deltas of this PR for me to see ... thanks for the ptr

@Roming22
Copy link
Contributor Author

Roming22 commented Feb 9, 2024

/test test-pipeline-service-upgrade-ocp-414

@Roming22
Copy link
Contributor Author

Roming22 commented Feb 9, 2024

/test test-pipeline-service-deployment-ocp-414

Copy link
Collaborator

@gabemontero gabemontero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants