-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add image pull policy Signed-off-by: Filinto Duran <[email protected]> * add allowed values Signed-off-by: Filinto Duran <[email protected]> * feedback refactor allowed values name Signed-off-by: Filinto Duran <[email protected]> * add unit tests Signed-off-by: Filinto Duran <[email protected]> * lint Signed-off-by: Filinto Duran <[email protected]> * lint Signed-off-by: Filinto Duran <[email protected]> * more lint Signed-off-by: Filinto Duran <[email protected]> * more lint Signed-off-by: Filinto Duran <[email protected]> --------- Signed-off-by: Filinto Duran <[email protected]> Co-authored-by: Anton Troshin <[email protected]> Co-authored-by: Mike Nguyen <[email protected]>
- Loading branch information
1 parent
dbbe022
commit efe1d6c
Showing
6 changed files
with
112 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
pkg/runfileconfig/testdata/test_run_config_container_image_pull_policy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
version: 1 | ||
common: | ||
resourcesPath: ./app/resources | ||
appProtocol: HTTP | ||
appHealthProbeTimeout: 10 | ||
env: | ||
DEBUG: false | ||
tty: sts | ||
apps: | ||
- appDirPath: ./webapp/ | ||
resourcesPath: ./resources | ||
configFilePath: ./config.yaml | ||
appPort: 8080 | ||
appHealthProbeTimeout: 1 | ||
containerImagePullPolicy: IfNotPresent | ||
containerImage: ghcr.io/dapr/dapr-workflows-python-sdk:latest | ||
- appID: backend | ||
appDirPath: ./backend/ | ||
appProtocol: GRPC | ||
appPort: 3000 | ||
unixDomainSocket: /tmp/test-socket | ||
env: | ||
DEBUG: true | ||
containerImage: ghcr.io/dapr/dapr-workflows-csharp-sdk:latest |
24 changes: 24 additions & 0 deletions
24
pkg/runfileconfig/testdata/test_run_config_container_image_pull_policy_invalid.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
version: 1 | ||
common: | ||
resourcesPath: ./app/resources | ||
appProtocol: HTTP | ||
appHealthProbeTimeout: 10 | ||
env: | ||
DEBUG: false | ||
tty: sts | ||
apps: | ||
- appDirPath: ./webapp/ | ||
resourcesPath: ./resources | ||
configFilePath: ./config.yaml | ||
appPort: 8080 | ||
appHealthProbeTimeout: 1 | ||
containerImagePullPolicy: Invalid | ||
containerImage: ghcr.io/dapr/dapr-workflows-python-sdk:latest | ||
- appID: backend | ||
appDirPath: ./backend/ | ||
appProtocol: GRPC | ||
appPort: 3000 | ||
unixDomainSocket: /tmp/test-socket | ||
env: | ||
DEBUG: true | ||
containerImage: ghcr.io/dapr/dapr-workflows-csharp-sdk:latest |