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

install.sh: set vars from files only if needed #300

Conversation

chmeliik
Copy link
Member

@chmeliik chmeliik commented Nov 7, 2024

For my RHTAP development workflow, I want to disable some features and leave the related environment variables unset. Currently, I can't do that because the install script will try to read the values for those variables from files in /usr/local/rhtap-cli-install.

Change the script to read from /usr/local/rhtap-cli-install only if the variable is unset AND the corresponding feature is enabled.

For my RHTAP development workflow, I want to disable some features and
leave the related environment variables unset. Currently, I can't do
that because the install script will try to read the values for those
variables from files in /usr/local/rhtap-cli-install.

Change the script to read from /usr/local/rhtap-cli-install only if the
variable is unset AND the corresponding feature is enabled.

Signed-off-by: Adam Cmiel <acmiel@redhat.com>
@chmeliik chmeliik force-pushed the more-flexible-installscript branch from b0b5249 to 07b0a7f Compare November 8, 2024 12:07
@chmeliik
Copy link
Member Author

chmeliik commented Nov 8, 2024

/retest

4 similar comments
@xinredhat
Copy link
Member

/retest

@Roming22
Copy link
Member

/retest

@xinredhat
Copy link
Member

/retest

@Roming22
Copy link
Member

/retest

@chmeliik
Copy link
Member Author

Looks like all the tests finally passed 🎉

@xinredhat
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot removed the lgtm label Nov 29, 2024
@xinredhat
Copy link
Member

/retest

@xinredhat
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Dec 3, 2024
@otaviof otaviof self-assigned this Dec 3, 2024
Copy link

openshift-ci bot commented Dec 9, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chmeliik, Roming22

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved label Dec 9, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 9d9e568 into redhat-appstudio:main Dec 9, 2024
9 checks passed
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.

4 participants