Skip to content

Commit

Permalink
Cherry-pick #5266 #5268 #5269 #5272 (#5273)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
4 people authored Oct 9, 2024
1 parent fa404a8 commit eb98030
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 540 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish_image_chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
permissions:
contents: write
pull-requests: write
steps:
# setup tools and repositories
- name: Install helm
Expand All @@ -162,15 +163,14 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Determine version
run: echo "PIPECD_VERSION=$(git describe --tags --always --abbrev=7)" >> $GITHUB_ENV
ref: master

# Building and publishing quickstart manifests.
# we use `github.ref_name` to get the tag name without the `refs/tags/` prefix.
- name: Build quickstart manifests
run: |
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
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
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
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
- name: Publish quickstart manifests
uses: peter-evans/create-pull-request@v6
with:
Expand Down
2 changes: 1 addition & 1 deletion RELEASE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated by `make release` command.
# DO NOT EDIT.
tag: v0.49.1
tag: v0.49.2

releaseNoteGenerator:
showCommitter: false
Expand Down
2 changes: 0 additions & 2 deletions cmd/pipectl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import (
"github.com/pipe-cd/pipecd/pkg/app/pipectl/cmd/initialize"
"github.com/pipe-cd/pipecd/pkg/app/pipectl/cmd/piped"
"github.com/pipe-cd/pipecd/pkg/app/pipectl/cmd/planpreview"
"github.com/pipe-cd/pipecd/pkg/app/pipectl/cmd/quickstart"
"github.com/pipe-cd/pipecd/pkg/cli"
)

Expand All @@ -41,7 +40,6 @@ func main() {
planpreview.NewCommand(),
piped.NewCommand(),
encrypt.NewCommand(),
quickstart.NewCommand(),
initialize.NewCommand(),
)

Expand Down
1 change: 0 additions & 1 deletion docs/content/en/docs-dev/user-guide/command-line-tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ Available Commands:
init Generate an application config (app.pipecd.yaml) easily and interactively.
piped Manage piped resources.
plan-preview Show plan preview against the specified commit.
quickstart Quick prepare PipeCD control plane in quickstart mode.
version Print the information of current binary.
Flags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ Must be one of the following structs:
| roleARN | string | The IAM role arn to use when assuming an role. Required if you want to use the AWS SecurityTokenService. | No |
| 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 |
| profile | string | The profile to use for logging into AWS cluster. The default value is `default`. | No |
| 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 |

### PlatformProviderECSConfig

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ Available Commands:
init Generate an application config (app.pipecd.yaml) easily and interactively.
piped Manage piped resources.
plan-preview Show plan preview against the specified commit.
quickstart Quick prepare PipeCD control plane in quickstart mode.
version Print the information of current binary.
Flags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ Must be one of the following structs:
| roleARN | string | The IAM role arn to use when assuming an role. Required if you want to use the AWS SecurityTokenService. | No |
| 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 |
| profile | string | The profile to use for logging into AWS cluster. The default value is `default`. | No |
| 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 |

### PlatformProviderECSConfig

Expand Down
Loading

0 comments on commit eb98030

Please sign in to comment.