upd
continuous-integration/drone/push Build is failing

This commit is contained in:
2026-08-13 19:02:16 +03:00
parent d4248241f4
commit 6f6fd13f55
6 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ steps:
tags:
- git-${DRONE_COMMIT_SHA:0:7}
- latest
- 4.2.3
- 4.2.4
username:
from_secret: harbor-username
password:
@@ -32,6 +32,6 @@ steps:
---
kind: signature
hmac: 1712d86941d5494cee19bfeb87ed7574d6258b1a6050d0d99cdcb5dc5397ebf0
hmac: effeee9a3c487ef54b09028d316dc4f81b12a4e28fc845fc6bb4d10f2762169e
...
+1 -1
View File
@@ -11,7 +11,7 @@ COPY --link . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /go/bin/drone-helm ./cmd/drone-helm
# --- Copy the cli to an image with helm already installed ---
FROM alpine/helm:4.2.3
FROM alpine/helm:4.2.4
COPY --link --from=builder /go/bin/drone-helm /bin/drone-helm
COPY --link ./assets/kubeconfig.tpl /root/.kube/config.tpl
+1 -1
View File
@@ -41,7 +41,7 @@ Installations are triggered when the `mode` setting is "upgrade." They can also
| dependencies_action | string | | | Calls `helm dependency build` OR `helm dependency update` before running the main command. Possible values: `build`, `update`. |
| wait_for_upgrade | boolean | | wait | Wait until kubernetes resources are in a ready state before marking the installation successful. |
| timeout | duration | | | Timeout for any *individual* Kubernetes operation. The installation's full runtime may exceed this duration. |
| force_upgrade | boolean | | force | Pass `--force` to `helm upgrade`. |
| force_upgrade | boolean | | force | Pass `--force-replace` to `helm upgrade`. |
| atomic_upgrade | boolean | | | Pass `--atomic` to `helm upgrade`. |
| cleanup_failed_upgrade | boolean | | | Pass `--cleanup-on-fail` to `helm upgrade`. |
| history_max | int | | | Pass `--history-max` to `helm upgrade`. |
+1 -1
View File
@@ -53,7 +53,7 @@ type Config struct {
Timeout string `` // Argument to pass to --timeout in applicable helm commands
Chart string `` // Chart argument to use in applicable helm commands
Release string `` // Release argument to use in applicable helm commands
Force bool `envconfig:"force_upgrade"` // Pass --force to applicable helm commands
Force bool `envconfig:"force_upgrade"` // Pass --force-replace to applicable helm commands
AtomicUpgrade bool `split_words:"true"` // Pass --atomic to `helm upgrade`
CleanupOnFail bool `envconfig:"cleanup_failed_upgrade"` // Pass --cleanup-on-fail to `helm upgrade`
LintStrictly bool `split_words:"true"` // Pass --strict to `helm lint`
+1 -1
View File
@@ -88,7 +88,7 @@ func (u *Upgrade) Prepare() error {
args = append(args, "--timeout", u.timeout)
}
if u.force {
args = append(args, "--force")
args = append(args, "--force-replace")
}
if u.atomic {
args = append(args, "--atomic")
+1 -1
View File
@@ -151,7 +151,7 @@ func (suite *UpgradeTestSuite) TestPrepareWithUpgradeFlags() {
"--wait",
"--reuse-values",
"--timeout", "sit_in_the_corner",
"--force",
"--force-replace",
"--atomic",
"--cleanup-on-fail",
"--set", "age=35",