-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into update-readme
- Loading branch information
Showing
24 changed files
with
162 additions
and
42 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
tag: v0.45.3 | ||
tag: v0.45.4 | ||
|
||
releaseNoteGenerator: | ||
showCommitter: false | ||
|
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
apiVersion: pipecd.dev/v1beta1 | ||
kind: ECSApp | ||
spec: | ||
name: servicediscovery-canary | ||
labels: | ||
env: example | ||
team: xyz | ||
input: | ||
serviceDefinitionFile: servicedef.yaml | ||
taskDefinitionFile: taskdef.yaml | ||
# When you use ECS Service Discovery for interservice networking, you must specify 'SERVICE_DISCOVERY' for 'accessType'. | ||
accessType: SERVICE_DISCOVERY | ||
# 'targetGroups' is not used in Service Discovery type. | ||
pipeline: | ||
stages: | ||
# Rollout CANARY variant's workload. | ||
# scale represents the percentage of workload will be rolled out, | ||
# in this case 30% of the current PRIMARY variant's workload is set. | ||
# Note: Rolled out variant DOES serve traffic at this time unlike the ELB type. | ||
- name: ECS_CANARY_ROLLOUT | ||
with: | ||
scale: 100 | ||
# Hold the deployment process for 150 seconds. | ||
- name: WAIT | ||
with: | ||
duration: 150s | ||
# Update the workload of PRIMARY variant to the new version. | ||
# NOTE: The new PRIMARY variant will serve 100% of the traffic at this time. | ||
- name: ECS_PRIMARY_ROLLOUT | ||
# Destroy all workloads of CANARY variant. | ||
- name: ECS_CANARY_CLEAN |
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,26 @@ | ||
cluster: arn:aws:ecs:ap-northeast-1:XXXX:cluster/test-cluster | ||
serviceName: nginx-canary-service | ||
desiredCount: 2 | ||
deploymentConfiguration: | ||
maximumPercent: 200 | ||
minimumHealthyPercent: 0 | ||
schedulingStrategy: REPLICA | ||
# CAUTION: To enable PipeCD controls the deployment | ||
# DeploymentController of type EXTERNAL is required. | ||
deploymentController: | ||
type: EXTERNAL | ||
enableECSManagedTags: true | ||
propagateTags: SERVICE | ||
launchType: FARGATE | ||
networkConfiguration: | ||
awsvpcConfiguration: | ||
assignPublicIp: ENABLED | ||
securityGroups: | ||
- sg-YYYY | ||
subnets: | ||
- subnet-YYYY | ||
- subnet-YYYY | ||
# Service Discovery Config. | ||
serviceRegistries: | ||
# You need to specify the service id of the service discovery namespace. | ||
- registryArn: arn:aws:servicediscovery:ap-northeast-1:XXXX:service/srv-XXXXX |
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,20 @@ | ||
family: nginx-service-fam | ||
executionRoleArn: arn:aws:iam::XXXX:role/ecsTaskExecutionRole | ||
containerDefinitions: | ||
- command: null | ||
cpu: 100 | ||
image: XXXX.dkr.ecr.ap-northeast-1.amazonaws.com/nginx:1 | ||
memory: 100 | ||
mountPoints: [] | ||
name: web | ||
portMappings: | ||
- containerPort: 80 | ||
compatibilities: | ||
- FARGATE | ||
requiresCompatibilities: | ||
- FARGATE | ||
networkMode: awsvpc | ||
memory: 512 | ||
cpu: 256 | ||
pidMode: "" | ||
volumes: [] |
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
Oops, something went wrong.