New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Canary & Blue/Green for ECS by pipectl init
#4801
Conversation
Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4801 +/- ##
==========================================
+ Coverage 28.91% 29.16% +0.24%
==========================================
Files 317 317
Lines 40369 40558 +189
==========================================
+ Hits 11674 11828 +154
- Misses 27767 27793 +26
- Partials 928 937 +9 ☔ View full report in Codecov by Sentry. |
/review |
PR AnalysisMain theme
PR summary
Type of PR
PR Feedback:General suggestions
Code feedback
Security concerns:
The PR code does not introduce direct security concerns as it mainly pertains to command-line prompts and configuration generation, without handling external inputs that could be source vectors for attacks like SQL injection or CSRF. It's essential to ensure that future changes do not allow external influence on the prompt input, which could raise security issues. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, nice improvement 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you 👌
* Add expected YAML for kustomize Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Add Kustomize pattern for pipectl init Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Add Helm pattern for pipectl init Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Add options for Helm Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * fix typo Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Add ECS canary for pipectl init Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Add pipectl init status Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * add init cmd to pipectl doc Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * add pipectl init explanation Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * fi pipectl init status Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Embed the simple AnalysisStage in pipeline by default Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Merge fix origin/master into pipectl-init-ecs-canary Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * fix prompt message and default value Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Fix output YAML structure by generic structs Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Support Blue/Green for ECS by pipectl init Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * omitempty Percentage Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Changed default values for simpler config Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Rename funcs to avoid name conflicts with other platforms Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> --------- Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> Co-authored-by: Khanh Tran <32532742+khanhtc1202@users.noreply.github.com>
* Add expected YAML for kustomize Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Add Kustomize pattern for pipectl init Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Add Helm pattern for pipectl init Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Add options for Helm Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * fix typo Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Add ECS canary for pipectl init Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Add pipectl init status Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * add init cmd to pipectl doc Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * add pipectl init explanation Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * fi pipectl init status Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Embed the simple AnalysisStage in pipeline by default Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Merge fix origin/master into pipectl-init-ecs-canary Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * fix prompt message and default value Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Fix output YAML structure by generic structs Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Support Blue/Green for ECS by pipectl init Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * omitempty Percentage Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Changed default values for simpler config Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Rename funcs to avoid name conflicts with other platforms Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> --------- Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> Co-authored-by: Khanh Tran <32532742+khanhtc1202@users.noreply.github.com> Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com>
#4883 #4887 #4885 #4886 #4884 #4880 (#4890) * Update contributors list (#4866) Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com> * Use valid semver in run/pipecd command (#4851) * Use valid semver in run/pipecd command Signed-off-by: David <19214156+dgannon991@users.noreply.github.com> * Swapped to simpler local version Signed-off-by: David Gannon <19214156+dgannon991@users.noreply.github.com> * Include a comment explaining why we hard coded Signed-off-by: David Gannon <19214156+dgannon991@users.noreply.github.com> --------- Signed-off-by: David <19214156+dgannon991@users.noreply.github.com> Signed-off-by: David Gannon <19214156+dgannon991@users.noreply.github.com> Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com> * Support Canary & Blue/Green for ECS by `pipectl init` (#4801) * Add expected YAML for kustomize Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Add Kustomize pattern for pipectl init Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Add Helm pattern for pipectl init Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Add options for Helm Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * fix typo Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Add ECS canary for pipectl init Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Add pipectl init status Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * add init cmd to pipectl doc Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * add pipectl init explanation Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * fi pipectl init status Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Embed the simple AnalysisStage in pipeline by default Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Merge fix origin/master into pipectl-init-ecs-canary Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * fix prompt message and default value Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Fix output YAML structure by generic structs Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Support Blue/Green for ECS by pipectl init Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * omitempty Percentage Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Changed default values for simpler config Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Rename funcs to avoid name conflicts with other platforms Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> --------- Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> Co-authored-by: Khanh Tran <32532742+khanhtc1202@users.noreply.github.com> Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com> * [doc] Fix typo x2 in DeploymentChain (#4872) * Fix typo: archive->achieve Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Fix type: deployment->development Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Fix typos of 'achieve' and 'under development' in older docs Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> --------- Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com> * docs: added install method (#4875) Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com> * Fix unable to use SecretEncryption and Attachment features at the same time (#4855) * Add test to mention error with go templating Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com> * Reimplement sourceprosser logic Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com> * SourceProssesor without processor should be marked as error Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com> * Add test Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com> * Enable perform template processing in chain Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com> * Fix typo Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com> --------- Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com> * Add a caution comment of scrape_interval (#4869) * Add caution comment of scrape_interval Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Remove concrete value Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> * Fix to commit hash of v0.47.0 to fix the ref position Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> --------- Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com> * Rewrite pipectl installation docs (#4877) Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com> * Fix typo (#4878) Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com> * Set initial-branch on git init (#4882) Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com> * Update contributors list (#4883) Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com> * Bump golang.org/x/net from 0.17.0 to 0.23.0 (#4887) Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com> * Bump golang.org/x/net in /tool/actions-plan-preview (#4885) Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com> * Bump golang.org/x/net from 0.17.0 to 0.23.0 in /tool/actions-gh-release (#4886) Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com> * Update default versions of kubectl, kustomize and helm in configuration-reference.md (#4884) Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com> * Add Homebrew Formula (#4880) Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com> --------- Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com> Signed-off-by: David <19214156+dgannon991@users.noreply.github.com> Signed-off-by: David Gannon <19214156+dgannon991@users.noreply.github.com> Signed-off-by: t-kikuc <tkikuchi07f@gmail.com> Co-authored-by: David Gannon <19214156+dgannon991@users.noreply.github.com> Co-authored-by: Tetsuya Kikuchi <97105818+t-kikuc@users.noreply.github.com> Co-authored-by: YuyaKoda <29038315+ponkio-o@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Shinichi Nishimura <nshmura.s@gmail.com> Co-authored-by: Shohei Ueda <30958501+peaceiris@users.noreply.github.com>
What this PR does / why we need it:
[1] Support generating app.pipecd.yaml by
pipectl init
for ECS with[2] Remove required input fields to simplify user's input
Which issue(s) this PR fixes:
Fixes #4800
Does this PR introduce a user-facing change?: no