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

Allow users to generate thoth configuration during the build process #190

Merged
merged 1 commit into from
Jul 1, 2021

Conversation

fridex
Copy link
Contributor

@fridex fridex commented Jun 3, 2021

Related Issues and Dependencies

Related: #189

This introduces a breaking change

  • No

@fridex fridex requested review from goern and sesheta as code owners June 3, 2021 20:59
@sesheta sesheta requested review from KPostOffice and pacospace June 3, 2021 20:59
@sesheta sesheta added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jun 3, 2021
@fridex
Copy link
Contributor Author

fridex commented Jun 3, 2021

I will open the flag for disabling all the thoth in a separate PR.

README.rst Outdated
@@ -47,6 +47,7 @@ Configuration options for Thoth's s2i image:

* ``THOTH_ADVISE`` - always use the recommended stack by Thoth (even if the lock file is present in the repo)
* ``THOTH_CONFIG_CHECK`` - verify values stated in the configuration file match the build environment
* ``THOTH_GENERATE_CONFIG`` - generate configuration file during the build process, overwrites already existing configuration file if present
Copy link
Member

Choose a reason for hiding this comment

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

this feels more like THOTH_FORCE_GENERATION_OF_CONFIG shall we make the overwrite more explicit to the user?

@goern
Copy link
Member

goern commented Jun 28, 2021

What is the status of this?

@fridex fridex force-pushed the generate-config branch from c95b592 to 238072a Compare June 29, 2021 07:40
@fridex
Copy link
Contributor Author

fridex commented Jul 1, 2021

/approve

@sesheta
Copy link
Member

sesheta commented Jul 1, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fridex, KPostOffice

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

@sesheta sesheta added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 1, 2021
@sesheta sesheta merged commit 43d33de into thoth-station:master Jul 1, 2021
@fridex fridex deleted the generate-config branch July 1, 2021 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants