Skip to content

Commit

Permalink
Merge branch 'master' into feat/update-grafana-and-prometheus-version
Browse files Browse the repository at this point in the history
  • Loading branch information
moko-poi committed Oct 17, 2023
2 parents 3f882b3 + f9eda02 commit ee06d00
Show file tree
Hide file tree
Showing 149 changed files with 7,876 additions and 375 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/publish_image_chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ jobs:
- name: Build web static
run: make build/web

# Setup QEMU and Buildx.
- name: Set up QEMU
uses: docker/setup-qemu-action@8b122486cedac8393e77aa9734c3528886e4a1a8 #v2.0.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6 #2.0.0

# Login to push container images.
- name: Log in to GHCR
uses: docker/login-action@49ed152c8eca782a232dede0303416e8f356c37b #v2.0.0
Expand All @@ -76,13 +82,15 @@ jobs:
push: true
context: .
file: cmd/pipecd/Dockerfile
platforms: linux/amd64,linux/arm64
tags: ${{ env.GHCR }}/pipe-cd/pipecd:${{ env.PIPECD_VERSION }}
- name: Build and push piped image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
push: true
context: .
file: cmd/piped/Dockerfile
platforms: linux/amd64,linux/arm64
tags: |
${{ env.GHCR }}/pipe-cd/piped:${{ env.PIPECD_VERSION }}
${{ env.GCR }}/pipecd/piped:${{ env.PIPECD_VERSION }}
Expand All @@ -92,13 +100,15 @@ jobs:
push: true
context: .
file: cmd/piped/Dockerfile-okd
platforms: linux/amd64,linux/arm64
tags: ${{ env.GHCR }}/pipe-cd/piped-okd:${{ env.PIPECD_VERSION }}
- name: Build and push launcher image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
push: true
context: .
file: cmd/launcher/Dockerfile
platforms: linux/amd64,linux/arm64
tags: |
${{ env.GHCR }}/pipe-cd/launcher:${{ env.PIPECD_VERSION }}
${{ env.GCR }}/pipecd/launcher:${{ env.PIPECD_VERSION }}
Expand All @@ -108,20 +118,23 @@ jobs:
push: true
context: .
file: cmd/launcher/Dockerfile-okd
platforms: linux/amd64,linux/arm64
tags: ${{ env.GHCR }}/pipe-cd/launcher-okd:${{ env.PIPECD_VERSION }}
- name: Build and push pipectl image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
push: true
context: .
file: cmd/pipectl/Dockerfile
platforms: linux/amd64,linux/arm64
tags: ${{ env.GHCR }}/pipe-cd/pipectl:${{ env.PIPECD_VERSION }}
- name: Build and push helloworld image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
push: true
context: .
file: cmd/helloworld/Dockerfile
platforms: linux/amd64,linux/arm64
tags: |
${{ env.GHCR }}/pipe-cd/helloworld:${{ env.PIPECD_VERSION }}
${{ env.GCR }}/pipecd/helloworld:${{ env.PIPECD_VERSION }}
Expand Down
1 change: 1 addition & 0 deletions ADOPTERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ This list is arranged in the order of organizations being added to it.

| Organization | Contact | Description of Use |
| --- | --- | --- |
| [PITS Global Data Recovery Services](https://www.pitsdatarecovery.net/) | @benjx1990 | PipeCD provides an easy-to-use interface and reliable solutions for CI. |
| [CyberAgent, Inc.](https://www.cyberagent.co.jp/) | @kentakozuka | PipeCD is used as an internal CD infrastructure, supporting over 20 projects. About 80 active piped agents are deploying about 2,900 applications in all dev, staging, and production environments. |
3 changes: 1 addition & 2 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.github @pipe-cd/admin
.kapetanios @pipe-cd/admin
hack @pipe-cd/admin
Makefile @pipe-cd/admin

* @nghialv @khanhtc1202 @kentakozuka
* @nghialv @khanhtc1202 @kentakozuka @ffjlabo
13 changes: 7 additions & 6 deletions MAINTAINERS.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# PipeCD maintainers

| Name | GitHub ID (not Twitter ID) | Email |
|-----------------|--------------------------------------------------|----------------------------------------------|
| Tran Cong Khanh | [@khanhtc1202](https://github.com/khanhtc1202) | [email protected] |
| Kenta Kozuka | [@kentakozuka](https://github.com/kentakozuka) | [email protected] |
| Akinori Yamada | [@stormcat24](https://github.com/stormcat24) | [email protected] |
| Le Van Nghia | [@nghialv](https://github.com/nghialv) | [email protected] |
| Name | GitHub ID (not Twitter ID) | Email |
|------------------|--------------------------------------------------|----------------------------------------------|
| Tran Cong Khanh | [@khanhtc1202](https://github.com/khanhtc1202) | [email protected] |
| Kenta Kozuka | [@kentakozuka](https://github.com/kentakozuka) | [email protected] |
| Akinori Yamada | [@stormcat24](https://github.com/stormcat24) | [email protected] |
| Le Van Nghia | [@nghialv](https://github.com/nghialv) | [email protected] |
| Yoshiki Fujikane | [@ffjlabo](https://github.com/ffjlabo) | [email protected] |


E-mail addresses are expected to be used for reporting security issues. \
Expand Down
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,24 +93,26 @@ You can find a list of publicly recognized users of the PipeCD in the [ADOPTERS.
<a href="https://github.com/knanao"><img src="https://avatars.githubusercontent.com/u/50069775?v=4" title="knanao" width="80" height="80"></a>
<a href="https://github.com/ono-max"><img src="https://avatars.githubusercontent.com/u/59436572?v=4" title="ono-max" width="80" height="80"></a>
<a href="https://github.com/stormcat24"><img src="https://avatars.githubusercontent.com/u/919840?v=4" title="stormcat24" width="80" height="80"></a>
<a href="https://github.com/kentakozuka"><img src="https://avatars.githubusercontent.com/u/16733673?v=4" title="kentakozuka" width="80" height="80"></a>
<a href="https://github.com/Hosshii"><img src="https://avatars.githubusercontent.com/u/49914427?v=4" title="Hosshii" width="80" height="80"></a>
<a href="https://github.com/funera1"><img src="https://avatars.githubusercontent.com/u/60760935?v=4" title="funera1" width="80" height="80"></a>
<a href="https://github.com/apps/dependabot"><img src="https://avatars.githubusercontent.com/in/29110?v=4" title="dependabot[bot]" width="80" height="80"></a>
<a href="https://github.com/funera1"><img src="https://avatars.githubusercontent.com/u/60760935?v=4" title="funera1" width="80" height="80"></a>
<a href="https://github.com/sanposhiho"><img src="https://avatars.githubusercontent.com/u/44139130?v=4" title="sanposhiho" width="80" height="80"></a>
<a href="https://github.com/kentakozuka"><img src="https://avatars.githubusercontent.com/u/16733673?v=4" title="kentakozuka" width="80" height="80"></a>
<a href="https://github.com/Szarny"><img src="https://avatars.githubusercontent.com/u/26561120?v=4" title="Szarny" width="80" height="80"></a>
<a href="https://github.com/sivchari"><img src="https://avatars.githubusercontent.com/u/55221074?v=4" title="sivchari" width="80" height="80"></a>
<a href="https://github.com/kevin-namba"><img src="https://avatars.githubusercontent.com/u/68955641?v=4" title="kevin-namba" width="80" height="80"></a>
<a href="https://github.com/TaKO8Ki"><img src="https://avatars.githubusercontent.com/u/41065217?v=4" title="TaKO8Ki" width="80" height="80"></a>
<a href="https://github.com/ffjlabo"><img src="https://avatars.githubusercontent.com/u/40124947?v=4" title="ffjlabo" width="80" height="80"></a>
<a href="https://github.com/kurochan"><img src="https://avatars.githubusercontent.com/u/591247?v=4" title="kurochan" width="80" height="80"></a>
<a href="https://github.com/chaspy"><img src="https://avatars.githubusercontent.com/u/10370988?v=4" title="chaspy" width="80" height="80"></a>
<a href="https://github.com/sivchari"><img src="https://avatars.githubusercontent.com/u/55221074?v=4" title="sivchari" width="80" height="80"></a>
<a href="https://github.com/gkuga"><img src="https://avatars.githubusercontent.com/u/33643470?v=4" title="gkuga" width="80" height="80"></a>
<a href="https://github.com/kurochan"><img src="https://avatars.githubusercontent.com/u/591247?v=4" title="kurochan" width="80" height="80"></a>
<a href="https://github.com/hungran"><img src="https://avatars.githubusercontent.com/u/26101787?v=4" title="hungran" width="80" height="80"></a>
<a href="https://github.com/TonkyH"><img src="https://avatars.githubusercontent.com/u/50762864?v=4" title="TonkyH" width="80" height="80"></a>
<a href="https://github.com/golemiso"><img src="https://avatars.githubusercontent.com/u/3282656?v=4" title="golemiso" width="80" height="80"></a>
<a href="https://github.com/tnqv"><img src="https://avatars.githubusercontent.com/u/23372024?v=4" title="tnqv" width="80" height="80"></a>
<a href="https://github.com/khanhtc3010"><img src="https://avatars.githubusercontent.com/u/9603918?v=4" title="khanhtc3010" width="80" height="80"></a>
<a href="https://github.com/na-ga"><img src="https://avatars.githubusercontent.com/u/537006?v=4" title="na-ga" width="80" height="80"></a>
<a href="https://github.com/kanata2"><img src="https://avatars.githubusercontent.com/u/7460883?v=4" title="kanata2" width="80" height="80"></a>
<a href="https://github.com/arabian9ts"><img src="https://avatars.githubusercontent.com/u/24448137?v=4" title="arabian9ts" width="80" height="80"></a>
<a href="https://github.com/anhpnv"><img src="https://avatars.githubusercontent.com/u/40441000?v=4" title="anhpnv" width="80" height="80"></a>
<a href="https://github.com/seipan"><img src="https://avatars.githubusercontent.com/u/88176012?v=4" title="seipan" width="80" height="80"></a>
Expand All @@ -120,7 +122,6 @@ You can find a list of publicly recognized users of the PipeCD in the [ADOPTERS.
<a href="https://github.com/tennashi"><img src="https://avatars.githubusercontent.com/u/10219626?v=4" title="tennashi" width="80" height="80"></a>
<a href="https://github.com/Abirdcfly"><img src="https://avatars.githubusercontent.com/u/5100555?v=4" title="Abirdcfly" width="80" height="80"></a>
<a href="https://github.com/ductnn"><img src="https://avatars.githubusercontent.com/u/22121217?v=4" title="ductnn" width="80" height="80"></a>
<a href="https://github.com/hungran"><img src="https://avatars.githubusercontent.com/u/26101787?v=4" title="hungran" width="80" height="80"></a>
<a href="https://github.com/hongchaodeng"><img src="https://avatars.githubusercontent.com/u/920884?v=4" title="hongchaodeng" width="80" height="80"></a>
<a href="https://github.com/hori-ryota"><img src="https://avatars.githubusercontent.com/u/2936501?v=4" title="hori-ryota" width="80" height="80"></a>
<a href="https://github.com/eltociear"><img src="https://avatars.githubusercontent.com/u/22633385?v=4" title="eltociear" width="80" height="80"></a>
Expand All @@ -130,10 +131,12 @@ You can find a list of publicly recognized users of the PipeCD in the [ADOPTERS.
<a href="https://github.com/KeisukeYamashita"><img src="https://avatars.githubusercontent.com/u/23056537?v=4" title="KeisukeYamashita" width="80" height="80"></a>
<a href="https://github.com/Lennie"><img src="https://avatars.githubusercontent.com/u/330102?v=4" title="Lennie" width="80" height="80"></a>
<a href="https://github.com/gitbluf"><img src="https://avatars.githubusercontent.com/u/22802784?v=4" title="gitbluf" width="80" height="80"></a>
<a href="https://github.com/kanata2"><img src="https://avatars.githubusercontent.com/u/7460883?v=4" title="kanata2" width="80" height="80"></a>
<a href="https://github.com/nduyphuong"><img src="https://avatars.githubusercontent.com/u/60810674?v=4" title="nduyphuong" width="80" height="80"></a>
<a href="https://github.com/GotoRen"><img src="https://avatars.githubusercontent.com/u/63791288?v=4" title="GotoRen" width="80" height="80"></a>
<a href="https://github.com/RikiyaFujii"><img src="https://avatars.githubusercontent.com/u/23261497?v=4" title="RikiyaFujii" width="80" height="80"></a>
<a href="https://github.com/SakataAtsuki"><img src="https://avatars.githubusercontent.com/u/58636635?v=4" title="SakataAtsuki" width="80" height="80"></a>
<a href="https://github.com/butterv"><img src="https://avatars.githubusercontent.com/u/15773082?v=4" title="butterv" width="80" height="80"></a>
<a href="https://github.com/seitarof"><img src="https://avatars.githubusercontent.com/u/51070449?v=4" title="seitarof" width="80" height="80"></a>
<a href="https://github.com/mura-s"><img src="https://avatars.githubusercontent.com/u/4702673?v=4" title="mura-s" width="80" height="80"></a>
<a href="https://github.com/Warashi"><img src="https://avatars.githubusercontent.com/u/3600530?v=4" title="Warashi" width="80" height="80"></a>
<a href="https://github.com/Linutux"><img src="https://avatars.githubusercontent.com/u/435352?v=4" title="Linutux" width="80" height="80"></a>
Expand All @@ -143,6 +146,8 @@ You can find a list of publicly recognized users of the PipeCD in the [ADOPTERS.
<a href="https://github.com/yoiki"><img src="https://avatars.githubusercontent.com/u/39365493?v=4" title="yoiki" width="80" height="80"></a>
<a href="https://github.com/JohnTitor"><img src="https://avatars.githubusercontent.com/u/25030997?v=4" title="JohnTitor" width="80" height="80"></a>
<a href="https://github.com/mugioka"><img src="https://avatars.githubusercontent.com/u/62197019?v=4" title="mugioka" width="80" height="80"></a>
<a href="https://github.com/nnnkkk7"><img src="https://avatars.githubusercontent.com/u/68233204?v=4" title="nnnkkk7" width="80" height="80"></a>
<a href="https://github.com/tokku5552"><img src="https://avatars.githubusercontent.com/u/69064290?v=4" title="tokku5552" width="80" height="80"></a>

#

Expand Down
2 changes: 1 addition & 1 deletion RELEASE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tag: v0.44.2
tag: v0.45.3

releaseNoteGenerator:
showCommitter: false
Expand Down
2 changes: 1 addition & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Versions are expressed as `vX.Y.Z`;
- Minor releases: roughly every 2 months
- Patch releases: roughly every 2-3 weeks

Release candidates(vX.Y.Z-alpha) for minor versions are available for 2-4 weeks before the release.
Note: The team can release Release candidates(vX.Y.Z-rcXYZ) for versions at any time for early access/testing.

## Major release
This refers to the release of new features or breaking changes.
Expand Down
10 changes: 8 additions & 2 deletions cmd/pipecd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,13 @@ For the full list of available commands, please see the Makefile at the root of

Once it is no longer used, run `make kind-down` to delete it.

2. Install Control Plane into the local cluster
2. Install the web dependencies module

``` console
make update/web-deps
```

3. Install Control Plane into the local cluster

``` console
make run/pipecd
Expand All @@ -42,7 +48,7 @@ For the full list of available commands, please see the Makefile at the root of
kubectl -n pipecd port-forward svc/pipecd 8080
```

3. Access to the local Control Plane web console
4. Access to the local Control Plane web console

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`.

Expand Down
16 changes: 16 additions & 0 deletions docs/assets/scss/_nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,19 @@
}
}
}

.corner-ribbon {
width: 220px;
background: rgb(238, 238, 51);
top: 25px;
right: -50px;
text-align: center;
line-height: 50px;
transform: rotate(45deg);
-webkit-transform: rotate(45deg);
z-index: 100;
position: fixed;
a {
color: #ff0000;
}
}
4 changes: 4 additions & 0 deletions docs/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ no = 'Sorry to hear that. Please <a href="https://github.com/pipe-cd/pipecd/issu
githubbranch = "master"
url = "/docs-dev/"

[[params.versions]]
version = "v0.45.x"
url = "/docs-v0.45.x/"

[[params.versions]]
version = "v0.44.x"
url = "/docs-v0.44.x/"
Expand Down
2 changes: 1 addition & 1 deletion docs/content/en/docs-dev/examples/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ https://github.com/pipe-cd/examples
| [local-module](https://github.com/pipe-cd/examples/tree/master/terraform/local-module) | Deploy application that using local terraform modules from the same Git repository. |
| [remote-module](https://github.com/pipe-cd/examples/tree/master/terraform/remote-module) | Deploy application that using remote terraform modules from other Git repositories. |
| [wait-approval](https://github.com/pipe-cd/examples/tree/master/terraform/wait-approval) | Deployment pipeline that contains a manual approval stage. |
| [autorollback](https://github.com/pipe-cd/examples/tree/master/terraform/auto-rollback) | Automatically rollback the changes when deployment was failed. |
| [autorollback](https://github.com/pipe-cd/examples/tree/master/terraform/autorollback) | Automatically rollback the changes when deployment was failed. |
| [secret-management](https://github.com/pipe-cd/examples/tree/master/terraform/secret-management) | Demonstrate how to manage sensitive data by using [Secret Management](../user-guide/managing-application/secret-management/) feature. |

### Cloud Run Applications
Expand Down
2 changes: 1 addition & 1 deletion docs/content/en/docs-dev/user-guide/command-line-tool.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Command-line tool: pipectl"
linkTitle: "Command-line tool: pipectl"
weight: 8
weight: 9
description: >
This page describes how to install and use pipectl to manage PipeCD's resources.
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Configuration reference"
linkTitle: "Configuration reference"
weight: 10
weight: 11
description: >
This page describes all configurable fields in the application configuration and analysis template.
---
Expand Down Expand Up @@ -112,6 +112,7 @@ spec:
| labels | map[string]string | Additional attributes to identify applications. | No |
| description | string | Notes on the Application. | No |
| input | [LambdaDeploymentInput](#lambdadeploymentinput) | Input for Lambda deployment such as path to function manifest file... | No |
| architectures | []string| Specific architecture for which a function supports (Default x86_64). | No |
| trigger | [DeploymentTrigger](#deploymenttrigger) | Configuration for trigger used to determine should we trigger a new deployment or not. | No |
| planner | [DeploymentPlanner](#deploymentplanner) | Configuration for planner used while planning deployment. | No |
| quickSync | [LambdaQuickSync](#lambdaquicksync) | Configuration for quick sync. | No |
Expand Down Expand Up @@ -444,6 +445,7 @@ One of `yamlField` or `regex` is required.
| serviceDefinitionFile | string | The path ECS Service configuration file. Allow file in both `yaml` and `json` format. The default value is `service.json`. See [here](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service_definition_parameters.html) for parameters.| No |
| taskDefinitionFile | string | The path to ECS TaskDefinition configuration file. Allow file in both `yaml` and `json` format. The default value is `taskdef.json`. See [here](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html) for parameters. | No |
| targetGroups | [ECSTargetGroupInput](#ecstargetgroupinput) | The target groups configuration, will be used to routing traffic to created task sets. | Yes (if you want to perform progressive delivery) |
| listenerRules | []string | Specifies the listener rules used for registering the ECS task set if exists. If rules are not specified, traffic will be routed to the default listener. | No |

### ECSTargetGroupInput

Expand All @@ -453,7 +455,6 @@ One of `yamlField` or `regex` is required.
| canary | ECSTargetGroupObject | The CANARY target group, will be used to register the CANARY ECS task set if exist. It's required to enable PipeCD to perform the multi-stage deployment. | No |

Note: You can get examples for those object from [here](../../examples/#ecs-applications).

## ECSQuickSync

| Field | Type | Description | Required |
Expand Down
2 changes: 1 addition & 1 deletion docs/content/en/docs-dev/user-guide/examples/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Examples"
linkTitle: "Examples"
weight: 11
weight: 12
description: >
Some examples of PipeCD in action!
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@ spec:
app: simple
environments:
FOO: bar
# vpcConfig is optional value. If you define a vpc configuration to lambda, you can
# use this field.
vpcConfig:
securityGroupIds:
- sg-01234
- sg-56789
subnetIds:
- subnet-01234
- subnet-56789
```
Except the `tags` and the `environments` field, all others are required fields for the deployment to run.
Expand Down
Loading

0 comments on commit ee06d00

Please sign in to comment.