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

PMM-13314 Add flag to control adding yum repo in initialization procedure #3164

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

konopka90
Copy link

PMM-13314

Link to the Feature Build: SUBMODULES-0

If this PR adds or removes or alters one or more API endpoints, please review and add or update the relevant API documents as well:

  • API Docs updated

If this PR is related to some other PRs in this or other repositories, please provide links to those PRs:

  • Links to related pull requests (optional).

@konopka90 konopka90 requested review from idoqo and JiriCtvrtka and removed request for a team August 20, 2024 14:08
@it-percona-cla
Copy link

it-percona-cla commented Aug 20, 2024

CLA assistant check
All committers have signed the CLA.

@BupycHuk
Copy link
Member

looks like a great idea, but I believe it should be read from environment variable, so it's easy to change value when you start container.

@konopka90
Copy link
Author

looks like a great idea, but I believe it should be read from environment variable, so it's easy to change value when you start container.

Thanks for a comment, I will update it

@konopka90
Copy link
Author

konopka90 commented Aug 22, 2024

I signed CLA but it still shows wrong status. Is it possible to fix it ?

edit:
Oh I messed up with my accounts

Copy link
Member

@ademidoff ademidoff left a comment

Choose a reason for hiding this comment

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

Generally, false seems to be more meaningful and semantic compared to undefined.

@@ -10,6 +10,8 @@
gpgcheck: yes
enabled: yes
gpgkey: file:///etc/pki/rpm-gpg/PERCONA-PACKAGING-KEY
when:
- lookup('env', 'DISABLE_REMOTE_YUM_REPOSITORY', default='undefined') == 'undefined'
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- lookup('env', 'DISABLE_REMOTE_YUM_REPOSITORY', default='undefined') == 'undefined'
- lookup('env', 'DISABLE_REMOTE_YUM_REPOSITORY', default='false') == 'false'

@@ -19,6 +21,8 @@
gpgcheck: yes
enabled: yes
gpgkey: file:///etc/pki/rpm-gpg/PERCONA-PACKAGING-KEY
when:
- lookup('env', 'DISABLE_REMOTE_YUM_REPOSITORY', default='undefined') == 'undefined'
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- lookup('env', 'DISABLE_REMOTE_YUM_REPOSITORY', default='undefined') == 'undefined'
- lookup('env', 'DISABLE_REMOTE_YUM_REPOSITORY', default='false') == 'false'

@@ -48,6 +52,8 @@
gpgcheck: yes
enabled: yes
gpgkey: file:///etc/pki/rpm-gpg/PERCONA-PACKAGING-KEY
when:
- lookup('env', 'DISABLE_REMOTE_YUM_REPOSITORY', default='undefined') == 'undefined'
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- lookup('env', 'DISABLE_REMOTE_YUM_REPOSITORY', default='undefined') == 'undefined'
- lookup('env', 'DISABLE_REMOTE_YUM_REPOSITORY', default='false') == 'false'

@@ -57,6 +63,8 @@
gpgcheck: yes
enabled: yes
gpgkey: file:///etc/pki/rpm-gpg/PERCONA-PACKAGING-KEY
when:
- lookup('env', 'DISABLE_REMOTE_YUM_REPOSITORY', default='undefined') == 'undefined'
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- lookup('env', 'DISABLE_REMOTE_YUM_REPOSITORY', default='undefined') == 'undefined'
- lookup('env', 'DISABLE_REMOTE_YUM_REPOSITORY', default='false') == 'false'

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.

5 participants