Skip to content

Commit eb98030

Browse files
github-actions[bot]Warashikhanhtc1202t-kikuc
authored
Cherry-pick #5266 #5268 #5269 #5272 (#5273)
* Fix the workflow publishes quickstart manifests (#5266) * Add pull-requests permission to the workflow Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]> * Set the base branch to the default branch of the repository Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]> * Use `github.ref_name` to determine the version of manifests Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]> * Checkout master branch to make PR to master branch Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]> --------- Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]> Signed-off-by: pipecd-bot <[email protected]> * Remove pipectl quickstart command (#5268) * Remove pipectl quickstart command Signed-off-by: khanhtc1202 <[email protected]> * Remove the quickstart from docs Signed-off-by: khanhtc1202 <[email protected]> --------- Signed-off-by: khanhtc1202 <[email protected]> Signed-off-by: pipecd-bot <[email protected]> * Enabled to configure the interval of livestate store for Lambda (#5269) * add liveStateInterval for Lambda Signed-off-by: t-kikuc <[email protected]> * add docs of liveStateInterval Signed-off-by: t-kikuc <[email protected]> * fix a test Signed-off-by: t-kikuc <[email protected]> * Rename to 'awsAPIPollingInterval' Signed-off-by: t-kikuc <[email protected]> --------- Signed-off-by: t-kikuc <[email protected]> Signed-off-by: pipecd-bot <[email protected]> * Update RELEASE to v0.49.2 and sync docs of v0.49.x (#5272) Signed-off-by: t-kikuc <[email protected]> Signed-off-by: pipecd-bot <[email protected]> --------- Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]> Signed-off-by: pipecd-bot <[email protected]> Signed-off-by: khanhtc1202 <[email protected]> Signed-off-by: t-kikuc <[email protected]> Co-authored-by: Shinnosuke Sawada-Dazai <[email protected]> Co-authored-by: Khanh Tran <[email protected]> Co-authored-by: Tetsuya Kikuchi <[email protected]>
1 parent fa404a8 commit eb98030

File tree

13 files changed

+17
-540
lines changed

13 files changed

+17
-540
lines changed

.github/workflows/publish_image_chart.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ jobs:
153153
if: startsWith(github.ref, 'refs/tags/')
154154
permissions:
155155
contents: write
156+
pull-requests: write
156157
steps:
157158
# setup tools and repositories
158159
- name: Install helm
@@ -162,15 +163,14 @@ jobs:
162163
- uses: actions/checkout@v3
163164
with:
164165
fetch-depth: 0
165-
166-
- name: Determine version
167-
run: echo "PIPECD_VERSION=$(git describe --tags --always --abbrev=7)" >> $GITHUB_ENV
166+
ref: master
168167

169168
# Building and publishing quickstart manifests.
169+
# we use `github.ref_name` to get the tag name without the `refs/tags/` prefix.
170170
- name: Build quickstart manifests
171171
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
172+
helm template pipecd oci://ghcr.io/pipe-cd/chart/pipecd --version ${{ github.ref_name }} -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 ${{ github.ref_name }} -n pipecd --set quickstart.enabled=true --set quickstart.pipedId=\<YOUR_PIPED_ID\> --set quickstart.pipedKeyData=\<YOUR_PIPED_KEY_DATA\> > quickstart/manifests/piped.yaml
174174
- name: Publish quickstart manifests
175175
uses: peter-evans/create-pull-request@v6
176176
with:

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.1
3+
tag: v0.49.2
44

55
releaseNoteGenerator:
66
showCommitter: false

cmd/pipectl/main.go

-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import (
2424
"github.com/pipe-cd/pipecd/pkg/app/pipectl/cmd/initialize"
2525
"github.com/pipe-cd/pipecd/pkg/app/pipectl/cmd/piped"
2626
"github.com/pipe-cd/pipecd/pkg/app/pipectl/cmd/planpreview"
27-
"github.com/pipe-cd/pipecd/pkg/app/pipectl/cmd/quickstart"
2827
"github.com/pipe-cd/pipecd/pkg/cli"
2928
)
3029

@@ -41,7 +40,6 @@ func main() {
4140
planpreview.NewCommand(),
4241
piped.NewCommand(),
4342
encrypt.NewCommand(),
44-
quickstart.NewCommand(),
4543
initialize.NewCommand(),
4644
)
4745

docs/content/en/docs-dev/user-guide/command-line-tool.md

-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ Available Commands:
151151
init Generate an application config (app.pipecd.yaml) easily and interactively.
152152
piped Manage piped resources.
153153
plan-preview Show plan preview against the specified commit.
154-
quickstart Quick prepare PipeCD control plane in quickstart mode.
155154
version Print the information of current binary.
156155
157156
Flags:

docs/content/en/docs-dev/user-guide/managing-piped/configuration-reference.md

+1
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ Must be one of the following structs:
130130
| roleARN | string | The IAM role arn to use when assuming an role. Required if you want to use the AWS SecurityTokenService. | No |
131131
| tokenFile | string | The path to the WebIdentity token the SDK should use to assume a role with. Required if you want to use the AWS SecurityTokenService. | No |
132132
| profile | string | The profile to use for logging into AWS cluster. The default value is `default`. | No |
133+
| awsAPIPollingInterval | duration | The interval of periodical calls of AWS APIs. Currently, this is an interval of refreshing the live state of Lambda functions. Default is 15s. | No |
133134

134135
### PlatformProviderECSConfig
135136

docs/content/en/docs-v0.49.x/user-guide/command-line-tool.md

-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ Available Commands:
151151
init Generate an application config (app.pipecd.yaml) easily and interactively.
152152
piped Manage piped resources.
153153
plan-preview Show plan preview against the specified commit.
154-
quickstart Quick prepare PipeCD control plane in quickstart mode.
155154
version Print the information of current binary.
156155
157156
Flags:

docs/content/en/docs-v0.49.x/user-guide/managing-piped/configuration-reference.md

+1
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ Must be one of the following structs:
130130
| roleARN | string | The IAM role arn to use when assuming an role. Required if you want to use the AWS SecurityTokenService. | No |
131131
| tokenFile | string | The path to the WebIdentity token the SDK should use to assume a role with. Required if you want to use the AWS SecurityTokenService. | No |
132132
| profile | string | The profile to use for logging into AWS cluster. The default value is `default`. | No |
133+
| awsAPIPollingInterval | duration | The interval of periodical calls of AWS APIs. Currently, this is an interval of refreshing the live state of Lambda functions. Default is 15s. | No |
133134

134135
### PlatformProviderECSConfig
135136

0 commit comments

Comments
 (0)