forked from pipe-cd/pipecd
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support QuickSync for ECS without ELB or target groups (pipe-cd#4685)
* Support QuickSync for ECS Service Discovery pattern Signed-off-by: t-kikuc <[email protected]> * Update the test expectation of ELB pattern Signed-off-by: t-kikuc <[email protected]> * Add a test of QuickSync of ECS Service Discovery Signed-off-by: t-kikuc <[email protected]> * fix comment Signed-off-by: t-kikuc <[email protected]> * Add a description of Input values Signed-off-by: t-kikuc <[email protected]> * Add consts and validation of accessType Signed-off-by: t-kikuc <[email protected]> * Modify consts to public for using in switch-case Signed-off-by: t-kikuc <[email protected]> * Fix a typo Signed-off-by: t-kikuc <[email protected]> * Refactor validation func Signed-off-by: t-kikuc <[email protected]> * Add a blank line in import Signed-off-by: t-kikuc <[email protected]> --------- Signed-off-by: t-kikuc <[email protected]> Signed-off-by: sZma5a <[email protected]>
- Loading branch information
Showing
5 changed files
with
124 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
7 changes: 7 additions & 0 deletions
7
pkg/config/testdata/application/ecs-app-invalid-access-type.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,7 @@ | ||
apiVersion: pipecd.dev/v1beta1 | ||
kind: ECSApp | ||
spec: | ||
input: | ||
serviceDefinitionFile: /path/to/servicedef.yaml | ||
taskDefinitionFile: /path/to/taskdef.yaml | ||
accessType: XXX |
7 changes: 7 additions & 0 deletions
7
pkg/config/testdata/application/ecs-app-service-discovery.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,7 @@ | ||
apiVersion: pipecd.dev/v1beta1 | ||
kind: ECSApp | ||
spec: | ||
input: | ||
serviceDefinitionFile: /path/to/servicedef.yaml | ||
taskDefinitionFile: /path/to/taskdef.yaml | ||
accessType: SERVICE_DISCOVERY |