Skip to content

Commit 9e1970f

Browse files
authored
Release v0.44.0 (#4429)
* Release v0.44.0 Signed-off-by: Kenta Kozuka <kenta.kozuka@gmail.com> * Update release note Signed-off-by: Kenta Kozuka <kenta.kozuka@gmail.com> --------- Signed-off-by: Kenta Kozuka <kenta.kozuka@gmail.com>
1 parent d6400db commit 9e1970f

File tree

80 files changed

+6630
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+6630
-2
lines changed

RELEASE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tag: v0.43.1
1+
tag: v0.44.0
22

33
releaseNoteGenerator:
44
showCommitter: false

docs/config.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,10 @@ no = 'Sorry to hear that. Please <a href="https://github.com/pipe-cd/pipecd/issu
161161
githubbranch = "master"
162162
url = "/docs-dev/"
163163

164+
[[params.versions]]
165+
version = "v0.44.x"
166+
url = "/docs-v0.44.x/"
167+
164168
[[params.versions]]
165169
version = "v0.43.x"
166170
url = "/docs-v0.43.x/"
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
---
2+
title: "Release v0.44.0"
3+
linkTitle: "Release v0.44.0"
4+
date: 2023-06-23
5+
description: >
6+
Release v0.44.0
7+
---
8+
9+
## Changes since v0.43.1
10+
11+
### New Features
12+
13+
* Add custom sync stage ([#4223](https://github.com/pipe-cd/pipecd/pull/4223))
14+
* Add attachment feature that supports attaching files to application manifests ([#4289](https://github.com/pipe-cd/pipecd/pull/4289))
15+
* Support Terraform v1.5.0 onwards([#4412](https://github.com/pipe-cd/pipecd/pull/4412))
16+
* Add deployment metrics ([#4361](https://github.com/pipe-cd/pipecd/pull/4361))
17+
* Enable to use kubectl server side apply ([#4375](https://github.com/pipe-cd/pipecd/pull/4375))
18+
19+
### Notable Changes
20+
21+
* Show platform provider on the deployment detail page ([#4369](https://github.com/pipe-cd/pipecd/pull/4369))
22+
* Support slack API ([#4355](https://github.com/pipe-cd/pipecd/pull/4355))
23+
* Support architectures filed for Lambda ([#4351](https://github.com/pipe-cd/pipecd/pull/4351))
24+
* Support log level ([#4393](https://github.com/pipe-cd/pipecd/pull/4393))
25+
* Add runtime platform to ECS task definition ([#4326](https://github.com/pipe-cd/pipecd/pull/4326)) ([#4330](https://github.com/pipe-cd/pipecd/pull/4330))
26+
* Add EnableExecuteCommand field to ECS service ([#4332](https://github.com/pipe-cd/pipecd/pull/4332))
27+
28+
### Internal Changes
29+
30+
* Release v0.44.0
31+
* Update README ([#4427](https://github.com/pipe-cd/pipecd/pull/4427))
32+
* Fix path settings of grafana ingresss is incorrect ([#4423](https://github.com/pipe-cd/pipecd/pull/4423))
33+
* Update base image of PipeCD components to latest piped-base ([#4421](https://github.com/pipe-cd/pipecd/pull/4421))
34+
* Update pipectl docs ([#4420](https://github.com/pipe-cd/pipecd/pull/4420))
35+
* Update piped-base-okd base image ([#4419](https://github.com/pipe-cd/pipecd/pull/4419))
36+
* Update piped-base image ([#4416](https://github.com/pipe-cd/pipecd/pull/4416))
37+
* Add deployment panel to dashboard ([#4410](https://github.com/pipe-cd/pipecd/pull/4410))
38+
* Fix managed certificates and backend config are missing with helm upgrade ([#4414](https://github.com/pipe-cd/pipecd/pull/4414))
39+
* Update piped-base for piped-okd-base ([#4406](https://github.com/pipe-cd/pipecd/pull/4406))
40+
* Update contributors list ([#4409](https://github.com/pipe-cd/pipecd/pull/4409))
41+
* Expose grafana.pspEnabled to pipecd manifest ([#4408](https://github.com/pipe-cd/pipecd/pull/4408))
42+
* Update piped-base without preinstall tools ([#4405](https://github.com/pipe-cd/pipecd/pull/4405))
43+
* Remove installation script of asdf ([#4404](https://github.com/pipe-cd/pipecd/pull/4404))
44+
* Remove pre-installation tools from piped-base image ([#4400](https://github.com/pipe-cd/pipecd/pull/4400))
45+
* Create test code of httpapi/httpapimetrics/label ([#4403](https://github.com/pipe-cd/pipecd/pull/4403))
46+
* refactor : fmt.errorf %!v(MISSING) to %!w(MISSING) ([#4398](https://github.com/pipe-cd/pipecd/pull/4398))
47+
* Fix import block cause failure of parsing regex ([#4396](https://github.com/pipe-cd/pipecd/pull/4396))
48+
* add file headers ([#4397](https://github.com/pipe-cd/pipecd/pull/4397))
49+
* Update site footer ([#4389](https://github.com/pipe-cd/pipecd/pull/4389))
50+
* Remove external tool management ([#4383](https://github.com/pipe-cd/pipecd/pull/4383))
51+
* Update site footer ([#4385](https://github.com/pipe-cd/pipecd/pull/4385))
52+
* Update go version ([#4378](https://github.com/pipe-cd/pipecd/pull/4378))
53+
* Add release section to README ([#4371](https://github.com/pipe-cd/pipecd/pull/4371))
54+
* Update notification docs ([#4373](https://github.com/pipe-cd/pipecd/pull/4373))
55+
* Add versioning and release cycle to docs ([#4356](https://github.com/pipe-cd/pipecd/pull/4356))
56+
* Fix asdf setup is broken in .profile ([#4366](https://github.com/pipe-cd/pipecd/pull/4366))
57+
* Update readme ([#4365](https://github.com/pipe-cd/pipecd/pull/4365))
58+
* Update readme ([#4364](https://github.com/pipe-cd/pipecd/pull/4364))
59+
* Update contribution docs ([#4357](https://github.com/pipe-cd/pipecd/pull/4357))
60+
* Fix typos ([#4358](https://github.com/pipe-cd/pipecd/pull/4358))
61+
* Update MAINTAINERS list ([#4354](https://github.com/pipe-cd/pipecd/pull/4354))
62+
* modify sso login description from GitHub Enterprise to GitHub Enterprise Server ([#4350](https://github.com/pipe-cd/pipecd/pull/4350))
63+
* Update contributors list ([#4348](https://github.com/pipe-cd/pipecd/pull/4348))
64+
* Fix wrong image path for opengraph and twitter card ([#4346](https://github.com/pipe-cd/pipecd/pull/4346))
65+
* Update site ingress to networking.k8s.io/v1 ([#4345](https://github.com/pipe-cd/pipecd/pull/4345))
66+
* Update site ingress version ([#4344](https://github.com/pipe-cd/pipecd/pull/4344))
67+
* Add announcement blog ([#4339](https://github.com/pipe-cd/pipecd/pull/4339))
68+
* Fix wrong blog time ([#4340](https://github.com/pipe-cd/pipecd/pull/4340))
69+
* Add monitring overview to docs ([#4338](https://github.com/pipe-cd/pipecd/pull/4338))
70+
* Support update application api ([#4336](https://github.com/pipe-cd/pipecd/pull/4336))
71+
* Remove CLA ([#4335](https://github.com/pipe-cd/pipecd/pull/4335))
72+
* Fix indent ([#4322](https://github.com/pipe-cd/pipecd/pull/4322))
73+
* Update manifests to fix service account error ([#4328](https://github.com/pipe-cd/pipecd/pull/4328))
74+
* Release v0.43.1 ([#4331](https://github.com/pipe-cd/pipecd/pull/4331))
75+
* Update codeowner ([#4334](https://github.com/pipe-cd/pipecd/pull/4334))
76+
* Update codeowners ([#4327](https://github.com/pipe-cd/pipecd/pull/4327))
77+
* Update go version ([#4320](https://github.com/pipe-cd/pipecd/pull/4320))
78+
* Update contributions list ([#4323](https://github.com/pipe-cd/pipecd/pull/4323))
79+
* Remove unused web test ([#4324](https://github.com/pipe-cd/pipecd/pull/4324))
80+
* Add docs for attachment feature ([#4321](https://github.com/pipe-cd/pipecd/pull/4321))
81+
* Add custom sync sample and docs ([#4256](https://github.com/pipe-cd/pipecd/pull/4256))
82+
* Add asdf install script ([#4309](https://github.com/pipe-cd/pipecd/pull/4309))
83+
* [FileDB] Fix failed to update piped name ([#4319](https://github.com/pipe-cd/pipecd/pull/4319))
84+
* Bump google.golang.org/api ([#4317](https://github.com/pipe-cd/pipecd/pull/4317))
85+
* Add UpdatePiped grpc api ([#4318](https://github.com/pipe-cd/pipecd/pull/4318))
86+
* Add GetPiped grpc api ([#4316](https://github.com/pipe-cd/pipecd/pull/4316))
87+
* Add RegisterPiped api for grpcapi ([#4314](https://github.com/pipe-cd/pipecd/pull/4314))
88+
* Bump github.com/docker/docker ([#4313](https://github.com/pipe-cd/pipecd/pull/4313))
89+
* Change invalid reason showing UI ([#4303](https://github.com/pipe-cd/pipecd/pull/4303))
90+
* Rearrange configuration reference docs sections and add missing docs ([#4301](https://github.com/pipe-cd/pipecd/pull/4301))
91+
* Improvement of isIgnoredPath ([#4306](https://github.com/pipe-cd/pipecd/pull/4306))
92+
* Update example in drift detection docs ([#4305](https://github.com/pipe-cd/pipecd/pull/4305))
93+
* Update error message for driftDetection validation ([#4302](https://github.com/pipe-cd/pipecd/pull/4302))
94+
* Bump github.com/opencontainers/runc from 1.1.2 to 1.1.5 ([#4304](https://github.com/pipe-cd/pipecd/pull/4304))
95+
* Make INVALID_CONFIG error messages user friendly ([#4280](https://github.com/pipe-cd/pipecd/pull/4280))
96+
* Remove unneeded layout for docs ([#4299](https://github.com/pipe-cd/pipecd/pull/4299))
97+
* Add external binary management by asdf ([#4286](https://github.com/pipe-cd/pipecd/pull/4286))
98+
* Update contributions list ([#4300](https://github.com/pipe-cd/pipecd/pull/4300))
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: "Welcome to PipeCD"
3+
linkTitle: "Documentation [v0.44.x]"
4+
type: docs
5+
---
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
---
2+
title: "Concepts"
3+
linkTitle: "Concepts"
4+
weight: 2
5+
description: >
6+
This page describes several core concepts in PipeCD.
7+
---
8+
9+
![](/images/architecture-overview.png)
10+
<p style="text-align: center;">
11+
Component Architecture
12+
</p>
13+
14+
### Piped
15+
16+
`piped` is a single binary component you run as an agent in your cluster, your local network to handle the deployment tasks.
17+
It can be run inside a Kubernetes cluster by simply starting a Pod or a Deployment.
18+
This component is designed to be stateless, so it can also be run in a single VM or even your local machine.
19+
20+
### Control Plane
21+
22+
A centralized component managing deployment data and provides gRPC API for connecting `piped`s as well as all web-functionalities of PipeCD such as
23+
authentication, showing deployment list/details, application list/details, delivery insights...
24+
25+
### Project
26+
27+
A project is a logical group of applications to be managed by a group of users.
28+
Each project can have multiple `piped` instances from different clouds or environments.
29+
30+
There are three types of project roles:
31+
32+
- **Viewer** has only permissions of viewing to deployment and application in the project.
33+
- **Editor** has all viewer permissions, plus permissions for actions that modify state such as manually trigger/cancel the deployment.
34+
- **Admin** has all editor permissions, plus permissions for managing project data, managing project `piped`.
35+
36+
### Application
37+
38+
A collect of resources (containers, services, infrastructure components...) and configurations that are managed together.
39+
PipeCD supports multiple kinds of applications such as `KUBERNETES`, `TERRAFORM`, `ECS`, `CLOUDRUN`, `LAMBDA`...
40+
41+
### Application Configuration
42+
43+
A YAML file that contains information to define and configure application.
44+
Each application requires one file at application directory stored in the Git repository.
45+
The default file name is `app.pipecd.yaml`.
46+
47+
### Application Directory
48+
49+
A directory in Git repository containing application configuration file and application manifests.
50+
Each application must have one application directory.
51+
52+
### Deployment
53+
54+
A deployment is a process that does transition from the current state (running state) to the desired state (specified state in Git) of a specific application.
55+
When the deployment is success, it means the running state is being synced with the desired state specified in the target commit.
56+
57+
### Sync Strategy
58+
59+
There are 3 strategies that PipeCD supports while syncing your application state with its configuration stored in Git. Which are:
60+
- Quick Sync: a fast way to make the running application state as same as its Git stored configuration. The generated pipeline contains only one predefined `SYNC` stage.
61+
- Pipeline Sync: sync the running application state with its Git stored configuration through a pipeline defined in its application configuration.
62+
- Auto Sync: depends on your defined application configuration, `piped` will decide the best way to sync your application state with its Git stored configuration.
63+
64+
### Platform Provider
65+
66+
Note: The previous name of this concept was Cloud Provider.
67+
68+
PipeCD supports multiple platforms and multiple kinds of applications.
69+
Platform Provider defines which platform, cloud and where application should be deployed to.
70+
71+
Currently, PipeCD is supporting these five platform providers: `KUBERNETES`, `ECS`, `TERRAFORM`, `CLOUDRUN`, `LAMBDA`.
72+
73+
### Analysis Provider
74+
An external product that provides metrics/logs to evaluate deployments, such as `Prometheus`, `Datadog`, `Stackdriver`, `CloudWatch` and so on.
75+
It is mainly used in the [Automated deployment analysis](../user-guide/managing-application/customizing-deployment/automated-deployment-analysis/) context.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: "Contributor Guide"
3+
linkTitle: "Contributor Guide"
4+
weight: 6
5+
description: >
6+
This guide is for anyone who want to contribute to PipeCD project. We are so excited to have you!
7+
---
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
title: "Architectural overview"
3+
linkTitle: "Architectural overview"
4+
weight: 3
5+
description: >
6+
This page describes the architecture of PipeCD.
7+
---
8+
9+
![](/images/architecture-overview.png)
10+
<p style="text-align: center;">
11+
Component Architecture
12+
</p>
13+
14+
### Piped
15+
16+
A single binary component runs in your cluster, your local network to handle the deployment tasks.
17+
It can be run inside a Kubernetes cluster by simply starting a Pod or a Deployment.
18+
This component is designed to be stateless, so it can also be run in a single VM or even your local machine.
19+
20+
### Control Plane
21+
22+
A centralized component manages deployment data and provides gRPC API for connecting `piped`s as well as all web-functionalities of PipeCD such as
23+
authentication, showing deployment list/details, application list/details, delivery insights...
24+
25+
Control Plane contains the following components:
26+
- `server`: a service to provide api for piped, web and serve static assets for web.
27+
- `ops`: a service to provide administrative features for Control Plane owner like adding/managing projects.
28+
- `cache`: a redis cache service for caching internal data.
29+
- `datastore`: data storage for storing deployment, application data
30+
- this can be a fully-managed service such as `Firestore`, `Cloud SQL`...
31+
- or a self-managed such as `MySQL`
32+
- `filestore`: file storage for storing logs, application states
33+
- this can a fully-managed service such as `GCS`, `S3`...
34+
- or a self-managed service such as `Minio`
35+
36+
For more information, see [Architecture overview of Control Plane](../../user-guide/managing-controlplane/architecture-overview/).
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: "Contributing"
3+
linkTitle: "Contributing"
4+
weight: 1
5+
description: >
6+
This page describes how to contribute to PipeCD.
7+
---
8+
9+
PipeCD is an open source project that anyone in the community can use, improve, and enjoy. We'd love you to join us!
10+
11+
## Contributor License Agreement
12+
13+
For any code contribution, please read the documents below carefully:
14+
- [License](https://github.com/pipe-cd/pipecd/blob/master/LICENSE)
15+
- [Developer Certificate of Origin (DCO)](https://developercertificate.org/)
16+
17+
And signing off your commit with `git commit -s` (About commit sign-off please read [Github docs](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-the-commit-signoff-policy-for-your-repository#about-commit-signoffs))
18+
19+
## Creating an issue
20+
21+
If you've found a problem, please check the existing [issues tracker](https://github.com/pipe-cd/pipecd/issues) first, and create an issue in the [pipe-cd/pipecd](https://github.com/pipe-cd/pipecd/issues) repository if needed.
22+
23+
## Creating a pull request
24+
25+
Look at our [help wanted issues](https://github.com/pipe-cd/pipecd/issues?q=is%3Aissue+is%3Aopen+label%3A"help+wanted") or our [good first issues](https://github.com/pipe-cd/pipecd/issues?q=is%3Aissue+is%3Aopen+label%3A"good+first+issue") for finding some good issues for your first pull request.
26+
27+
### Small tips
28+
29+
The pull request title is used to generate our release changelog. Therefore, it would be great if you write the title that is easier to understand from the user's point of view.
30+
31+
## Code reviews
32+
33+
All submissions, including submissions by project members, require review. We use GitHub pull requests for this purpose. Consult [GitHub Help](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests) for more information on using pull requests.
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
---
2+
title: "Development"
3+
linkTitle: "Development"
4+
weight: 2
5+
description: >
6+
This page describes how to build, test PipeCD source code at your local environment.
7+
---
8+
9+
## Prerequisites
10+
11+
- [Go 1.20](https://go.dev/)
12+
- [Docker](https://www.docker.com/)
13+
- [kind](https://kind.sigs.k8s.io/docs/user/quick-start/#installation) (If you want to run Control Plane locally)
14+
- [helm 3.8](https://helm.sh/docs/intro/install/) (If you want to run Control Plane locally)
15+
16+
## Repositories
17+
- [pipecd](https://github.com/pipe-cd/pipecd): contains all source code and documentation of PipeCD project.
18+
- [examples](https://github.com/pipe-cd/examples): contains various generated examples to demonstrate how to use PipeCD.
19+
20+
## Commands
21+
22+
- `make build/go`: builds all go modules including pipecd, piped, pipectl.
23+
- `make build/web`: builds the static files for web.
24+
25+
- `make test/go`: runs all unit tests of go modules.
26+
- `make test/web`: runs all unit tests of web.
27+
- `make test/integration`: runs integration tests.
28+
29+
- `make run/piped`: runs Piped locally (for more information, see [here](#how-to-run-piped-agent-locally)).
30+
- `make run/site`: runs PipeCD site locally (requires [hugo](https://github.com/gohugoio/hugo) with `_extended` version `0.92.1` or later to be installed).
31+
32+
- `make gen/code`: generate Go and Typescript code from protos and mock configs. You need to run it if you modified any proto or mock definition files.
33+
34+
For the full list of available commands, please see the Makefile at the root of repository.
35+
36+
## How to run Control Plane locally
37+
38+
1. Start running a Kubernetes cluster
39+
40+
``` console
41+
make kind-up
42+
```
43+
44+
Once it is no longer used, run `make kind-down` to delete it.
45+
46+
2. Install Control Plane into the local cluster
47+
48+
``` console
49+
make run/pipecd
50+
```
51+
52+
Once all components are running up, use `kubectl port-forward` to expose the installed Control Plane on your localhost:
53+
54+
``` console
55+
kubectl -n pipecd port-forward svc/pipecd 8080
56+
```
57+
58+
3. Access to the local Control Plane web console
59+
60+
Point your web browser to [http://localhost:8080](http://localhost:8080) to login with the configured static admin account: project = `quickstart`, username = `hello-pipecd`, password = `hello-pipecd`.
61+
62+
## How to run Piped agent locally
63+
64+
1. Prepare the piped configuration file `piped-config.yaml`
65+
66+
2. Ensure that your `kube-context` is connecting to the right kubernetes cluster
67+
68+
3. Run the following command to start running `piped` (if you want to connect Piped to a locally running Control Plane, add `INSECURE=true` option)
69+
70+
``` console
71+
make run/piped CONFIG_FILE=piped-config.yaml
72+
```
73+
74+
## Docs and workaround with docs
75+
76+
PipeCD official site contains multiple versions of documentation, all placed under the `/docs/content/en` directory, which are:
77+
- `/docs`: stable version docs, usually synced with the latest released version docs.
78+
- `/docs-dev`: experimental version docs, contains docs for not yet released features or changes.
79+
- `/docs-v0.x.x`: contains docs for specified version family (a version family is all versions which in the same major release).
80+
81+
Basically, we have two simple rules:
82+
- Do not touch to the `/docs` content directly.
83+
- Keep stable docs version synced with the latest released docs version.
84+
85+
Here are the flow of docs contribution regard some known scenarios:
86+
1. Update docs that are related to a specified version (which is not the latest released version):
87+
In such case, update the docs under `/docs-v0.x.x` is enough.
88+
2. Update docs for not yet released features or changes:
89+
In such case, update the docs under `/docs-dev` is enough.
90+
3. Update docs that are related to the latest released docs version:
91+
- Change the docs' content that fixes the issue under `/docs-dev` and `/docs-v0.x.x`, they share the same file structure so you should find the right files in both directories.
92+
- Use `make gen/stable-docs` command to sync the latest released version docs under `/docs-v0.x.x` to `/docs`
93+
94+
If you find any issues related to the docs, we're happy to accept your help.

0 commit comments

Comments
 (0)