Skip to content
This repository has been 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.

.changelog/1395.txt Outdated Show resolved Hide resolved
Base automatically changed from feature/config-internal to main April 29, 2021 22:35
@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
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 😅

internal/appconfig/watcher.go Outdated Show resolved Hide resolved
internal/appconfig/watcher.go Outdated Show resolved Hide resolved
internal/ceb/app_config_test.go Show resolved Hide resolved
internal/ceb/config.go Outdated Show resolved Hide resolved
internal/config/app_config_sort.go Show resolved Hide resolved
internal/config/app_config.go Outdated Show resolved Hide resolved
internal/ceb/config.go Show resolved Hide resolved
@@ -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

internal/server/proto/server.proto Outdated Show resolved Hide resolved
internal/server/singleprocess/state/metadata.go Outdated Show resolved Hide resolved
internal/ceb/foo.txt Outdated Show resolved Hide resolved
internal/appconfig/watcher.go Outdated Show resolved Hide resolved
internal/appconfig/watcher.go Outdated Show resolved Hide resolved
internal/appconfig/watcher.go Show resolved Hide resolved
internal/appconfig/watcher.go Outdated Show resolved Hide resolved
internal/ceb/app_config_test.go Show resolved Hide resolved
internal/server/proto/server.proto Show resolved Hide resolved
internal/server/proto/server.proto Outdated Show resolved Hide resolved
internal/server/proto/server.proto Outdated Show resolved Hide resolved
Co-authored-by: Rae Krantz <8461333+krantzinator@users.noreply.github.com>
internal/server/proto/server.proto Outdated Show resolved Hide resolved
internal/server/singleprocess/state/metadata.go Outdated Show resolved Hide resolved
internal/server/singleprocess/state/metadata_test.go Outdated Show resolved Hide resolved
@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