Skip to content
This repository was archived by the owner on Jan 8, 2024. It is now read-only.

Add ability to write config into files #1395

Merged
merged 13 commits into from
May 5, 2021
Merged

Add ability to write config into files #1395

merged 13 commits into from
May 5, 2021

Conversation

evanphx
Copy link
Contributor

@evanphx evanphx commented Apr 28, 2021

This adds a file block to config {} which indicates paths and the contents to be stored at those paths within the application. This data is written by the entrypoint.

This is draft while we discuss how to expose the signal selector configuration.

@evanphx evanphx requested a review from a team April 28, 2021 22:25
@github-actions github-actions bot added the core label Apr 28, 2021
Base automatically changed from feature/config-internal to main April 29, 2021 22:35
@evanphx evanphx force-pushed the feature/config-files branch from e23ce6c to d91fedb Compare April 29, 2021 22:46
@evanphx evanphx marked this pull request as ready for review April 29, 2021 22:47
@evanphx evanphx requested a review from a team April 29, 2021 22:47
@evanphx evanphx force-pushed the feature/config-files branch from f9891cc to e39ec98 Compare April 29, 2021 23:18
@evanphx evanphx force-pushed the feature/config-files branch from 1b91383 to 03976d8 Compare April 30, 2021 22:34
Copy link
Contributor

@piotrromanowski piotrromanowski left a comment

Choose a reason for hiding this comment

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

I realize this is just a draft, but I figured I'd try my hand at contributing somehow to the waypoint project. Feel free to ignore 😅

@@ -2223,6 +2234,10 @@ message ConfigVar {
// It exists only to be referenced by other variables.
bool internal = 8;

// Indicates that this is actually be written as a file, with the name
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: confusing wording

@evanphx evanphx force-pushed the feature/config-files branch from b1bebdd to baa01fa Compare May 3, 2021 18:45
@evanphx evanphx requested a review from mitchellh May 3, 2021 18:47
@evanphx evanphx requested a review from mitchellh May 4, 2021 22:02
@evanphx evanphx merged commit 0d553b3 into main May 5, 2021
@evanphx evanphx deleted the feature/config-files branch May 5, 2021 19:28
@koesbong koesbong linked an issue May 5, 2021 that may be closed by this pull request
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ability to write config files in the entrypoint
5 participants