-
Notifications
You must be signed in to change notification settings - Fork 5
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
chore(deps): bump github.com/rubenv/sql-migrate from 1.5.2 to 1.6.1 #282
chore(deps): bump github.com/rubenv/sql-migrate from 1.5.2 to 1.6.1 #282
Conversation
…hub/codeql-action-2.21.0 chore(deps): bump github/codeql-action from 2.20.3 to 2.21.0
feat(helm): add ability for --dry-run to do lookup functions
There are a few changes to the new dry-run handling: 1. Some documentation is added to help clarify what is happening and what is expected. 2. DryRun is never changed by internal handling. If an API user sets the property it is not changed by our code. 3. The behavior on contacting the server with false/none is made consistent between install and upgrade. Signed-off-by: Matt Farina <[email protected]>
Tweaking new dry-run internal handling
When an index is in a JSON format, the `sigs.k8s.io/yaml` package uses an inefficient approach to unmarshaling the data, as it does an unnecessary roundtrip on the data to transform the YAML to valid JSON. To prevent this from happening, detect if the bytes which we attempt to load contain valid JSON, and unmarshal them directly using `json.Unmarshal` instead. Signed-off-by: Hidde Beydals <[email protected]>
This adds support for generating the repository index file in JSON format using the `--json` flag. The index itself is still written to `index.yaml`, which is fully backwards compatible as YAML is a superset of JSON. For big indexes (think multiple megabytes), this approach is however more efficient in combination with the changes to the load logic, as it prevents a YAML -> JSON roundtrip during decoding. Signed-off-by: Hidde Beydals <[email protected]>
…com/stretchr/testify-1.8.4 chore(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.4
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.9.0 to 1.9.3. - [Release notes](https://github.com/sirupsen/logrus/releases) - [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md) - [Commits](sirupsen/logrus@v1.9.0...v1.9.3) --- updated-dependencies: - dependency-name: github.com/sirupsen/logrus dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: cuisongliu <[email protected]>
…com/sirupsen/logrus-1.9.3 chore(deps): bump github.com/sirupsen/logrus from 1.9.0 to 1.9.3
…rom_files_lines strip trailing newline from Files.Lines
Signed-off-by: Matt Farina <[email protected]>
…bel during install/upgrade Signed-off-by: Dmitry Chepurovskiy <[email protected]>
Signed-off-by: shoce <[email protected]>
Fix multiple bugs in values handling
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.21.0 to 2.21.2. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@1813ca7...0ba4244) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
This commit replaces `ensure.TempDir` with `t.TempDir` in tests. The directory created by `t.TempDir` is automatically removed when the test and all its subtests complete. Prior to this commit, temporary directory created using `ensure.TempDir` needs to be removed manually by calling `os.RemoveAll`, which is omitted in some tests. The error handling boilerplate e.g. defer func() { if err := os.RemoveAll(dir); err != nil { t.Fatal(err) } } is also tedious, but `t.TempDir` handles this for us nicely. Reference: https://pkg.go.dev/testing#T.TempDir Signed-off-by: Eng Zer Jun <[email protected]>
Signed-off-by: Dmitry Chepurovskiy <[email protected]>
Signed-off-by: Graham Reed <[email protected]>
Signed-off-by: Graham Reed <[email protected]>
…in a containing one" Signed-off-by: Graham Reed <[email protected]>
oci: Add flag --plain-http to enable working with HTTP registries
fix(main): fix basic auth for helm pull or push
…util [helm/pkg] add volumes and volumeMounts in chartutil
Add `helm get metadata` command
Use wrapped error so that ErrNoObjectsVisited can be compared
Remove warning for template directory not found
Signed-off-by: Joe Julian <[email protected]>
Signed-off-by: Joe Julian <[email protected]>
Revert "Add `helm get metadata` command"
helm create: move livenessProbe and readinessProbe values to default values file
Add support for RISC-V
Noteis: 1. This moves golangci scanning to a GitHub action. This will enable inline pointers to issues in the PR where linting fails. 2. Go 1.21 is specified in the go.mod because Kubernetes libs require it. 3. The lint issues were removed. Some were fixed while others were handled by skipping linting or using _ as an argument. Many of these can be refactored later for better cleanup. Signed-off-by: Matt Farina <[email protected]>
…shadowing lint and validate dependency metadata to reference dependencies with …
Update to Go 1.21 for builds
Speed up `tpl`
Signed-off-by: Antoine Deschênes <[email protected]>
Signed-off-by: Joe Julian <[email protected]>
lint: Add --kube-version flag to set capabilities and deprecation rules
feature(pkg/engine): introduce RenderWithClientProvider
Verify generation in readiness checks
CI, tests, and building failed after helm#10920 was merged. This change fixes the issues that were introduced. Signed-off-by: Matt Farina <[email protected]>
Fix issues when verify generation readiness was merged
Signed-off-by: Matt Farina <[email protected]>
feat(helm for werf): make cmd package exportable - change "main" package name to "helm_v3"; - make all top-level helm commands constructors exportable for helm_v3 package. feat(helm for werf): support custom resources waiter feat(helm for werf): export plugins loader and version cmd feat(helm for werf): add ability to pass options for install/upgrade cmd-s - Added helm cmd creation options to redefine: - postrenderer; - create-namespace, wait, atomic flags; - value-opts. feat(helm for werf): added ChartExtender support into Chart to implement WerfChart extensions, added custom loader options support - Patched loader package to accept ChartExtender-interfaced object and factory to create extender for subcharts using loader.GlobalLoadOptions structure. - Added support for custom chart files loader, chart locator and values-related files reader using loader.LoadOptions. - Needed to implement determinism mode in the werf: werf/werf#2874. - ChartExtender allows adding extra templates and values, generation of Chart.yaml. - Exported 'helm chart' subcommand. feat(helm for werf): fix 'has no deployed releases' error when release is in pending install/upgrade/rollback status feat(helm for werf): introduce wait option for resources deletion using ResourcesWaiter feat(helm for werf): introduce DeleteNamespace and DeleteHooks uninstall options feat(helm for werf): fix manifest corrupted by Helm when `|-` is used in the end of the template Refs werf/werf#2304 feat(helm for werf): add ability to pass external values to "template" command feat(helm for werf): remove errPending on upgrade errPending on upgrade could occur when some deploy has been interrupted by a signal. In this case helm leave release in inconsistent state which could not be healed by automatical redeploy. Werf uses own distributed release locking by release name using Kubernetes configmap annotations to synchronize multiple deploy processes. Werf implementation supports interrupting of werf-deploy process by some signal. https: //github.com/helm/issues/8987 feat(helm for werf): more exports for helm-chart related commands feat(helm for werf): make destination option for helm-chart-export Also added ability to export chart into exactly specified directory (helm uses DESTINATION/CHART_NAME by default). feat(helm for werf): fix Chart.lock file not unpacked when applying bundle feat(helm for werf): refactor chart.Extender interface - Put all loader function callbacks into extender. - Fix subchart loading. - Refactor chart.Extender interface functions itself. feat(helm for werf): added ClientExtender interface into kube.Client feat(helm for werf): expose helm template --validate, --include-crds and --is-upgrade options feat(helm for werf): export envSettings kube client getter and fix namespace getter to use overriden namespace if set feat(helm for werf): export some chartutil lowlevel functions Refs werf/werf#3325 feat(helm for werf): disable Chart.yaml linting in lint command feat(helm for werf): export registry cmd factory feat(helm for werf): support insecure http registries for published helm charts fix(helm for werf): fix --create-namespace flag RBAC issue Allow case when namespace already exists in the cluster and user does not have a permission to create namespaces. `helm install --create-namespace` would not try to create namespace in such case. This change makes `--create-namespace` flag behaviour more idempotent. Upstream PR: helm#9775. feat(helm for werf): fix .Release.IsInstall for a release which has not been installed successfully yet .Release.IsInstall will be true until we successfully installed release. fix(helm for werf): "... has no deployed releases" error when release history limit reached on initial installation Fixed old releases rotation procedure to not require a deployed release to exists. An error will arise when there are no successfully deployed release yet, but releases history limit has been reached. In such situation helm will refuse to upgrade release anymore with "... has no deployed releases" error. Furthermore, release rotation procedure already expecting lastDeployedRelease to be either nil, or not nil. So it is assumed that deployed release may exist or may not and these both outcomes were already expected as a valid situation rather than a failure. feat(helm for werf): export helm push and pull commands feat(helm for werf): support post-renderer chaining fix(helm for werf): fixed broken 3 way merge when previous release was failed Create a patch from previous release revision no matter succeeded it was or failed, rather than always creating a patch from the previous succeeded release revision. Affect following cases: - werf/werf#3461 - werf/werf#3462 fix(helm for werf): fix --set-file giving []uint{} array intead of string feat(helm for werf): support show-only cli param for template cmd fix(helm for werf): solved broken 3 way merge case when pre-upgrade hook fails Helm does not remove env-variable if pre-upgrade hook failed in the first deploy and succeeded next time. More info about the case: werf/werf#4155 feat(export-values): map values from parent chart to child chart fix(helm-for-werf): detailed error message for "current release manifest contains removed kubernetes api(s) ..." error Revert "fix(helm for werf): solved broken 3 way merge case when pre-upgrade hook fails" This reverts commit ac5ef5e. Revert "fix(helm for werf): fixed broken 3 way merge when previous release was failed" This reverts commit b2adb71. feat: deploy in multiple stages; improve 3way merge * Resource deployment now can happen in multiple stages. * 3-way merge improved for install/upgrade/uninstall/rollback: resources deployed in previous non-successful releases accounted for in merge. chore(helm for werf): expose IsPluginError to check hidden internal error feat(uninstall): add DontFailIfNoRelease option fix(export-values): propagate result of export-values to all parent charts Values When we defined some Values in the subchart and also some of these Values defined in this chart's parents and we are passing some values via export-values to the same keys, then the merge result was wrong. chore(helm for werf): expose PluginErrorCode to get hidden internal error code feat(external-deps): external dependencies for release resources ExternalDepsGenerator can be passed to generate external dependencies for release resources and wait for them before each Stage is started. refactor(external-deps): reorganize Phase/Stage packages chore(helm for werf): fix unit tests compilation chore(helm for werf): fix unit tests that to use phases status output and storage test from upstream Refs helm#10085 refactor(helm for werf): make IgnorePending an option for upgrade to fix upgrade unit test IgnorePending option used by the werf to prevent helm's optimistic locking. chore(helm for werf): fix unit test for upgrade action fix(external-deps): use Unstructured instead of builtin types fix(external-deps): set namespace only if resource namespaced feat: split long templating errors over multiple lines feat: `tpl` performance improved Template object Clone()'d instead of creating every time. feat: skip templating if plain text with no templates passed to `tpl` Don't start templating if no templates passed to `tpl`, just plain text. Return this plain text as is from `tpl`. fix: 3way merge patch had missing fields fix: skip delete if unmatched ownership metadata fix: revert "feat: `tpl` performance improved" This reverts commit 3b1b7cc. fix: cleanupOnFail imrovements Fixed: * Half-succeeded deploys that created new resources won't break subsequent deploys. * Created/Updated/Deleted internal Result resource lists were not consistent — now they represent what was actually done. * CleanupOnFail now deletes only resources from the current stage instead of all stages. Changed: * CleanupOnFail now triggers only while applying manifests and won't be triggered while tracking resource progress (for easier debugging by user). New: * CleanupOnFail option for Install. feat: `tpl` performance improved Template object Clone()'d instead of creating every time. fix: install ./crds fails after dismiss fix: properly initialize all slice structs fix: wrong stage picked on Apply error to calculate CreatedResources fix: resource Group ignored when checking whether the same resource feat(helm-for-werf): allow usage of unmanaged helm repos in dependency building Set AllowMissingRepos flag for dependency manager Build operation to disable errors when using unknown to helm repositories in the Chart.yaml dependencies. feat(helm for werf): expose chart saving procedure SaveIntoTar feat(helm for werf): rework uninstall-with-namespace procedure * improve logging: which namespace and release used, whether release and namespace actually exists; * fix case when release already not-exists, but we need to remove namespace due to --with-namespace option. fix: dont rely on resource Group for resources equality matching Same underlying resource can be exposed on different API Groups and we have no sane way to determine on which API Groups it is exposed. Thus we ignore Group altogether, no better workaround for now. fix(helm for werf): uninstall with DeleteNamespace option not removing namespace fix: keep all revisions since last succeeded revision fix: keep all revisions if no succeeded release feat: add --deploy-report-path option chore: update minimum Go version to 1.20 fix: leftovers from experimental deploy engine branch Signed-off-by: Ilya Lesikov <[email protected]>
Signed-off-by: Ilya Lesikov <[email protected]>
33a5c9d
to
cb440eb
Compare
Signed-off-by: Ilya Lesikov <[email protected]>
Bumps [github.com/rubenv/sql-migrate](https://github.com/rubenv/sql-migrate) from 1.5.2 to 1.6.1. - [Commits](rubenv/sql-migrate@v1.5.2...v1.6.1) --- updated-dependencies: - dependency-name: github.com/rubenv/sql-migrate dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
cb440eb
to
6124178
Compare
3d8daea
to
c13a292
Compare
359f732
to
8274718
Compare
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Bumps github.com/rubenv/sql-migrate from 1.5.2 to 1.6.1.
Commits
bc5e259
update sql-migrate4c7bdce
Appease goimportsa7298de
Allow dot imports where idiomaticefb3a99
Avoid use of deprecated io/ioutil6d3e3af
Update golangci-lint to 1.55.2, update depguard config9f03b5b
Drop toolchain line62777b5
Fix dependenciescea42be
Bump golang.org/x/crypto from 0.5.0 to 0.17.032f29a2
Drop bunch of dependencies that are no longer neededf4a7ae3
Point out that embed is the way to go nowYou can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major version
will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor version
will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>
will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>
will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>
will remove the ignore condition of the specified dependency and ignore conditions