Skip to content

Commit fa404a8

Browse files
github-actions[bot]t-kikucHoangNguyen689khanhtc1202Warashi
authored
* Fix panic in ECS driftdetection when a taskdef in livestates does not exist (#5240) * Generate v0.49.x docs Signed-off-by: t-kikuc <[email protected]> * fix: avoid panic when live taskdef does not exist Signed-off-by: t-kikuc <[email protected]> --------- Signed-off-by: t-kikuc <[email protected]> Signed-off-by: pipecd-bot <[email protected]> * Upgrade aws-sdk-go-v2 (#5241) * Generate v0.49.x docs Signed-off-by: t-kikuc <[email protected]> * upgrade aws-sdk-go-v2 Signed-off-by: t-kikuc <[email protected]> * upgrade aws-sdk-go-v2/**/* Signed-off-by: t-kikuc <[email protected]> * fix compile errors caused by the breaking change Signed-off-by: t-kikuc <[email protected]> * fix a test due to added RestartPolicy Signed-off-by: t-kikuc <[email protected]> * fix: avoid panic when live taskdef does not exist Signed-off-by: t-kikuc <[email protected]> * fix go.sum by `make update/go-deps` Signed-off-by: t-kikuc <[email protected]> --------- Signed-off-by: t-kikuc <[email protected]> Signed-off-by: pipecd-bot <[email protected]> * Remove an unused field 'configFilePathInGitRepo' (#5248) * Generate v0.49.x docs Signed-off-by: t-kikuc <[email protected]> * remove unused field 'configFilePathInGitRepo' Signed-off-by: t-kikuc <[email protected]> --------- Signed-off-by: t-kikuc <[email protected]> Signed-off-by: pipecd-bot <[email protected]> * Support fetching a piped config from AWS SSM Parameter Store (#5249) * Generate v0.49.x docs Signed-off-by: t-kikuc <[email protected]> * add --aws-ssm-parameter Signed-off-by: t-kikuc <[email protected]> * add config-aws-ssm-parameter to piped Signed-off-by: t-kikuc <[email protected]> * update docs of runtime options Signed-off-by: t-kikuc <[email protected]> --------- Signed-off-by: t-kikuc <[email protected]> Signed-off-by: pipecd-bot <[email protected]> * Remove subnet ordering in head manifest (#5254) Signed-off-by: HoangNguyen689 <[email protected]> Signed-off-by: pipecd-bot <[email protected]> * Update quickstart header note (#5255) Signed-off-by: khanhtc1202 <[email protected]> Signed-off-by: pipecd-bot <[email protected]> * Update feature status (#5256) Signed-off-by: khanhtc1202 <[email protected]> Signed-off-by: pipecd-bot <[email protected]> * Support directly designating a gitSSHKey instead of File for launcher (#5258) * Generate v0.49.x docs Signed-off-by: t-kikuc <[email protected]> * add --git-ssh-key-env Signed-off-by: t-kikuc <[email protected]> * update docs: add '--git-ssh-key-env' Signed-off-by: t-kikuc <[email protected]> * add '\n' at the end of ssh key Signed-off-by: t-kikuc <[email protected]> * Directly use data instead of env Signed-off-by: t-kikuc <[email protected]> * Clarify the flag description Signed-off-by: t-kikuc <[email protected]> * fix error message: 'and' -> 'or' Signed-off-by: t-kikuc <[email protected]> --------- Signed-off-by: t-kikuc <[email protected]> Signed-off-by: pipecd-bot <[email protected]> * Add workflow steps to build and publish quickstart manifests (#5260) Signed-off-by: pipecd-bot <[email protected]> * Update workflow not to run by matrix (#5262) Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]> Signed-off-by: pipecd-bot <[email protected]> * Update RELEASE to v0.49.1 and update v0.49.x docs (#5263) * update RELEASE to v0.49.1 Signed-off-by: t-kikuc <[email protected]> * update docs of v0.49.x by `make release version=v0.49.1` Signed-off-by: t-kikuc <[email protected]> --------- Signed-off-by: t-kikuc <[email protected]> Signed-off-by: pipecd-bot <[email protected]> --------- Signed-off-by: t-kikuc <[email protected]> Signed-off-by: pipecd-bot <[email protected]> Signed-off-by: HoangNguyen689 <[email protected]> Signed-off-by: khanhtc1202 <[email protected]> Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]> Co-authored-by: Tetsuya Kikuchi <[email protected]> Co-authored-by: HoangNguyen689 <[email protected]> Co-authored-by: Khanh Tran <[email protected]> Co-authored-by: Shinnosuke Sawada-Dazai <[email protected]>
1 parent 909fd76 commit fa404a8

File tree

16 files changed

+343
-182
lines changed

16 files changed

+343
-182
lines changed

.github/workflows/publish_image_chart.yaml

+40
Original file line numberDiff line numberDiff line change
@@ -146,3 +146,43 @@ jobs:
146146
event-name: helm-release
147147
labels: helmRepo=pipecd
148148
data: ${{ env.PIPECD_VERSION }}
149+
150+
release-quickstart-manifests:
151+
runs-on: ubuntu-latest
152+
needs: artifacts
153+
if: startsWith(github.ref, 'refs/tags/')
154+
permissions:
155+
contents: write
156+
steps:
157+
# setup tools and repositories
158+
- name: Install helm
159+
uses: Azure/setup-helm@v1
160+
with:
161+
version: ${{ env.HELM_VERSION }}
162+
- uses: actions/checkout@v3
163+
with:
164+
fetch-depth: 0
165+
166+
- name: Determine version
167+
run: echo "PIPECD_VERSION=$(git describe --tags --always --abbrev=7)" >> $GITHUB_ENV
168+
169+
# Building and publishing quickstart manifests.
170+
- name: Build quickstart manifests
171+
run: |
172+
helm template pipecd oci://ghcr.io/pipe-cd/chart/pipecd --version ${{ env.PIPECD_VERSION }} -n pipecd -f quickstart/control-plane-values.yaml > quickstart/manifests/control-plane.yaml
173+
helm template piped oci://ghcr.io/pipe-cd/chart/piped --version ${{ env.PIPECD_VERSION }} -n pipecd --set quickstart.enabled=true --set quickstart.pipedId=\<YOUR_PIPED_ID\> --set quickstart.pipedKeyData=\<YOUR_PIPED_KEY_DATA\> > quickstart/manifests/piped.yaml
174+
- name: Publish quickstart manifests
175+
uses: peter-evans/create-pull-request@v6
176+
with:
177+
title: "[bot] Publish quickstart manifests"
178+
commit-message: "[bot] Publish quickstart manifests"
179+
branch: "create-pull-request/publish-quickstart-manifests"
180+
body: |
181+
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action.
182+
The workflow is defined [here](https://github.com/pipe-cd/pipecd/blob/master/.github/workflows/publish_image_chart.yaml).
183+
184+
**Note:** You need to **close and reopen this PR** manually to trigger status check workflows. (Or just click `Update branch` if possible.)
185+
For details, see https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs.
186+
delete-branch: true
187+
signoff: true
188+
token: ${{ secrets.GITHUB_TOKEN }}

RELEASE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Generated by `make release` command.
22
# DO NOT EDIT.
3-
tag: v0.49.0
3+
tag: v0.49.1
44

55
releaseNoteGenerator:
66
showCommitter: false

docs/content/en/docs-dev/quickstart/_index.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ description: >
66
This page describes how to quickly get started with PipeCD on Kubernetes.
77
---
88

9-
This page is a guideline for installing PipeCD into your Kubernetes cluster and deploying a "hello world" application to that same Kubernetes cluster.
9+
PipeCD is constructed by two components: the Control plane and the piped (agent) (ref: [PipeCD concepts](../concepts/)). The control plane can be thought of as a regular web service application that can be installed anywhere, while the piped agent is a single binary that can run as a pod in a Kubernetes cluster, a container on ECS, a serverless function like Lambda, Cloud Run, or a process running directly on your local machine.
10+
11+
This page is a guideline for installing PipeCD (both two components) into your Kubernetes cluster and deploying a "hello world" application to that same Kubernetes cluster.
1012

1113
Note:
1214

docs/content/en/docs-dev/user-guide/managing-piped/runtime-options.md

+23-19
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Flags:
2020
--app-manifest-cache-count int The number of app manifests to cache. The cache-key contains the commit hash. The default is 150. (default 150)
2121
--cert-file string The path to the TLS certificate file.
2222
--config-aws-secret string The ARN of secret that contains Piped config and be stored in AWS Secrets Manager.
23+
--config-aws-ssm-parameter string The name of parameter of Piped config stored in AWS Systems Manager Parameter Store. SecureString is also supported.
2324
--config-data string The base64 encoded string of the configuration data.
2425
--config-file string The path to the configuration file.
2526
--config-gcp-secret string The resource ID of secret that contains Piped config and be stored in GCP SecretManager.
@@ -46,25 +47,28 @@ Usage:
4647
launcher launcher [flags]
4748
4849
Flags:
49-
--aws-secret-id string The ARN of secret that contains Piped config in AWS Secrets Manager service.
50-
--cert-file string The path to the TLS certificate file.
51-
--check-interval duration Interval to periodically check desired config/version to restart Piped. Default is 1m. (default 1m0s)
52-
--config-data string The base64 encoded string of the configuration data.
53-
--config-file string The path to the configuration file.
54-
--config-from-aws-secret Whether to load Piped config that is being stored in AWS Secrets Manager service.
55-
--config-from-gcp-secret Whether to load Piped config that is being stored in GCP SecretManager service.
56-
--config-from-git-repo Whether to load Piped config that is being stored in a git repository.
57-
--default-version string The version should be run when no desired version was specified. Empty means using the same version with Launcher.
58-
--gcp-secret-id string The resource ID of secret that contains Piped config in GCP SecretManager service.
59-
--git-branch string Branch of git repository to for Piped config.
60-
--git-piped-config-file string Relative path within git repository to locate Piped config file.
61-
--git-repo-url string The remote URL of git repository to fetch Piped config.
62-
--git-ssh-key-file string The path to SSH private key to fetch private git repository.
63-
--grace-period duration How long to wait for graceful shutdown. (default 30s)
64-
-h, --help help for launcher
65-
--home-dir string The working directory of Launcher.
66-
--insecure Whether disabling transport security while connecting to control-plane.
67-
--launcher-admin-port int The port number used to run a HTTP server for admin tasks such as metrics, healthz.
50+
--aws-secret-id string The ARN of secret that contains Piped config in AWS Secrets Manager service.
51+
--aws-ssm-parameter string The name of parameter of Piped config stored in AWS Systems Manager Parameter Store. SecureString is also supported.
52+
--cert-file string The path to the TLS certificate file.
53+
--check-interval duration Interval to periodically check desired config/version to restart Piped. Default is 1m. (default 1m0s)
54+
--config-data string The base64 encoded string of the configuration data.
55+
--config-file string The path to the configuration file.
56+
--config-from-aws-secret Whether to load Piped config that is being stored in AWS Secrets Manager service.
57+
--config-from-aws-ssm-parameter-store Whether to load Piped config that is being stored in AWS Systems Manager Parameter Store.
58+
--config-from-gcp-secret Whether to load Piped config that is being stored in GCP SecretManager service.
59+
--config-from-git-repo Whether to load Piped config that is being stored in a git repository.
60+
--default-version string The version should be run when no desired version was specified. Empty means using the same version with Launcher.
61+
--gcp-secret-id string The resource ID of secret that contains Piped config in GCP SecretManager service.
62+
--git-branch string Branch of git repository to for Piped config.
63+
--git-piped-config-file string Relative path within git repository to locate Piped config file.
64+
--git-repo-url string The remote URL of git repository to fetch Piped config.
65+
--git-ssh-key-data string Base64 encoded value of SSH private key to fetch Piped config from the private git repository.
66+
--git-ssh-key-file string The path to SSH private key to fetch Piped config from private git repository.
67+
--grace-period duration How long to wait for graceful shutdown. (default 30s)
68+
-h, --help help for launcher
69+
--home-dir string The working directory of Launcher.
70+
--insecure Whether disabling transport security while connecting to control-plane.
71+
--launcher-admin-port int The port number used to run a HTTP server for admin tasks such as metrics, healthz.
6872
6973
Global Flags:
7074
--log-encoding string The encoding type for logger [json|console|humanize]. (default "humanize")

docs/content/en/docs-v0.49.x/feature-status/_index.md

-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ Please note that the phases (Incubating, Alpha, Beta, and Stable) are applied to
3232
| Support Kustomize | Beta |
3333
| Support Istio service mesh | Beta |
3434
| Support SMI service mesh | Incubating |
35-
| Support [AWS App Mesh](https://aws.amazon.com/app-mesh/) | Incubating |
3635
| [Plan preview](../user-guide/plan-preview) | Beta |
3736
| [Manifest attachment](../user-guide/managing-application/manifest-attachment) | Alpha |
3837

@@ -83,7 +82,6 @@ Please note that the phases (Incubating, Alpha, Beta, and Stable) are applied to
8382
| [Application live state](../user-guide/managing-application/application-live-state/) | Alpha *1 |
8483
| Quick sync deployment for [ECS Service Discovery](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html) | Alpha |
8584
| Deployment with a defined pipeline for [ECS Service Discovery](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html) | Alpha |
86-
| Support [AWS App Mesh](https://aws.amazon.com/app-mesh/) | Incubating |
8785
| [Plan preview](../user-guide/plan-preview) | Alpha |
8886
| [Manifest attachment](../user-guide/managing-application/manifest-attachment) | Alpha |
8987

docs/content/en/docs-v0.49.x/quickstart/_index.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ description: >
66
This page describes how to quickly get started with PipeCD on Kubernetes.
77
---
88

9-
This page is a guideline for installing PipeCD into your Kubernetes cluster and deploying a "hello world" application to that same Kubernetes cluster.
9+
PipeCD is constructed by two components: the Control plane and the piped (agent) (ref: [PipeCD concepts](../concepts/)). The control plane can be thought of as a regular web service application that can be installed anywhere, while the piped agent is a single binary that can run as a pod in a Kubernetes cluster, a container on ECS, a serverless function like Lambda, Cloud Run, or a process running directly on your local machine.
10+
11+
This page is a guideline for installing PipeCD (both two components) into your Kubernetes cluster and deploying a "hello world" application to that same Kubernetes cluster.
1012

1113
Note:
1214

docs/content/en/docs-v0.49.x/user-guide/managing-piped/runtime-options.md

+23-19
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Flags:
2020
--app-manifest-cache-count int The number of app manifests to cache. The cache-key contains the commit hash. The default is 150. (default 150)
2121
--cert-file string The path to the TLS certificate file.
2222
--config-aws-secret string The ARN of secret that contains Piped config and be stored in AWS Secrets Manager.
23+
--config-aws-ssm-parameter string The name of parameter of Piped config stored in AWS Systems Manager Parameter Store. SecureString is also supported.
2324
--config-data string The base64 encoded string of the configuration data.
2425
--config-file string The path to the configuration file.
2526
--config-gcp-secret string The resource ID of secret that contains Piped config and be stored in GCP SecretManager.
@@ -46,25 +47,28 @@ Usage:
4647
launcher launcher [flags]
4748
4849
Flags:
49-
--aws-secret-id string The ARN of secret that contains Piped config in AWS Secrets Manager service.
50-
--cert-file string The path to the TLS certificate file.
51-
--check-interval duration Interval to periodically check desired config/version to restart Piped. Default is 1m. (default 1m0s)
52-
--config-data string The base64 encoded string of the configuration data.
53-
--config-file string The path to the configuration file.
54-
--config-from-aws-secret Whether to load Piped config that is being stored in AWS Secrets Manager service.
55-
--config-from-gcp-secret Whether to load Piped config that is being stored in GCP SecretManager service.
56-
--config-from-git-repo Whether to load Piped config that is being stored in a git repository.
57-
--default-version string The version should be run when no desired version was specified. Empty means using the same version with Launcher.
58-
--gcp-secret-id string The resource ID of secret that contains Piped config in GCP SecretManager service.
59-
--git-branch string Branch of git repository to for Piped config.
60-
--git-piped-config-file string Relative path within git repository to locate Piped config file.
61-
--git-repo-url string The remote URL of git repository to fetch Piped config.
62-
--git-ssh-key-file string The path to SSH private key to fetch private git repository.
63-
--grace-period duration How long to wait for graceful shutdown. (default 30s)
64-
-h, --help help for launcher
65-
--home-dir string The working directory of Launcher.
66-
--insecure Whether disabling transport security while connecting to control-plane.
67-
--launcher-admin-port int The port number used to run a HTTP server for admin tasks such as metrics, healthz.
50+
--aws-secret-id string The ARN of secret that contains Piped config in AWS Secrets Manager service.
51+
--aws-ssm-parameter string The name of parameter of Piped config stored in AWS Systems Manager Parameter Store. SecureString is also supported.
52+
--cert-file string The path to the TLS certificate file.
53+
--check-interval duration Interval to periodically check desired config/version to restart Piped. Default is 1m. (default 1m0s)
54+
--config-data string The base64 encoded string of the configuration data.
55+
--config-file string The path to the configuration file.
56+
--config-from-aws-secret Whether to load Piped config that is being stored in AWS Secrets Manager service.
57+
--config-from-aws-ssm-parameter-store Whether to load Piped config that is being stored in AWS Systems Manager Parameter Store.
58+
--config-from-gcp-secret Whether to load Piped config that is being stored in GCP SecretManager service.
59+
--config-from-git-repo Whether to load Piped config that is being stored in a git repository.
60+
--default-version string The version should be run when no desired version was specified. Empty means using the same version with Launcher.
61+
--gcp-secret-id string The resource ID of secret that contains Piped config in GCP SecretManager service.
62+
--git-branch string Branch of git repository to for Piped config.
63+
--git-piped-config-file string Relative path within git repository to locate Piped config file.
64+
--git-repo-url string The remote URL of git repository to fetch Piped config.
65+
--git-ssh-key-data string Base64 encoded value of SSH private key to fetch Piped config from the private git repository.
66+
--git-ssh-key-file string The path to SSH private key to fetch Piped config from private git repository.
67+
--grace-period duration How long to wait for graceful shutdown. (default 30s)
68+
-h, --help help for launcher
69+
--home-dir string The working directory of Launcher.
70+
--insecure Whether disabling transport security while connecting to control-plane.
71+
--launcher-admin-port int The port number used to run a HTTP server for admin tasks such as metrics, healthz.
6872
6973
Global Flags:
7074
--log-encoding string The encoding type for logger [json|console|humanize]. (default "humanize")

go.mod

+23-22
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ require (
1010
github.com/DataDog/datadog-api-client-go v1.0.0-beta.16
1111
github.com/Masterminds/sprig/v3 v3.2.2
1212
github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46
13-
github.com/aws/aws-sdk-go-v2 v1.17.7
14-
github.com/aws/aws-sdk-go-v2/config v1.18.19
15-
github.com/aws/aws-sdk-go-v2/credentials v1.13.18
16-
github.com/aws/aws-sdk-go-v2/service/ecs v1.24.2
17-
github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.19.7
18-
github.com/aws/aws-sdk-go-v2/service/lambda v1.30.2
19-
github.com/aws/aws-sdk-go-v2/service/s3 v1.31.0
20-
github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.18.0
13+
github.com/aws/aws-sdk-go-v2 v1.31.0
14+
github.com/aws/aws-sdk-go-v2/config v1.27.38
15+
github.com/aws/aws-sdk-go-v2/credentials v1.17.36
16+
github.com/aws/aws-sdk-go-v2/service/ecs v1.46.2
17+
github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.38.2
18+
github.com/aws/aws-sdk-go-v2/service/lambda v1.62.0
19+
github.com/aws/aws-sdk-go-v2/service/s3 v1.63.2
20+
github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.33.2
21+
github.com/aws/aws-sdk-go-v2/service/ssm v1.54.3
2122
github.com/coreos/go-oidc/v3 v3.11.0
2223
github.com/creasty/defaults v1.6.0
2324
github.com/envoyproxy/go-control-plane v0.12.0
@@ -88,20 +89,20 @@ require (
8889
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
8990
github.com/agext/levenshtein v1.2.2 // indirect
9091
github.com/apparentlymart/go-textseg v1.0.0 // indirect
91-
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.10 // indirect
92-
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.1 // indirect
93-
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.31 // indirect
94-
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.25 // indirect
95-
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.32 // indirect
96-
github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.23 // indirect
97-
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.11 // indirect
98-
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.26 // indirect
99-
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.25 // indirect
100-
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.14.0 // indirect
101-
github.com/aws/aws-sdk-go-v2/service/sso v1.12.6 // indirect
102-
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.6 // indirect
103-
github.com/aws/aws-sdk-go-v2/service/sts v1.18.7 // indirect
104-
github.com/aws/smithy-go v1.13.5 // indirect
92+
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.5 // indirect
93+
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.14 // indirect
94+
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.18 // indirect
95+
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.18 // indirect
96+
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 // indirect
97+
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.18 // indirect
98+
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.5 // indirect
99+
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.20 // indirect
100+
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.20 // indirect
101+
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.18 // indirect
102+
github.com/aws/aws-sdk-go-v2/service/sso v1.23.2 // indirect
103+
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.2 // indirect
104+
github.com/aws/aws-sdk-go-v2/service/sts v1.31.2 // indirect
105+
github.com/aws/smithy-go v1.21.0 // indirect
105106
github.com/beorn7/perks v1.0.1 // indirect
106107
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
107108
github.com/cespare/xxhash/v2 v2.2.0 // indirect

0 commit comments

Comments
 (0)