Skip to content

Commit

Permalink
Add application_config_filename field to DeploymentSource (#5277)
Browse files Browse the repository at this point in the history
* Add application_config_filename field to DeploymentSource

Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]>

* Update pkg/model/deployment_source.proto

Co-authored-by: Tetsuya Kikuchi <[email protected]>
Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]>

* Run make gen/code

Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]>

---------

Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]>
Co-authored-by: Tetsuya Kikuchi <[email protected]>
  • Loading branch information
Warashi and t-kikuc authored Oct 11, 2024
1 parent 4824dc2 commit 6072a15
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 3 deletions.
18 changes: 16 additions & 2 deletions pkg/model/deployment_source.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pkg/model/deployment_source.pb.validate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions pkg/model/deployment_source.proto
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,7 @@ message DeploymentSource {
string revision = 2;
// The configuration of the application which is specific for plugins.
bytes application_config = 3;
// The filename of the application configuration file.
// The plugins can use this to avoid mistakenly reading this file as a manifest.
string application_config_filename = 4;
}
4 changes: 4 additions & 0 deletions web/model/deployment_source_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ export class DeploymentSource extends jspb.Message {
getApplicationConfig_asB64(): string;
setApplicationConfig(value: Uint8Array | string): DeploymentSource;

getApplicationConfigFilename(): string;
setApplicationConfigFilename(value: string): DeploymentSource;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): DeploymentSource.AsObject;
static toObject(includeInstance: boolean, msg: DeploymentSource): DeploymentSource.AsObject;
Expand All @@ -27,6 +30,7 @@ export namespace DeploymentSource {
applicationDirectory: string,
revision: string,
applicationConfig: Uint8Array | string,
applicationConfigFilename: string,
}
}

32 changes: 31 additions & 1 deletion web/model/deployment_source_pb.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6072a15

Please sign in to comment.