Skip to content

Commit a995586

Browse files
authored
Release v0.43.0 (#4290)
* Release v0.43.0 * Update release note * Remove some notes
1 parent ec16514 commit a995586

File tree

76 files changed

+6420
-1
lines changed

Some content is hidden

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

76 files changed

+6420
-1
lines changed

RELEASE

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

33
releaseNoteGenerator:
44
showCommitter: false

docs/config.toml

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

166+
[[params.versions]]
167+
version = "v0.43.x"
168+
url = "/docs-v0.43.x/"
169+
166170
[[params.versions]]
167171
version = "v0.42.x"
168172
url = "/docs-v0.42.x/"
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
title: "Release v0.43.0"
3+
linkTitle: "Release v0.43.0"
4+
date: 2023-03-27
5+
description: >
6+
Release v0.43.0
7+
---
8+
9+
## Changes since v0.42.1
10+
11+
### New Features
12+
13+
* Enable to filter application by its piped ([#4244](https://github.com/pipe-cd/pipecd/pull/4244))
14+
* Enable to ignore manifests' fields from kubernetes' drift detection ([#4249](https://github.com/pipe-cd/pipecd/pull/4249))
15+
16+
You're now can configure the piped to ignore manifests' fields from drift detection feature via config in that application configuration (the `app.pipecd.yaml` file).
17+
18+
```yaml
19+
spec:
20+
...
21+
driftDetection:
22+
ignoreFields:
23+
- spec.replicas
24+
- spec.template.spec.containers.0.args
25+
```
26+
27+
For more information in detail, ref [configuration drift detection](/docs/user-guide/managing-application/configuration-drift-detection/#ignore-drift-detection-for-specific-fields) docs.
28+
29+
30+
### Bug Fixes
31+
32+
* Fix Missing RBAC configuration bug ([#4268](https://github.com/pipe-cd/pipecd/pull/4268))
33+
* Fix unable to plan deployment on failed to determine app version ([#4234](https://github.com/pipe-cd/pipecd/pull/4234))
34+
35+
### Notable Changes
36+
37+
* Show FailurePiped with piped name, not only piped id in PlanPreview result ([#4250](https://github.com/pipe-cd/pipecd/pull/4250))
38+
* Change drift detection result header ([#4248](https://github.com/pipe-cd/pipecd/pull/4248))
39+
* Add ability to see invalid config errors from application-detail-page ([#4232](https://github.com/pipe-cd/pipecd/pull/4232))
40+
41+
### Internal Changes
42+
43+
* Fix console error on web ([#4296](https://github.com/pipe-cd/pipecd/pull/4296))
44+
* Resolved issue where Validate was not working ([#4297](https://github.com/pipe-cd/pipecd/pull/4297))
45+
* Fix error handling in to parse ignoreFields ([#4295](https://github.com/pipe-cd/pipecd/pull/4295))
46+
* Document to ignore drift detection ([#4294](https://github.com/pipe-cd/pipecd/pull/4294))
47+
* Add support for setting ignore fields for each resource key ([#4292](https://github.com/pipe-cd/pipecd/pull/4292))
48+
* Fix docs Piped Cloud Run service manifest ([#4291](https://github.com/pipe-cd/pipecd/pull/4291))
49+
* Document to ignore drift detection ([#4288](https://github.com/pipe-cd/pipecd/pull/4288))
50+
* Update blog index ([#4287](https://github.com/pipe-cd/pipecd/pull/4287))
51+
* Add blog control plane on ECS ([#4164](https://github.com/pipe-cd/pipecd/pull/4164))
52+
* Upgrade aws dependencies to latest versions ([#4283](https://github.com/pipe-cd/pipecd/pull/4283))
53+
* Support the podLabels for Pod labels ([#4281](https://github.com/pipe-cd/pipecd/pull/4281))
54+
* Lower the log level of no app updates to reduce log noise ([#4279](https://github.com/pipe-cd/pipecd/pull/4279))
55+
* Add link to configuration reference to piped installation docs ([#4278](https://github.com/pipe-cd/pipecd/pull/4278))
56+
* Fix a problem where the piped id was not displayed in the piped filter field ([#4277](https://github.com/pipe-cd/pipecd/pull/4277))
57+
* add EnableApplication rpc for api service ([#4274](https://github.com/pipe-cd/pipecd/pull/4274))
58+
* Remove RBAC config validation for Admin ([#4271](https://github.com/pipe-cd/pipecd/pull/4271))
59+
* Bump webpack from 5.35.0 to 5.76.0 in /web ([#4267](https://github.com/pipe-cd/pipecd/pull/4267))
60+
* Delete application_piped_id index ([#4266](https://github.com/pipe-cd/pipecd/pull/4266))
61+
* Fix omissions in PipedName output ([#4262](https://github.com/pipe-cd/pipecd/pull/4262))
62+
* Add custom sync rollback(just support lambda) ([#4246](https://github.com/pipe-cd/pipecd/pull/4246))
63+
* Fix stage log for CUSTOM_SYNC stage ([#4263](https://github.com/pipe-cd/pipecd/pull/4263))
64+
* Add custom sync stage ([#4223](https://github.com/pipe-cd/pipecd/pull/4223))
65+
* Update defaults package to v1.6.0 ([#4265](https://github.com/pipe-cd/pipecd/pull/4265))
66+
* Refactor config package to remove unnecessary default values setter ([#4258](https://github.com/pipe-cd/pipecd/pull/4258))
67+
* Bump golang.org/x/crypto in /tool/actions-gh-release ([#4253](https://github.com/pipe-cd/pipecd/pull/4253))
68+
* Bump golang.org/x/net from 0.1.1-0.20221104162952-702349b0e862 to 0.7.0 ([#4254](https://github.com/pipe-cd/pipecd/pull/4254))
69+
* Bump golang.org/x/net from 0.6.0 to 0.7.0 in /tool/actions-gh-release ([#4252](https://github.com/pipe-cd/pipecd/pull/4252))
70+
* Bump golang.org/x/crypto in /tool/actions-plan-preview ([#4251](https://github.com/pipe-cd/pipecd/pull/4251))
71+
* Add RFC for deploy control plane without k8s ([#4138](https://github.com/pipe-cd/pipecd/pull/4138))
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.43.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 gPRC 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 gPRC 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+
Contributions to this project must be accompanied by a Contributor License Agreement ("CLA") described at [pipe-cd/pipecd/master/CLA.md](https://github.com/pipe-cd/pipecd/blob/master/CLA.md). You (or your employer) retain the copyright to your contribution; this simply gives us permission to use and redistribute your contributions as part of the project.
14+
15+
You generally only need to sign a CLA once, so if you've already signed one, you probably don't need to do it again.
16+
17+
In case you have not signed yet, [pipecd-bot](https://github.com/pipecd-bot) will guide you to sign the CLA _when you send the first pull request to [pipe-cd/pipecd](https://github.com/pipe-cd/pipecd) repository_.
18+
19+
## Creating an issue
20+
21+
If you've found a problem, please create an issue in the [pipe-cd/pipecd](https://github.com/pipe-cd/pipecd/issues) repository.
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.19](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)