Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package chart-testing for openSUSE:Factory checked in at 2023-07-11 15:57:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/chart-testing (Old) and /work/SRC/openSUSE:Factory/.chart-testing.new.8922 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "chart-testing" Tue Jul 11 15:57:02 2023 rev:7 rq:1098009 version:3.9.0 Changes: -------- --- /work/SRC/openSUSE:Factory/chart-testing/chart-testing.changes 2023-03-28 17:50:47.527387909 +0200 +++ /work/SRC/openSUSE:Factory/.chart-testing.new.8922/chart-testing.changes 2023-07-11 15:57:17.561167667 +0200 @@ -1,0 +2,39 @@ +Mon Jul 10 17:36:40 UTC 2023 - ka...@b1-systems.de + +- Update to version 3.9.0: + * Fix for Dockerfile smell DL3048 (#543) + * add --extra-helm-args to ct lint (#552) + * update golangci and helm (#575) + * Bump docker/setup-buildx-action from 2.7.0 to 2.8.0 (#573) + * Bump sigstore/cosign-installer from 3.1.0 to 3.1.1 (#574) + * Bump anchore/sbom-action from 0.14.2 to 0.14.3 (#570) + * Bump sigstore/cosign-installer from 3.0.5 to 3.1.0 (#571) + * close readers when done with reading (#557) + * Bump docker/setup-buildx-action from 2.6.0 to 2.7.0 (#569) + * Bump docker/setup-buildx-action from 2.5.0 to 2.6.0 (#568) + * Bump goreleaser/goreleaser-action from 4.2.0 to 4.3.0 (#567) + * Bump docker/setup-qemu-action from 2.1.0 to 2.2.0 (#565) + * Bump actions/checkout from 3.5.2 to 3.5.3 (#566) + * Bump golangci/golangci-lint-action from 3.5.0 to 3.6.0 (#564) + * Bump docker/login-action from 2.1.0 to 2.2.0 (#563) + * Bump github.com/hashicorp/go-retryablehttp from 0.7.2 to 0.7.4 + (#562) + * Bump github.com/stretchr/testify from 1.8.3 to 1.8.4 (#560) + * Bump golangci/golangci-lint-action from 3.4.0 to 3.5.0 (#561) + * Bump github.com/spf13/viper from 1.15.0 to 1.16.0 (#559) + * add github grouping of log lines (#556) + * Bump sigstore/cosign-installer from 3.0.3 to 3.0.5 (#554) + * Bump helm/kind-action from 1.5.0 to 1.7.0 (#553) + * Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 (#555) + * Bump alpine from 3.17 to 3.18 (#551) + * Bump actions/setup-go from 4.0.0 to 4.0.1 (#550) + * Bump anchore/sbom-action from 0.14.1 to 0.14.2 (#549) + * Bump sigstore/cosign-installer from 3.0.2 to 3.0.3 (#548) + * Bump actions/checkout from 3.5.0 to 3.5.2 (#546) + * feat: verify if targetBranch is present in git repo (#511) + * Bump anchore/sbom-action from 0.13.4 to 0.14.1 (#542) + * Bump github.com/spf13/cobra from 1.6.1 to 1.7.0 (#544) + * Bump sigstore/cosign-installer from 3.0.1 to 3.0.2 (#545) + * update goreleaser flags (#539) + +------------------------------------------------------------------- Old: ---- chart-testing-3.8.0.obscpio New: ---- chart-testing-3.9.0.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ chart-testing.spec ++++++ --- /var/tmp/diff_new_pack.Lqd53y/_old 2023-07-11 15:57:18.525173275 +0200 +++ /var/tmp/diff_new_pack.Lqd53y/_new 2023-07-11 15:57:18.533173321 +0200 @@ -21,7 +21,7 @@ %define name_of_binary ct Name: chart-testing -Version: 3.8.0 +Version: 3.9.0 Release: 0 Summary: CLI tool for linting and testing Helm charts Group: Development/Languages/Other ++++++ _service ++++++ --- /var/tmp/diff_new_pack.Lqd53y/_old 2023-07-11 15:57:18.573173554 +0200 +++ /var/tmp/diff_new_pack.Lqd53y/_new 2023-07-11 15:57:18.577173577 +0200 @@ -3,7 +3,7 @@ <param name="url">https://github.com/helm/chart-testing</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">v3.8.0</param> + <param name="revision">v3.9.0</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">enable</param> <param name="versionrewrite-pattern">v(.*)</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.Lqd53y/_old 2023-07-11 15:57:18.601173717 +0200 +++ /var/tmp/diff_new_pack.Lqd53y/_new 2023-07-11 15:57:18.605173740 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/helm/chart-testing</param> - <param name="changesrevision">7f3a83ddc506713b7f7f1534f224dff78fead215</param></service></servicedata> + <param name="changesrevision">88cc7026481da7468e34a614b8ca4f0da42c063c</param></service></servicedata> (No newline at EOF) ++++++ chart-testing-3.8.0.obscpio -> chart-testing-3.9.0.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chart-testing-3.8.0/.github/workflows/ci.yaml new/chart-testing-3.9.0/.github/workflows/ci.yaml --- old/chart-testing-3.8.0/.github/workflows/ci.yaml 2023-03-24 13:24:35.000000000 +0100 +++ new/chart-testing-3.9.0/.github/workflows/ci.yaml 2023-07-10 12:14:23.000000000 +0200 @@ -12,7 +12,7 @@ steps: - name: checkout - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 with: fetch-depth: 0 @@ -20,28 +20,28 @@ uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # v2.0.0 - name: Setup go - uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0 + uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: go-version-file: './go.mod' check-latest: true - uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5 with: - version: v3.11.2 + version: v3.12.1 - name: Install GoReleaser - uses: goreleaser/goreleaser-action@f82d6c1c344bcacabba2c841718984797f664a6b # v4.2.0 + uses: goreleaser/goreleaser-action@336e29918d653399e599bfca99fadc1d7ffbc9f7 # v4.3.0 with: install-only: true - name: Install cosign - uses: sigstore/cosign-installer@c3667d99424e7e6047999fb6246c0da843953c65 # v3.0.1 + uses: sigstore/cosign-installer@6e04d228eb30da1757ee4e1dd75a0ec73a653e06 # v3.1.1 - name: Install syft - uses: anchore/sbom-action/download-syft@448520c4f19577ffce70a8317e619089054687e3 # v0.14.0 + uses: anchore/sbom-action/download-syft@78fc58e266e87a38d4194b2137a3d4e9bcaf7ca1 # v0.14.0 - name: Install k8s Kind - uses: helm/kind-action@d8ccf8fb623ce1bb360ae2f45f323d9d5c5e9f00 # v1.3.0 + uses: helm/kind-action@fa81e57adff234b2908110485695db0f181f3c67 # v1.3.0 with: install_only: true @@ -65,10 +65,10 @@ git diff --exit-code - name: Set up QEMU - uses: docker/setup-qemu-action@e81a89b1732b9c48d79cd809d8d81d79c4647a18 # v2.1.0 + uses: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 # v2.2.0 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@4b4e9c3e2d4531116a6f8ba8e71fc6e2cb6e6c8c # v2.5.0 + uses: docker/setup-buildx-action@16c0bc4a6e6ada2cfd8afd41d22d95379cf7c32a # v2.8.0 - name: Build run: | @@ -82,8 +82,8 @@ name: check-docs runs-on: ubuntu-latest steps: - - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 - - uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0 + - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 + - uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: go-version-file: './go.mod' check-latest: true @@ -103,12 +103,12 @@ name: lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 - - uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0 + - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 + - uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: go-version-file: './go.mod' check-latest: true - name: golangci-lint - uses: golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5 # v3 + uses: golangci/golangci-lint-action@639cd343e1d3b897ff35927a75193d57cfcba299 # v3 with: - version: v1.52.1 + version: v1.53 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chart-testing-3.8.0/.github/workflows/release.yaml new/chart-testing-3.9.0/.github/workflows/release.yaml --- old/chart-testing-3.8.0/.github/workflows/release.yaml 2023-03-24 13:24:35.000000000 +0100 +++ new/chart-testing-3.9.0/.github/workflows/release.yaml 2023-07-10 12:14:23.000000000 +0200 @@ -17,7 +17,7 @@ steps: - name: checkout - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 with: fetch-depth: 0 @@ -25,21 +25,21 @@ uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # v2.0.0 - name: Setup go - uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0 + uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: go-version-file: './go.mod' check-latest: true - name: Install GoReleaser - uses: goreleaser/goreleaser-action@f82d6c1c344bcacabba2c841718984797f664a6b # v4.2.0 + uses: goreleaser/goreleaser-action@336e29918d653399e599bfca99fadc1d7ffbc9f7 # v4.3.0 with: install-only: true - name: Install cosign - uses: sigstore/cosign-installer@c3667d99424e7e6047999fb6246c0da843953c65 # v3.0.1 + uses: sigstore/cosign-installer@6e04d228eb30da1757ee4e1dd75a0ec73a653e06 # v3.1.1 - name: Install syft - uses: anchore/sbom-action/download-syft@448520c4f19577ffce70a8317e619089054687e3 # v0.14.0 + uses: anchore/sbom-action/download-syft@78fc58e266e87a38d4194b2137a3d4e9bcaf7ca1 # v0.14.0 - name: Install tools run: | @@ -53,13 +53,13 @@ git diff --exit-code - name: Set up QEMU - uses: docker/setup-qemu-action@e81a89b1732b9c48d79cd809d8d81d79c4647a18 # v2.1.0 + uses: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 # v2.2.0 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@4b4e9c3e2d4531116a6f8ba8e71fc6e2cb6e6c8c # v2.5.0 + uses: docker/setup-buildx-action@16c0bc4a6e6ada2cfd8afd41d22d95379cf7c32a # v2.8.0 - name: Login to registry - uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0 + uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0 with: registry: quay.io username: ${{ secrets.DOCKER_USERNAME }} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chart-testing-3.8.0/.golangci.yml new/chart-testing-3.9.0/.golangci.yml --- old/chart-testing-3.8.0/.golangci.yml 2023-03-24 13:24:35.000000000 +0100 +++ new/chart-testing-3.9.0/.golangci.yml 2023-07-10 12:14:23.000000000 +0200 @@ -1,7 +1,6 @@ linters: enable: - asciicheck - - depguard - errcheck - errorlint - gofmt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chart-testing-3.8.0/.goreleaser.yml new/chart-testing-3.9.0/.goreleaser.yml --- old/chart-testing-3.8.0/.goreleaser.yml 2023-03-24 13:24:35.000000000 +0100 +++ new/chart-testing-3.9.0/.goreleaser.yml 2023-07-10 12:14:23.000000000 +0200 @@ -33,7 +33,8 @@ -X github.com/helm/chart-testing/v3/ct/cmd.BuildDate={{ .Date }} archives: - - format_overrides: + - rlcp: true + format_overrides: - goos: windows format: zip files: @@ -114,3 +115,6 @@ cmd: cosign args: ["sign", "${artifact}"] artifacts: manifests + +changelog: + use: github-native diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chart-testing-3.8.0/Dockerfile new/chart-testing-3.9.0/Dockerfile --- old/chart-testing-3.8.0/Dockerfile 2023-03-24 13:24:35.000000000 +0100 +++ new/chart-testing-3.9.0/Dockerfile 2023-07-10 12:14:23.000000000 +0200 @@ -1,4 +1,4 @@ -FROM alpine:3.17 +FROM alpine:3.18 RUN apk --no-cache add \ bash \ @@ -13,25 +13,25 @@ # Install a YAML Linter ARG yamllint_version=1.29.0 -LABEL yamllint_version=$yamllint_version +LABEL yamllint-version=$yamllint_version RUN pip install "yamllint==$yamllint_version" # Install Yamale YAML schema validator ARG yamale_version=4.0.4 -LABEL yamale_version=$yamale_version +LABEL yamale-version=$yamale_version RUN pip install "yamale==$yamale_version" ARG TARGETPLATFORM # Install kubectl ARG kubectl_version=v1.26.2 -LABEL kubectl_version=$kubectl_version +LABEL kubectl-version=$kubectl_version RUN curl -LO "https://storage.googleapis.com/kubernetes-release/release/$kubectl_version/bin/$TARGETPLATFORM/kubectl" && \ chmod +x kubectl && \ mv kubectl /usr/local/bin/ # Install Helm ARG helm_version=v3.11.2 -LABEL helm_version=$helm_version +LABEL helm-version=$helm_version RUN targetArch=$(echo $TARGETPLATFORM | cut -f2 -d '/') \ && if [ ${targetArch} = "amd64" ]; then \ HELM_ARCH="linux-amd64"; \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chart-testing-3.8.0/build.sh new/chart-testing-3.9.0/build.sh --- old/chart-testing-3.8.0/build.sh 2023-03-24 13:24:35.000000000 +0100 +++ new/chart-testing-3.9.0/build.sh 2023-07-10 12:14:23.000000000 +0200 @@ -59,7 +59,7 @@ shift done - local goreleaser_args=(--rm-dist) + local goreleaser_args=(--clean) if [[ -n "$debug" ]]; then goreleaser_args+=(--debug) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chart-testing-3.8.0/ct/cmd/install.go new/chart-testing-3.9.0/ct/cmd/install.go --- old/chart-testing-3.8.0/ct/cmd/install.go 2023-03-24 13:24:35.000000000 +0100 +++ new/chart-testing-3.9.0/ct/cmd/install.go 2023-07-10 12:14:23.000000000 +0200 @@ -61,9 +61,6 @@ An optional, arbitrary identifier that is added to the name of the namespace a chart is installed into. In a CI environment, this could be the build number or the ID of a pull request. If not specified, the name of the chart is used`)) - flags.String("helm-extra-args", "", heredoc.Doc(` - Additional arguments for Helm. Must be passed as a single quoted string - (e.g. "--timeout 500s"`)) flags.Bool("upgrade", false, heredoc.Doc(` Whether to test an in-place upgrade of each chart from its previous revision if the current version should not introduce a breaking change according to the SemVer spec`)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chart-testing-3.8.0/ct/cmd/lint.go new/chart-testing-3.9.0/ct/cmd/lint.go --- old/chart-testing-3.8.0/ct/cmd/lint.go 2023-03-24 13:24:35.000000000 +0100 +++ new/chart-testing-3.9.0/ct/cmd/lint.go 2023-07-10 12:14:23.000000000 +0200 @@ -54,26 +54,26 @@ func addLintFlags(flags *flag.FlagSet) { flags.String("lint-conf", "", heredoc.Doc(` - The config file for YAML linting. If not specified, 'lintconf.yaml' - is searched in the current directory, '$HOME/.ct', and '/etc/ct', in - that order`)) + The config file for YAML linting. If not specified, 'lintconf.yaml' + is searched in the current directory, '$HOME/.ct', and '/etc/ct', in + that order`)) flags.String("chart-yaml-schema", "", heredoc.Doc(` - The schema for chart.yml validation. If not specified, 'chart_schema.yaml' - is searched in the current directory, '$HOME/.ct', and '/etc/ct', in - that order.`)) + The schema for chart.yml validation. If not specified, 'chart_schema.yaml' + is searched in the current directory, '$HOME/.ct', and '/etc/ct', in + that order.`)) flags.Bool("validate-maintainers", true, heredoc.Doc(` - Enable validation of maintainer account names in chart.yml. - Works for GitHub, GitLab, and Bitbucket`)) + Enable validation of maintainer account names in chart.yml. + Works for GitHub, GitLab, and Bitbucket`)) flags.Bool("check-version-increment", true, "Activates a check for chart version increments") flags.Bool("validate-chart-schema", true, heredoc.Doc(` - Enable schema validation of 'Chart.yaml' using Yamale`)) + Enable schema validation of 'Chart.yaml' using Yamale`)) flags.Bool("validate-yaml", true, heredoc.Doc(` - Enable linting of 'Chart.yaml' and values files`)) + Enable linting of 'Chart.yaml' and values files`)) flags.StringSlice("additional-commands", []string{}, heredoc.Doc(` - Additional commands to run per chart (default: []) - Commands will be executed in the same order as provided in the list and will - be rendered with go template before being executed. - Example: "helm unittest --helm3 -f tests/*.yaml {{ .Path }}"`)) + Additional commands to run per chart (default: []) + Commands will be executed in the same order as provided in the list and will + be rendered with go template before being executed. + Example: "helm unittest --helm3 -f tests/*.yaml {{ .Path }}"`)) } func lint(cmd *cobra.Command, _ []string) error { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chart-testing-3.8.0/ct/cmd/root.go new/chart-testing-3.9.0/ct/cmd/root.go --- old/chart-testing-3.8.0/ct/cmd/root.go 2023-03-24 13:24:35.000000000 +0100 +++ new/chart-testing-3.9.0/ct/cmd/root.go 2023-07-10 12:14:23.000000000 +0200 @@ -77,6 +77,9 @@ Prints the configuration to stderr (caution: setting this may expose sensitive data when helm-repo-extra-args contains passwords)`)) flags.Bool("exclude-deprecated", false, "Skip charts that are marked as deprecated") + flags.Bool("github-groups", false, heredoc.Doc(` + Change the delimiters for github to create collapsible groups + for command output`)) } func addCommonLintAndInstallFlags(flags *pflag.FlagSet) { @@ -92,6 +95,9 @@ Additional chart repositories for dependency resolutions. Repositories should be formatted as 'name=url' (ex: local=http://127.0.0.1:8879/charts). May be specified multiple times or separate values with commas`)) + flags.String("helm-extra-args", "", heredoc.Doc(` + Additional arguments for Helm. Must be passed as a single quoted string + (e.g. "--timeout 500s")`)) flags.StringSlice("helm-repo-extra-args", []string{}, heredoc.Doc(` Additional arguments for the 'helm repo add' command to be specified on a per-repo basis with an equals sign as delimiter diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chart-testing-3.8.0/doc/ct_install.md new/chart-testing-3.9.0/doc/ct_install.md --- old/chart-testing-3.8.0/doc/ct_install.md 2023-03-24 13:24:35.000000000 +0100 +++ new/chart-testing-3.9.0/doc/ct_install.md 2023-07-10 12:14:23.000000000 +0200 @@ -48,9 +48,11 @@ --exclude-deprecated Skip charts that are marked as deprecated --excluded-charts strings Charts that should be skipped. May be specified multiple times or separate values with commas + --github-groups Change the delimiters for github to create collapsible groups + for command output --helm-dependency-extra-args strings Additional arguments for 'helm dependency build' (e.g. ["--skip-refresh"] --helm-extra-args string Additional arguments for Helm. Must be passed as a single quoted string - (e.g. "--timeout 500s" + (e.g. "--timeout 500s") --helm-extra-set-args string Additional arguments for Helm. Must be passed as a single quoted string (e.g. "--set=name=value" --helm-repo-extra-args strings Additional arguments for the 'helm repo add' command to be diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chart-testing-3.8.0/doc/ct_lint-and-install.md new/chart-testing-3.9.0/doc/ct_lint-and-install.md --- old/chart-testing-3.8.0/doc/ct_lint-and-install.md 2023-03-24 13:24:35.000000000 +0100 +++ new/chart-testing-3.9.0/doc/ct_lint-and-install.md 2023-07-10 12:14:23.000000000 +0200 @@ -40,9 +40,11 @@ --exclude-deprecated Skip charts that are marked as deprecated --excluded-charts strings Charts that should be skipped. May be specified multiple times or separate values with commas + --github-groups Change the delimiters for github to create collapsible groups + for command output --helm-dependency-extra-args strings Additional arguments for 'helm dependency build' (e.g. ["--skip-refresh"] --helm-extra-args string Additional arguments for Helm. Must be passed as a single quoted string - (e.g. "--timeout 500s" + (e.g. "--timeout 500s") --helm-extra-set-args string Additional arguments for Helm. Must be passed as a single quoted string (e.g. "--set=name=value" --helm-repo-extra-args strings Additional arguments for the 'helm repo add' command to be diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chart-testing-3.8.0/doc/ct_lint.md new/chart-testing-3.9.0/doc/ct_lint.md --- old/chart-testing-3.8.0/doc/ct_lint.md 2023-03-24 13:24:35.000000000 +0100 +++ new/chart-testing-3.9.0/doc/ct_lint.md 2023-07-10 12:14:23.000000000 +0200 @@ -50,7 +50,11 @@ --exclude-deprecated Skip charts that are marked as deprecated --excluded-charts strings Charts that should be skipped. May be specified multiple times or separate values with commas + --github-groups Change the delimiters for github to create collapsible groups + for command output --helm-dependency-extra-args strings Additional arguments for 'helm dependency build' (e.g. ["--skip-refresh"] + --helm-extra-args string Additional arguments for Helm. Must be passed as a single quoted string + (e.g. "--timeout 500s") --helm-repo-extra-args strings Additional arguments for the 'helm repo add' command to be specified on a per-repo basis with an equals sign as delimiter (e.g. 'myrepo=--username test --password secret'). May be specified diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chart-testing-3.8.0/doc/ct_list-changed.md new/chart-testing-3.9.0/doc/ct_list-changed.md --- old/chart-testing-3.8.0/doc/ct_list-changed.md 2023-03-24 13:24:35.000000000 +0100 +++ new/chart-testing-3.9.0/doc/ct_list-changed.md 2023-07-10 12:14:23.000000000 +0200 @@ -20,6 +20,8 @@ --exclude-deprecated Skip charts that are marked as deprecated --excluded-charts strings Charts that should be skipped. May be specified multiple times or separate values with commas + --github-groups Change the delimiters for github to create collapsible groups + for command output -h, --help help for list-changed --print-config Prints the configuration to stderr (caution: setting this may expose sensitive data when helm-repo-extra-args contains passwords) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chart-testing-3.8.0/go.mod new/chart-testing-3.9.0/go.mod --- old/chart-testing-3.8.0/go.mod 2023-03-24 13:24:35.000000000 +0100 +++ new/chart-testing-3.9.0/go.mod 2023-07-10 12:14:23.000000000 +0200 @@ -6,13 +6,13 @@ github.com/MakeNowJust/heredoc v1.0.0 github.com/Masterminds/semver v1.5.0 github.com/hashicorp/go-multierror v1.1.1 - github.com/hashicorp/go-retryablehttp v0.7.2 + github.com/hashicorp/go-retryablehttp v0.7.4 github.com/mattn/go-shellwords v1.0.12 github.com/mitchellh/go-homedir v1.1.0 - github.com/spf13/cobra v1.6.1 + github.com/spf13/cobra v1.7.0 github.com/spf13/pflag v1.0.5 - github.com/spf13/viper v1.15.0 - github.com/stretchr/testify v1.8.2 + github.com/spf13/viper v1.16.0 + github.com/stretchr/testify v1.8.4 gopkg.in/yaml.v2 v2.4.0 ) @@ -23,20 +23,19 @@ github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect github.com/hashicorp/hcl v1.0.0 // indirect - github.com/inconshreveable/mousetrap v1.0.1 // indirect + github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/magiconair/properties v1.8.7 // indirect github.com/mitchellh/mapstructure v1.5.0 // indirect - github.com/pelletier/go-toml/v2 v2.0.6 // indirect + github.com/pelletier/go-toml/v2 v2.0.8 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/rogpeppe/go-internal v1.8.0 // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect - github.com/spf13/afero v1.9.3 // indirect - github.com/spf13/cast v1.5.0 // indirect + github.com/spf13/afero v1.9.5 // indirect + github.com/spf13/cast v1.5.1 // indirect github.com/spf13/jwalterweatherman v1.1.0 // indirect github.com/stretchr/objx v0.5.0 // indirect github.com/subosito/gotenv v1.4.2 // indirect - golang.org/x/sys v0.3.0 // indirect - golang.org/x/text v0.5.0 // indirect + golang.org/x/sys v0.8.0 // indirect + golang.org/x/text v0.9.0 // indirect gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chart-testing-3.8.0/go.sum new/chart-testing-3.9.0/go.sum --- old/chart-testing-3.8.0/go.sum 2023-03-24 13:24:35.000000000 +0100 +++ new/chart-testing-3.9.0/go.sum 2023-07-10 12:14:23.000000000 +0200 @@ -62,7 +62,7 @@ github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w= -github.com/frankban/quicktest v1.14.3 h1:FJKSZTDHjyhriyC81FLQ0LY93eSai0ZyR/ZIkd3ZUKE= +github.com/frankban/quicktest v1.14.4 h1:g2rn0vABPOOXmZUj+vbmUp0lPoXEMuhTpIluN0XL9UY= github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= @@ -132,23 +132,23 @@ github.com/hashicorp/go-hclog v1.2.0 h1:La19f8d7WIlm4ogzNHB0JGqs5AUDAZ2UfCY4sJXcJdM= github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= -github.com/hashicorp/go-retryablehttp v0.7.2 h1:AcYqCvkpalPnPF2pn0KamgwamS42TqUDDYFRKq/RAd0= -github.com/hashicorp/go-retryablehttp v0.7.2/go.mod h1:Jy/gPYAdjqffZ/yFGCFV2doI5wjtH1ewM9u8iYVjtX8= +github.com/hashicorp/go-retryablehttp v0.7.4 h1:ZQgVdpTdAL7WpMIwLzCfbalOcSUdkDZnpUv3/+BxzFA= +github.com/hashicorp/go-retryablehttp v0.7.4/go.mod h1:Jy/gPYAdjqffZ/yFGCFV2doI5wjtH1ewM9u8iYVjtX8= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7Pgzkat/bFNc= -github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= +github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= +github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0= +github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= @@ -162,31 +162,29 @@ github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/pelletier/go-toml/v2 v2.0.6 h1:nrzqCb7j9cDFj2coyLNLaZuJTLjWjlaz6nvTvIwycIU= -github.com/pelletier/go-toml/v2 v2.0.6/go.mod h1:eumQOmlWiOPt5WriQQqoM5y18pDHwha2N+QD+EUNTek= -github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= +github.com/pelletier/go-toml/v2 v2.0.8 h1:0ctb6s9mE31h0/lhu+J6OPmVeDxJn+kYnJc2jZR9tGQ= +github.com/pelletier/go-toml/v2 v2.0.8/go.mod h1:vuYfssBdrU2XDZ9bYydBu6t+6a6PYNcZljzZR9VXg+4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rogpeppe/go-internal v1.8.0 h1:FCbCCtXNOY3UtUuHUYaghJg4y7Fd14rXifAYUAtL9R8= -github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6poM+XZ2dLUbcbE= +github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/spf13/afero v1.9.3 h1:41FoI0fD7OR7mGcKE/aOiLkGreyf8ifIOQmJANWogMk= -github.com/spf13/afero v1.9.3/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y= -github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w= -github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= -github.com/spf13/cobra v1.6.1 h1:o94oiPyS4KD1mPy2fmcYYHHfCxLqYjJOhGsCHFZtEzA= -github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= +github.com/spf13/afero v1.9.5 h1:stMpOSZFs//0Lv29HduCmli3GUfpFoF3Y1Q/aXj/wVM= +github.com/spf13/afero v1.9.5/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ= +github.com/spf13/cast v1.5.1 h1:R+kOtfhWQE6TVQzY+4D7wJLBgkdVasCEFxSUBYBYIlA= +github.com/spf13/cast v1.5.1/go.mod h1:b9PdjNptOpzXr7Rq1q9gJML/2cdGQAo69NKzQ10KN48= +github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= +github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/viper v1.15.0 h1:js3yy885G8xwJa6iOISGFwd+qlUo5AvyXb7CiihdtiU= -github.com/spf13/viper v1.15.0/go.mod h1:fFcTBJxvhhzSJiZy8n+PeW6t8l+KeT/uTARa0jHOQLA= +github.com/spf13/viper v1.16.0 h1:rGGH0XDZhdUOryiDWjmIvUSWpbNqisK8Wk0Vyefw8hc= +github.com/spf13/viper v1.16.0/go.mod h1:yg78JgCJcbrQOvV9YLXgkLaZqUidkY9K+Dd1FofRzQg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= @@ -197,9 +195,9 @@ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8= -github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/subosito/gotenv v1.4.2 h1:X1TuBLAMDFbaTAChgCBLu3DU3UPyELpnF2jjJ2cz/S8= github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= @@ -218,7 +216,7 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= -golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -283,6 +281,7 @@ golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -334,11 +333,12 @@ golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.3.0 h1:w8ZOecv6NaNa/zC8944JTU3vz4u6Lagfk4RPQxv92NQ= -golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU= +golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -346,8 +346,10 @@ golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.5.0 h1:OLmvp0KP+FVG99Ct/qFiL/Fhk4zp4QQnZ7b2U+5piUM= -golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE= +golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chart-testing-3.8.0/pkg/chart/chart.go new/chart-testing-3.9.0/pkg/chart/chart.go --- old/chart-testing-3.8.0/pkg/chart/chart.go 2023-03-24 13:24:35.000000000 +0100 +++ new/chart-testing-3.9.0/pkg/chart/chart.go 2023-07-10 12:14:23.000000000 +0200 @@ -49,6 +49,8 @@ // // ValidateRepository checks that the current working directory is a valid git repository, // and returns nil if valid. +// +// BranchExists checks whether a given branch exists in the git repository. type Git interface { FileExistsOnBranch(file string, remote string, branch string) bool Show(file string, remote string, branch string) (string, error) @@ -58,6 +60,7 @@ ListChangedFilesInDirs(commit string, dirs ...string) ([]string, error) GetURLForRemote(remote string) (string, error) ValidateRepository() error + BranchExists(branch string) bool } // Helm is the interface that wraps Helm operations @@ -315,15 +318,23 @@ } } - fmt.Println() - util.PrintDelimiterLineToWriter(os.Stdout, "-") - fmt.Println(" Charts to be processed:") - util.PrintDelimiterLineToWriter(os.Stdout, "-") + if !t.config.GithubGroups { + fmt.Println() + util.PrintDelimiterLineToWriter(os.Stdout, "-") + fmt.Println(" Charts to be processed:") + util.PrintDelimiterLineToWriter(os.Stdout, "-") + } else { + util.GithubGroupsBegin(os.Stdout, "Charts to be processed") + } for _, chart := range charts { fmt.Printf(" %s\n", chart) } - util.PrintDelimiterLineToWriter(os.Stdout, "-") - fmt.Println() + if !t.config.GithubGroups { + util.PrintDelimiterLineToWriter(os.Stdout, "-") + fmt.Println() + } else { + util.GithubGroupsEnd(os.Stdout) + } repoArgs := map[string][]string{} @@ -411,7 +422,12 @@ // PrintResults writes test results to stdout. func (t *Testing) PrintResults(results []TestResult) { - util.PrintDelimiterLineToWriter(os.Stdout, "-") + if !t.config.GithubGroups { + fmt.Println() + util.PrintDelimiterLineToWriter(os.Stdout, "-") + } else { + util.GithubGroupsBegin(os.Stdout, "Test Results") + } if results != nil { for _, result := range results { err := result.Error @@ -424,7 +440,11 @@ } else { fmt.Println("No chart changes detected.") } - util.PrintDelimiterLineToWriter(os.Stdout, "-") + if !t.config.GithubGroups { + util.PrintDelimiterLineToWriter(os.Stdout, "-") + } else { + util.GithubGroupsEnd(os.Stdout) + } } // LintChart lints the specified chart. @@ -701,6 +721,11 @@ if err != nil { return "", errors.New("must be in a git repository") } + + if !t.git.BranchExists(t.config.TargetBranch) { + return "", fmt.Errorf("targetBranch '%s' does not exist", t.config.TargetBranch) + } + return t.git.MergeBase(fmt.Sprintf("%s/%s", t.config.Remote, t.config.TargetBranch), t.config.Since) } @@ -874,7 +899,7 @@ func (t *Testing) PrintEventsPodDetailsAndLogs(namespace string, selector string) { util.PrintDelimiterLineToWriter(os.Stdout, "=") - printDetails(namespace, "Events of namespace", ".", func(item string) error { + t.printDetails(namespace, "Events of namespace", ".", func(item string) error { return t.kubectl.GetEvents(namespace) }, namespace) @@ -893,7 +918,7 @@ } for _, pod := range pods { - printDetails(pod, "Description of pod", "~", func(item string) error { + t.printDetails(pod, "Description of pod", "~", func(item string) error { return t.kubectl.DescribePod(namespace, pod) }, pod) @@ -904,7 +929,7 @@ } if t.config.PrintLogs { - printDetails(pod, "Logs of init container", "-", + t.printDetails(pod, "Logs of init container", "-", func(item string) error { return t.kubectl.Logs(namespace, pod, item) }, initContainers...) @@ -915,7 +940,7 @@ return } - printDetails(pod, "Logs of container", "-", + t.printDetails(pod, "Logs of container", "-", func(item string) error { return t.kubectl.Logs(namespace, pod, item) }, @@ -926,21 +951,29 @@ util.PrintDelimiterLineToWriter(os.Stdout, "=") } -func printDetails(resource string, text string, delimiterChar string, printFunc func(item string) error, items ...string) { +func (t *Testing) printDetails(resource string, text string, delimiterChar string, printFunc func(item string) error, items ...string) { for _, item := range items { item = strings.Trim(item, "'") - util.PrintDelimiterLineToWriter(os.Stdout, delimiterChar) - fmt.Printf("==> %s %s\n", text, resource) - util.PrintDelimiterLineToWriter(os.Stdout, delimiterChar) + if !t.config.GithubGroups { + util.PrintDelimiterLineToWriter(os.Stdout, delimiterChar) + fmt.Printf("==> %s %s\n", text, resource) + util.PrintDelimiterLineToWriter(os.Stdout, delimiterChar) + } else { + util.GithubGroupsBegin(os.Stdout, fmt.Sprintf("%s %s", text, resource)) + } if err := printFunc(item); err != nil { fmt.Println("Error printing details:", err) return } - util.PrintDelimiterLineToWriter(os.Stdout, delimiterChar) - fmt.Printf("<== %s %s\n", text, resource) - util.PrintDelimiterLineToWriter(os.Stdout, delimiterChar) + if !t.config.GithubGroups { + util.PrintDelimiterLineToWriter(os.Stdout, delimiterChar) + fmt.Printf("<== %s %s\n", text, resource) + util.PrintDelimiterLineToWriter(os.Stdout, delimiterChar) + } else { + util.GithubGroupsEnd(os.Stdout) + } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chart-testing-3.8.0/pkg/chart/chart_test.go new/chart-testing-3.9.0/pkg/chart/chart_test.go --- old/chart-testing-3.8.0/pkg/chart/chart_test.go 2023-03-24 13:24:35.000000000 +0100 +++ new/chart-testing-3.9.0/pkg/chart/chart_test.go 2023-07-10 12:14:23.000000000 +0200 @@ -70,6 +70,10 @@ return nil } +func (g fakeGit) BranchExists(branch string) bool { + return true +} + type fakeAccountValidator struct{} func (v fakeAccountValidator) Validate(repoDomain string, account string) error { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chart-testing-3.8.0/pkg/config/config.go new/chart-testing-3.9.0/pkg/config/config.go --- old/chart-testing-3.8.0/pkg/config/config.go 2023-03-24 13:24:35.000000000 +0100 +++ new/chart-testing-3.9.0/pkg/config/config.go 2023-07-10 12:14:23.000000000 +0200 @@ -71,6 +71,7 @@ ExcludeDeprecated bool `mapstructure:"exclude-deprecated"` KubectlTimeout time.Duration `mapstructure:"kubectl-timeout"` PrintLogs bool `mapstructure:"print-logs"` + GithubGroups bool `mapstructure:"github-groups"` } func LoadConfiguration(cfgFile string, cmd *cobra.Command, printConfig bool) (*Configuration, error) { @@ -173,9 +174,13 @@ } func printCfg(cfg *Configuration) { - util.PrintDelimiterLineToWriter(os.Stderr, "-") - fmt.Fprintln(os.Stderr, " Configuration") - util.PrintDelimiterLineToWriter(os.Stderr, "-") + if !cfg.GithubGroups { + util.PrintDelimiterLineToWriter(os.Stderr, "-") + fmt.Fprintln(os.Stderr, " Configuration") + util.PrintDelimiterLineToWriter(os.Stderr, "-") + } else { + util.GithubGroupsBegin(os.Stderr, "Configuration") + } e := reflect.ValueOf(cfg).Elem() typeOfCfg := e.Type() @@ -191,7 +196,11 @@ fmt.Fprintf(os.Stderr, pattern, typeOfCfg.Field(i).Name, e.Field(i).Interface()) } - util.PrintDelimiterLineToWriter(os.Stderr, "-") + if !cfg.GithubGroups { + util.PrintDelimiterLineToWriter(os.Stderr, "-") + } else { + util.GithubGroupsEnd(os.Stderr) + } } func findConfigFile(fileName string) (string, error) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chart-testing-3.8.0/pkg/exec/exec.go new/chart-testing-3.9.0/pkg/exec/exec.go --- old/chart-testing-3.8.0/pkg/exec/exec.go 2023-03-24 13:24:35.000000000 +0100 +++ new/chart-testing-3.9.0/pkg/exec/exec.go 2023-07-10 12:14:23.000000000 +0200 @@ -91,6 +91,8 @@ scanner := bufio.NewScanner(io.MultiReader(outReader, errReader)) go func() { + defer outReader.Close() + defer errReader.Close() for scanner.Scan() { fmt.Println(scanner.Text()) } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chart-testing-3.8.0/pkg/tool/git.go new/chart-testing-3.9.0/pkg/tool/git.go --- old/chart-testing-3.8.0/pkg/tool/git.go 2023-03-24 13:24:35.000000000 +0100 +++ new/chart-testing-3.9.0/pkg/tool/git.go 2023-07-10 12:14:23.000000000 +0200 @@ -74,3 +74,8 @@ _, err := g.exec.RunProcessAndCaptureOutput("git", "rev-parse", "--is-inside-work-tree") return err } + +func (g Git) BranchExists(branch string) bool { + _, err := g.exec.RunProcessAndCaptureOutput("git", "rev-parse", "--verify", branch) + return err == nil +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chart-testing-3.8.0/pkg/tool/helm.go new/chart-testing-3.9.0/pkg/tool/helm.go --- old/chart-testing-3.8.0/pkg/tool/helm.go 2023-03-24 13:24:35.000000000 +0100 +++ new/chart-testing-3.9.0/pkg/tool/helm.go 2023-07-10 12:14:23.000000000 +0200 @@ -52,7 +52,7 @@ values = []string{"--values", valuesFile} } - return h.exec.RunProcess("helm", "lint", chart, values) + return h.exec.RunProcess("helm", "lint", chart, values, h.extraArgs) } func (h Helm) InstallWithValues(chart string, valuesFile string, namespace string, release string) error { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chart-testing-3.8.0/pkg/util/util.go new/chart-testing-3.9.0/pkg/util/util.go --- old/chart-testing-3.8.0/pkg/util/util.go 2023-03-24 13:24:35.000000000 +0100 +++ new/chart-testing-3.9.0/pkg/util/util.go 2023-07-10 12:14:23.000000000 +0200 @@ -219,11 +219,15 @@ } func PrintDelimiterLineToWriter(w io.Writer, delimiterChar string) { - delim := make([]string, 120) - for i := 0; i < 120; i++ { - delim[i] = delimiterChar - } - fmt.Fprintln(w, strings.Join(delim, "")) + fmt.Fprintln(w, strings.Repeat(delimiterChar, 120)) +} + +func GithubGroupsBegin(w io.Writer, title string) { + fmt.Fprintf(w, "::group::%s\n", title) +} + +func GithubGroupsEnd(w io.Writer) { + fmt.Fprintln(w, "::endgroup::") } func SanitizeName(s string, maxLength int) string { ++++++ chart-testing.obsinfo ++++++ --- /var/tmp/diff_new_pack.Lqd53y/_old 2023-07-11 15:57:18.749174578 +0200 +++ /var/tmp/diff_new_pack.Lqd53y/_new 2023-07-11 15:57:18.753174601 +0200 @@ -1,5 +1,5 @@ name: chart-testing -version: 3.8.0 -mtime: 1679660675 -commit: 7f3a83ddc506713b7f7f1534f224dff78fead215 +version: 3.9.0 +mtime: 1688984063 +commit: 88cc7026481da7468e34a614b8ca4f0da42c063c ++++++ vendor.tar.gz ++++++ ++++ 24712 lines of diff (skipped)