Skip to content
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

Specify Version For Templating Tools #4463

Merged
merged 2 commits into from
Jul 5, 2023

Conversation

anhpnv
Copy link
Contributor

@anhpnv anhpnv commented Jul 3, 2023

What this PR does / why we need it:

  1. Install both specify version Helm and Kustomize

Which issue(s) this PR fixes:

Fixes #4382

Does this PR introduce a user-facing change?:

  • Is this breaking change:
  • How to migrate (if breaking change):
  • How are users affected by this change: Enable to specify both helm and kustomize version via app config input

@anhpnv anhpnv changed the title specify version for templating tools Specify Version For Templating Tools Jul 3, 2023
@anhpnv anhpnv force-pushed the specify-version-helm-kustomize branch from 0746a56 to bd0c59a Compare July 5, 2023 13:42
@anhpnv
Copy link
Contributor Author

anhpnv commented Jul 5, 2023

I have updated my code, my test case is i have installed wrong version of helm and kustomize:

  helmVersion: 3.27.9
  kustomizeVersion: 5.88.7

The point is if i write code like this

l.helm, l.initErr = l.findHelm(ctx, l.input.HelmVersion)
l.kustomize, l.initErr = l.findKustomize(ctx, l.input.KustomizeVersion)

It may not have error for installing helm, and in web console like:
image

With my updated code, it display both :
image

What do you think ? 😃

@khanhtc1202
Copy link
Member

The error is not really user friendly but it works for me, I think it's clear enough 👍

Copy link
Member

@khanhtc1202 khanhtc1202 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you 🤝

@khanhtc1202 khanhtc1202 merged commit 418aab9 into pipe-cd:master Jul 5, 2023
kentakozuka pushed a commit that referenced this pull request Jul 12, 2023
* specify version for templating tools

Signed-off-by: Viet Anh Pham Nhu <[email protected]>

* Handle Error Both Install Helm And Kustomize

Signed-off-by: Viet Anh Pham Nhu <[email protected]>

---------

Signed-off-by: Viet Anh Pham Nhu <[email protected]>
kentakozuka pushed a commit that referenced this pull request Jul 12, 2023
* specify version for templating tools

Signed-off-by: Viet Anh Pham Nhu <[email protected]>

* Handle Error Both Install Helm And Kustomize

Signed-off-by: Viet Anh Pham Nhu <[email protected]>

---------

Signed-off-by: Viet Anh Pham Nhu <[email protected]>
Signed-off-by: Kenta Kozuka <[email protected]>
kentakozuka added a commit that referenced this pull request Jul 12, 2023
)

* Update web deps (#4451)

Signed-off-by: khanhtc1202 <[email protected]>
Signed-off-by: Kenta Kozuka <[email protected]>

* Update quickstart to support arm hardware(ex: M1) (#4457)

* Add: arch selection for mysql image
Update chart values and templates for mysql deployment

Signed-off-by: gitbluf <[email protected]>

* Update: MySql image selector function to be more descriptive

Signed-off-by: gitbluf <[email protected]>

* Remove: mysql image set on piped installation

Signed-off-by: gitbluf <[email protected]>

* Update method name

Signed-off-by: gitbluf <[email protected]>

---------

Signed-off-by: gitbluf <[email protected]>
Signed-off-by: Kenta Kozuka <[email protected]>

* Support AWS LoadBalancer with multi listeners (#4462)

* Support AWS LoadBalancer with multi listeners

Signed-off-by: khanhtc1202 <[email protected]>

* Fix go array index

Signed-off-by: khanhtc1202 <[email protected]>

* Rename symbol

Signed-off-by: khanhtc1202 <[email protected]>

---------

Signed-off-by: khanhtc1202 <[email protected]>
Signed-off-by: Kenta Kozuka <[email protected]>

* Specify Version For Templating Tools (#4463)

* specify version for templating tools

Signed-off-by: Viet Anh Pham Nhu <[email protected]>

* Handle Error Both Install Helm And Kustomize

Signed-off-by: Viet Anh Pham Nhu <[email protected]>

---------

Signed-off-by: Viet Anh Pham Nhu <[email protected]>
Signed-off-by: Kenta Kozuka <[email protected]>

* Output usage only when flag parsing fails #4381 (#4464)

Signed-off-by: Yoshiki Fujikane <[email protected]>
Signed-off-by: Kenta Kozuka <[email protected]>

* Fix ECS rollback stage does not remove canary created tasks (#4465)

* Fix cannot remove canary created task

Signed-off-by: ductnn <[email protected]>

* Fix reuse clean function

Signed-off-by: ductnn <[email protected]>

* Update logs message for ECS routing stage rollback

Signed-off-by: ductnn <[email protected]>

---------

Signed-off-by: ductnn <[email protected]>
Signed-off-by: Kenta Kozuka <[email protected]>

* Update logs message for ECS routing stage executor (#4466)

Signed-off-by: khanhtc1202 <[email protected]>
Signed-off-by: Kenta Kozuka <[email protected]>

* fix: update deprecated apiVersion since gke removed (#4469)

GoogleCloudPlatform/gke-managed-certs#58

Signed-off-by: hungran <[email protected]>
Signed-off-by: Kenta Kozuka <[email protected]>

* Skip update AppState when no log updates (#4482)

Signed-off-by: Kenta Kozuka <[email protected]>

---------

Signed-off-by: khanhtc1202 <[email protected]>
Signed-off-by: Kenta Kozuka <[email protected]>
Signed-off-by: gitbluf <[email protected]>
Signed-off-by: Viet Anh Pham Nhu <[email protected]>
Signed-off-by: Yoshiki Fujikane <[email protected]>
Signed-off-by: ductnn <[email protected]>
Signed-off-by: hungran <[email protected]>
Co-authored-by: Khanh Tran <[email protected]>
Co-authored-by: Marko Petrovic <[email protected]>
Co-authored-by: Viet Anh Pham Nhu <[email protected]>
Co-authored-by: Yoshiki Fujikane <[email protected]>
Co-authored-by: Duc Tran <[email protected]>
Co-authored-by: Henry Vu <[email protected]>
Co-authored-by: Kurochan <[email protected]>
@github-actions github-actions bot mentioned this pull request Jul 12, 2023
@github-actions github-actions bot mentioned this pull request Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Better way to specify version for templating tools
2 participants