Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: zarf-dev/zarf
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.37.0
Choose a base ref
...
head repository: zarf-dev/zarf
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.38.0
Choose a head ref

Commits on Jul 31, 2024

  1. refactor: utilize invopop comment feature (#2781)

    Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
    AustinAbro321 authored Jul 31, 2024
    Copy the full SHA
    568a160 View commit details
  2. fix: detect invalid helm release names (#2784)

    Signed-off-by: jamestexas <jamestexasgardner@gmail.com>
    jamestexas authored Jul 31, 2024
    Copy the full SHA
    44fc6b7 View commit details
  3. refactor: move gitea code to separate package (#2785)

    Signed-off-by: Philip Laine <philip.laine@gmail.com>
    phillebaba authored Jul 31, 2024
    Copy the full SHA
    6c5e914 View commit details
  4. fix: add dependabot and disable renovate features (#2789)

    Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
    AustinAbro321 authored Jul 31, 2024
    Copy the full SHA
    347a094 View commit details
  5. chore(deps): bump github/codeql-action from 3.24.0 to 3.25.15 (#2792)

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 31, 2024
    Copy the full SHA
    b31e317 View commit details
  6. chore(deps): bump actions/upload-artifact from 4.3.1 to 4.3.4 (#2791)

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 31, 2024
    Copy the full SHA
    410849d View commit details
  7. chore(deps): bump docker/login-action from 3.0.0 to 3.3.0 (#2794)

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 31, 2024
    Copy the full SHA
    053fb35 View commit details
  8. chore(deps): bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 (#…

    …2793)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 31, 2024
    Copy the full SHA
    49b0e72 View commit details
  9. chore(deps): bump ossf/scorecard-action from 2.3.1 to 2.4.0 (#2795)

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 31, 2024
    Copy the full SHA
    40a05a0 View commit details
  10. chore(deps): bump k8s.io/component-base from 0.30.0 to 0.30.3 (#2798)

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 31, 2024
    Copy the full SHA
    4a1f32e View commit details
  11. ci: remove unneeded cve checking (#2802)

    Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
    AustinAbro321 authored Jul 31, 2024
    Copy the full SHA
    7a5fb9e View commit details
  12. chore(deps): bump github.com/mikefarah/yq/v4 from 4.43.1 to 4.44.2 (#…

    …2799)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Austin Abro <AustinAbro321@gmail.com>
    Co-authored-by: schristoff <28318173+schristoff@users.noreply.github.com>
    3 people authored Jul 31, 2024
    Copy the full SHA
    9be2009 View commit details

Commits on Aug 1, 2024

  1. chore(deps): bump codecov/codecov-action from 4.4.1 to 4.5.0 (#2808)

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 1, 2024
    Copy the full SHA
    b200e22 View commit details
  2. chore(deps): bump actions/create-github-app-token from 1.9.0 to 1.10.3 (

    #2809)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 1, 2024
    Copy the full SHA
    2b83a93 View commit details
  3. chore(deps): bump actions/download-artifact from 4.1.2 to 4.1.8 (#2810)

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 1, 2024
    Copy the full SHA
    81c8965 View commit details
  4. chore(deps): bump actions/checkout from 4.1.1 to 4.1.7 (#2807)

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 1, 2024
    Copy the full SHA
    6d86e48 View commit details
  5. chore(deps): bump golang.org/x/crypto from 0.24.0 to 0.25.0 (#2813)

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 1, 2024
    Copy the full SHA
    008c4fa View commit details
  6. chore(deps): bump github.com/goccy/go-yaml from 1.11.3 to 1.12.0 (#2811)

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 1, 2024
    Copy the full SHA
    55ca6f5 View commit details
  7. chore(deps): bump aws-actions/configure-aws-credentials from 4.0.1 to…

    … 4.0.2 (#2806)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 1, 2024
    Copy the full SHA
    aa3cd6a View commit details
  8. fix: resolve CVE-2024-41110 (#2815)

    Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
    AustinAbro321 authored Aug 1, 2024
    Copy the full SHA
    296df54 View commit details
  9. refactor: git package (#2790)

    Signed-off-by: Philip Laine <philip.laine@gmail.com>
    Co-authored-by: Austin Abro <37223396+AustinAbro321@users.noreply.github.com>
    phillebaba and AustinAbro321 authored Aug 1, 2024
    Copy the full SHA
    b903e26 View commit details
  10. ci: better named gh jobs (#2816)

    Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
    AustinAbro321 authored Aug 1, 2024
    Copy the full SHA
    8d663aa View commit details

Commits on Aug 2, 2024

  1. chore(deps): bump actions/dependency-review-action from 4.1.3 to 4.3.4 (

    #2822)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 2, 2024
    Copy the full SHA
    cb88e4c View commit details
  2. chore(deps): bump actions/setup-node from 4.0.2 to 4.0.3 (#2821)

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 2, 2024
    Copy the full SHA
    03a8a07 View commit details
  3. chore: move context.TODO to context.Background() (4) (#2749)

    Signed-off-by: schristoff <28318173+schristoff@users.noreply.github.com>
    schristoff authored Aug 2, 2024
    Copy the full SHA
    8e7c9c7 View commit details
  4. chore(deps): bump github.com/sigstore/sigstore/pkg/signature/kms/hash…

    …ivault from 1.8.1 to 1.8.7 (#2800)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Signed-off-by: schristoff <28318173+schristoff@users.noreply.github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: schristoff <28318173+schristoff@users.noreply.github.com>
    dependabot[bot] and schristoff authored Aug 2, 2024
    Copy the full SHA
    dc08529 View commit details
  5. chore: turn down codecov (#2823)

    Signed-off-by: schristoff <28318173+schristoff@users.noreply.github.com>
    schristoff authored Aug 2, 2024
    Copy the full SHA
    198a26c View commit details
  6. chore(deps): bump github.com/sigstore/sigstore/pkg/signature/kms/gcp …

    …from 1.8.1 to 1.8.7 (#2812)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 2, 2024
    Copy the full SHA
    5e77e38 View commit details
  7. refactor: move and test HasImages (#2831)

    Signed-off-by: Philip Laine <philip.laine@gmail.com>
    phillebaba authored Aug 2, 2024
    Copy the full SHA
    36f1df6 View commit details

Commits on Aug 5, 2024

  1. fix: disk pressure flakes (#2832)

    Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
    AustinAbro321 authored Aug 5, 2024
    Copy the full SHA
    98863f5 View commit details
  2. chore(deps): bump actions/upload-artifact from 4.3.4 to 4.3.5 (#2834)

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 5, 2024
    Copy the full SHA
    b415e0e View commit details
  3. chore: update obsolete versions (#2830)

    Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
    AustinAbro321 authored Aug 5, 2024
    Copy the full SHA
    6d0a5b2 View commit details
  4. refactor: change isInternal variables to functions (#2768)

    Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
    AustinAbro321 authored Aug 5, 2024
    Copy the full SHA
    3d9e56e View commit details
  5. refactor: init zarf state (#2833)

    Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
    AustinAbro321 authored Aug 5, 2024
    Copy the full SHA
    594a283 View commit details
  6. fix: ignore config file not found errors (#2838)

    Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
    AustinAbro321 authored Aug 5, 2024
    Copy the full SHA
    ee60eb8 View commit details

Commits on Aug 6, 2024

  1. fix: override tunnel details with user-provided settings (#2841)

    Signed-off-by: Tim Seagren <timseagren@defenseunicorns.com>
    chaospuppy authored Aug 6, 2024
    Copy the full SHA
    7e42b5d View commit details
  2. refactor: move package generation to a local variable (#2835)

    Signed-off-by: Philip Laine <philip.laine@gmail.com>
    phillebaba authored Aug 6, 2024
    Copy the full SHA
    8c9c164 View commit details
  3. feat: move ZarfPackageConfig to it's own api-versioned package (#2801)

    Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
    AustinAbro321 authored Aug 6, 2024
    Copy the full SHA
    1ed0dab View commit details
  4. refactor: replace debug logs with returning errors (#2777)

    Signed-off-by: Philip Laine <philip.laine@gmail.com>
    phillebaba authored Aug 6, 2024
    Copy the full SHA
    5f0f8de View commit details
  5. refactor: proxy and add tests (#2843)

    Signed-off-by: Philip Laine <philip.laine@gmail.com>
    Co-authored-by: schristoff <28318173+schristoff@users.noreply.github.com>
    phillebaba and schristoff authored Aug 6, 2024
    Copy the full SHA
    e9c756b View commit details

Commits on Aug 7, 2024

  1. chore(deps): bump github/codeql-action from 3.25.15 to 3.26.0 (#2848)

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 7, 2024
    Copy the full SHA
    81f4a69 View commit details
  2. chore(deps): bump actions/upload-artifact from 4.3.5 to 4.3.6 (#2847)

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 7, 2024
    Copy the full SHA
    95e9e45 View commit details
  3. test: add tests for FindImages (#2850)

    Signed-off-by: Philip Laine <philip.laine@gmail.com>
    phillebaba authored Aug 7, 2024
    Copy the full SHA
    447d984 View commit details
  4. test: unit test index sha (#2844)

    Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
    AustinAbro321 authored Aug 7, 2024
    Copy the full SHA
    35952d8 View commit details
  5. chore(deps): bump github.com/spf13/viper from 1.18.2 to 1.19.0 (#2828)

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 7, 2024
    Copy the full SHA
    2485de9 View commit details
  6. chore: update dos games (#2845)

    Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
    AustinAbro321 authored Aug 7, 2024
    Copy the full SHA
    02f2932 View commit details

Commits on Aug 8, 2024

  1. chore(deps): bump sigs.k8s.io/kustomize/api from 0.16.0 to 0.17.3 (#2826

    )
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 8, 2024
    Copy the full SHA
    b56bdcd View commit details
  2. chore(deps): bump github.com/pterm/pterm from 0.12.78 to 0.12.79 (#2854)

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 8, 2024
    Copy the full SHA
    913bf88 View commit details
  3. fix: install grype during release (#2857)

    Signed-off-by: Philip Laine <philip.laine@gmail.com>
    phillebaba authored Aug 8, 2024
    Copy the full SHA
    9f442ce View commit details
  4. fix: import paths to avoid cycle (#2861)

    Signed-off-by: Philip Laine <philip.laine@gmail.com>
    phillebaba authored Aug 8, 2024
    Copy the full SHA
    7e766fd View commit details
Showing with 4,490 additions and 3,607 deletions.
  1. +20 −0 .github/.codecov.yml
  2. +7 −1 .github/actions/cleanup-files/action.yaml
  3. +22 −0 .github/actions/debug-cluster/action.yaml
  4. +0 −7 .github/actions/install-tools/action.yaml
  5. +18 −0 .github/dependabot.yaml
  6. +2 −2 .github/workflows/build-rust-injector.yml
  7. +2 −2 .github/workflows/commitlint.yml
  8. +0 −39 .github/workflows/compare-cves.yml
  9. +3 −3 .github/workflows/dependency-review.yml
  10. +3 −3 .github/workflows/nightly-ecr.yml
  11. +5 −17 .github/workflows/nightly-eks.yml
  12. +2 −2 .github/workflows/publish-application-packages.yml
  13. +20 −14 .github/workflows/release.yml
  14. +4 −4 .github/workflows/scan-codeql.yml
  15. +0 −24 .github/workflows/scan-cves.yml
  16. +2 −2 .github/workflows/scan-docs-and-schema.yml
  17. +3 −3 .github/workflows/scan-lint.yml
  18. +4 −4 .github/workflows/scorecard.yaml
  19. +9 −9 .github/workflows/test-bigbang.yml
  20. +30 −18 .github/workflows/test-e2e.yml
  21. +9 −2 .github/workflows/test-external.yml
  22. +3 −3 .github/workflows/test-site.yml
  23. +3 −3 .github/workflows/test-unit.yml
  24. +7 −7 .github/workflows/test-upgrade.yml
  25. +2 −2 .github/workflows/test-windows.yml
  26. +4 −4 .grype.yaml
  27. +2 −12 examples/dos-games/image/Dockerfile
  28. +3 −19 examples/dos-games/image/index.html
  29. +1 −1 examples/dos-games/manifests/deployment.yaml
  30. +1 −1 examples/dos-games/zarf.yaml
  31. +1 −1 examples/podinfo-flux/git/podinfo-kustomization.yaml
  32. +1 −1 examples/podinfo-flux/git/podinfo-source.yaml
  33. +61 −57 go.mod
  34. +132 −127 go.sum
  35. +0 −30 hack/check-vulnerabilities.sh
  36. +2 −39 renovate.json
  37. +5 −5 site/src/content/docs/commands/zarf_connect.md
  38. +1 −1 site/src/content/docs/commands/zarf_tools_registry_ls.md
  39. +1 −0 site/src/content/docs/commands/zarf_tools_yq.md
  40. +103 −0 site/src/content/docs/commands/zarf_tools_yq_completion.md
  41. +338 −0 src/api/v1alpha1/component.go
  42. +19 −0 src/api/v1alpha1/extensions/bigbang.go
  43. +3 −3 src/{types → api/v1alpha1}/extensions/common.go
  44. +193 −0 src/api/v1alpha1/package.go
  45. +102 −0 src/api/v1alpha1/package_test.go
  46. +388 −0 src/api/v1alpha1/validate.go
  47. +129 −41 src/{types → api/v1alpha1}/validate_test.go
  48. +5 −3 src/cmd/common/viper.go
  49. +23 −17 src/cmd/connect.go
  50. +101 −22 src/cmd/internal.go
  51. +51 −10 src/cmd/tools/zarf.go
  52. +0 −2 src/config/config.go
  53. +7 −39 src/config/lang/english.go
  54. +22 −22 src/extensions/bigbang/bigbang.go
  55. +4 −4 src/extensions/bigbang/flux.go
  56. +1 −1 src/extensions/bigbang/manifests.go
  57. +1 −1 src/internal/agent/hooks/flux-helmrepo.go
  58. +1 −1 src/internal/agent/hooks/flux-ocirepo.go
  59. +28 −69 src/internal/agent/http/proxy.go
  60. +192 −0 src/internal/agent/http/proxy_test.go
  61. +0 −74 src/internal/agent/http/server.go
  62. +42 −9 src/internal/agent/start.go
  63. +58 −0 src/internal/git/fallback.go
  64. +26 −0 src/internal/git/git.go
  65. +40 −0 src/internal/git/git_test.go
  66. +271 −0 src/internal/git/repository.go
  67. +85 −0 src/internal/git/repository_test.go
  68. +195 −0 src/internal/gitea/gitea.go
  69. +20 −0 src/internal/gitea/gitea_test.go
  70. +0 −97 src/internal/packager/git/checkout.go
  71. +0 −126 src/internal/packager/git/clone.go
  72. +0 −54 src/internal/packager/git/common.go
  73. +0 −322 src/internal/packager/git/gitea.go
  74. +0 −81 src/internal/packager/git/pull.go
  75. +0 −162 src/internal/packager/git/push.go
  76. +7 −6 src/internal/packager/helm/common.go
  77. +10 −12 src/internal/packager/helm/repo.go
  78. +4 −5 src/internal/packager/helm/zarf.go
  79. +22 −17 src/internal/packager/images/pull.go
  80. +69 −0 src/internal/packager/images/pull_test.go
  81. +50 −0 src/internal/packager/images/testdata/agent-index.json
  82. +21 −0 src/internal/packager/images/testdata/agent-manifest.json
  83. +34 −0 src/internal/packager/images/testdata/game-index.json
  84. +3 −2 src/internal/packager/template/template.go
  85. +3 −3 src/pkg/cluster/data.go
  86. +45 −0 src/pkg/cluster/pvc.go
  87. +63 −0 src/pkg/cluster/pvc_test.go
  88. +1 −1 src/pkg/cluster/secrets.go
  89. +14 −40 src/pkg/cluster/state.go
  90. +120 −109 src/pkg/cluster/state_test.go
  91. +38 −41 src/pkg/cluster/tunnel.go
  92. +13 −9 src/pkg/cluster/zarf.go
  93. +12 −11 src/pkg/cluster/zarf_test.go
  94. +3 −3 src/pkg/interactive/components.go
  95. +2 −2 src/pkg/interactive/prompt.go
  96. +4 −4 src/pkg/layout/component.go
  97. +4 −4 src/pkg/layout/package.go
  98. +6 −5 src/pkg/lint/lint.go
  99. +11 −10 src/pkg/lint/lint_test.go
  100. +7 −7 src/pkg/lint/rules.go
  101. +5 −5 src/pkg/lint/rules_test.go
  102. +33 −31 src/pkg/lint/schema_test.go
  103. +1 −1 src/pkg/message/credentials.go
  104. +16 −17 src/pkg/packager/actions/actions.go
  105. +1 −18 src/pkg/packager/common.go
  106. +4 −3 src/pkg/packager/common_test.go
  107. +19 −20 src/pkg/packager/composer/list.go
  108. +96 −97 src/pkg/packager/composer/list_test.go
  109. +5 −5 src/pkg/packager/composer/override.go
  110. +3 −3 src/pkg/packager/composer/pathfixer.go
  111. +5 −5 src/pkg/packager/creator/compose.go
  112. +39 −39 src/pkg/packager/creator/compose_test.go
  113. +4 −4 src/pkg/packager/creator/creator.go
  114. +2 −17 src/pkg/packager/creator/creator_test.go
  115. +23 −22 src/pkg/packager/creator/normal.go
  116. +11 −10 src/pkg/packager/creator/skeleton.go
  117. +14 −15 src/pkg/packager/creator/template.go
  118. +3 −2 src/pkg/packager/creator/utils.go
  119. +62 −37 src/pkg/packager/deploy.go
  120. +22 −22 src/pkg/packager/deploy_test.go
  121. +3 −3 src/pkg/packager/deprecated/common.go
  122. +6 −7 src/pkg/packager/deprecated/pluralize-set-variable.go
  123. +6 −6 src/pkg/packager/deprecated/scripts-to-actions.go
  124. +6 −6 src/pkg/packager/filters/deploy.go
  125. +22 −22 src/pkg/packager/filters/deploy_test.go
  126. +4 −3 src/pkg/packager/filters/diff.go
  127. +3 −2 src/pkg/packager/filters/diff_test.go
  128. +2 −2 src/pkg/packager/filters/empty.go
  129. +3 −3 src/pkg/packager/filters/empty_test.go
  130. +3 −3 src/pkg/packager/filters/os.go
  131. +6 −6 src/pkg/packager/filters/os_test.go
  132. +3 −3 src/pkg/packager/filters/select.go
  133. +12 −12 src/pkg/packager/filters/select_test.go
  134. +3 −3 src/pkg/packager/filters/strat.go
  135. +5 −5 src/pkg/packager/filters/strat_test.go
  136. +7 −7 src/pkg/packager/generate.go
  137. +2 −1 src/pkg/packager/mirror.go
  138. +9 −9 src/pkg/packager/prepare.go
  139. +42 −0 src/pkg/packager/prepare_test.go
  140. +6 −6 src/pkg/packager/publish.go
  141. +6 −5 src/pkg/packager/remove.go
  142. +7 −6 src/pkg/packager/sources/cluster.go
  143. +3 −2 src/pkg/packager/sources/new.go
  144. +2 −1 src/pkg/packager/sources/new_test.go
  145. +6 −5 src/pkg/packager/sources/oci.go
  146. +3 −2 src/pkg/packager/sources/split.go
  147. +5 −4 src/pkg/packager/sources/tarball.go
  148. +3 −2 src/pkg/packager/sources/url.go
  149. +5 −5 src/pkg/packager/sources/utils.go
  150. +3 −2 src/pkg/packager/sources/validate.go
  151. +2 −2 src/pkg/utils/cosign.go
  152. +5 −10 src/pkg/utils/exec/exec.go
  153. +2 −1 src/pkg/utils/wait.go
  154. +6 −4 src/pkg/variables/common.go
  155. +3 −2 src/pkg/variables/templates.go
  156. +8 −7 src/pkg/variables/templates_test.go
  157. +0 −70 src/pkg/variables/types.go
  158. +8 −6 src/pkg/variables/variables.go
  159. +30 −28 src/pkg/variables/variables_test.go
  160. +3 −3 src/pkg/zoci/fetch.go
  161. +3 −3 src/pkg/zoci/pull.go
  162. +3 −3 src/pkg/zoci/push.go
  163. +2 −2 src/pkg/zoci/utils.go
  164. +3 −2 src/test/e2e/05_tarball_test.go
  165. +6 −6 src/test/e2e/06_create_sbom_test.go
  166. +2 −2 src/test/e2e/08_create_differential_test.go
  167. +2 −2 src/test/e2e/13_zarf_package_generate_test.go
  168. +0 −40 src/test/e2e/14_create_sha_index_test.go
  169. +19 −20 src/test/e2e/22_git_and_gitops_test.go
  170. +3 −3 src/test/e2e/51_oci_compose_test.go
  171. +0 −2 src/test/external/docker-compose.yml
  172. +4 −4 src/test/packages/12-lint/linted-import/zarf.yaml
  173. +13 −13 src/test/packages/12-lint/zarf.yaml
  174. +0 −9 src/test/packages/14-index-sha/image-index/zarf.yaml
  175. +0 −9 src/test/packages/14-index-sha/manifest-list/zarf.yaml
  176. +1 −1 src/test/packages/25-evil-dos-games/manifests/evil-deployment.yaml
  177. +1 −1 src/test/packages/25-manifest-adoption/deployment.yaml
  178. +3 −3 src/test/packages/26-image-dos-games/zarf.yaml
  179. +33 −0 src/test/testutil/schema.go
  180. +2 −0 src/test/testutil/testutil.go
  181. +0 −256 src/types/component.go
  182. +0 −14 src/types/extensions/bigbang.go
  183. +78 −38 src/types/k8s.go
  184. +0 −77 src/types/package.go
  185. +3 −1 src/types/packager.go
  186. +106 −102 src/types/runtime.go
  187. +0 −296 src/types/validate.go
  188. +163 −129 zarf.schema.json
20 changes: 20 additions & 0 deletions .github/.codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# To validate:
# cat codecov.yml | curl --data-binary @- https://codecov.io/validate

codecov:
notify:
require_ci_to_pass: yes

coverage:
status:
patch: false

status:
project:
default:
target: auto
threshold: 1%
patch:
default:
enabled: no # disable patch since it is noisy and not correct
if_not_found: success
8 changes: 7 additions & 1 deletion .github/actions/cleanup-files/action.yaml
Original file line number Diff line number Diff line change
@@ -7,10 +7,16 @@ runs:
- run: |
lsblk -f
echo "removing some github actions pre-installed tools to save space"
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo docker system prune --all --force
echo "removing zarf sboms, packages, cache"
sudo rm -rf zarf-sbom /tmp/zarf-*
sudo env "PATH=$PATH" CI=true make delete-packages
sudo build/zarf tools clear-cache
sudo docker system prune --all --force
lsblk -f
shell: bash
22 changes: 22 additions & 0 deletions .github/actions/debug-cluster/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: debug-cluster
description: "Setup Go binary and caching"

runs:
using: composite
steps:
- run: |
echo "***** Getting pods *****"
kubectl get pods -A
echo "***** Getting pods yaml *****"
kubectl get pods -A -o yaml
echo "***** Describing pods *****"
kubectl describe pods -A
echo "***** Getting nodes *****"
kubectl get nodes -A
echo "***** describing nodes *****"
kubectl describe nodes -A
shell: bash
7 changes: 0 additions & 7 deletions .github/actions/install-tools/action.yaml
Original file line number Diff line number Diff line change
@@ -8,11 +8,4 @@ runs:

- uses: anchore/sbom-action/download-syft@b6a39da80722a2cb0ef5d197531764a89b5d48c3 # v0.15.8

- name: install grype
env:
# renovate: datasource=github-tags depName=anchore/grype versioning=semver
VERSION: v0.74.6
run: "curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b /usr/local/bin $VERSION"
shell: bash

- uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
18 changes: 18 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 2
updates:
- package-ecosystem: gomod
directory: /
schedule:
interval: daily
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
- package-ecosystem: npm
directory: /
schedule:
interval: daily
- package-ecosystem: cargo
directory: /
schedule:
interval: daily
4 changes: 2 additions & 2 deletions .github/workflows/build-rust-injector.yml
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Checkout Repo"
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Install tools
uses: ./.github/actions/install-tools
@@ -34,7 +34,7 @@ jobs:
shasum zarf-injector-arm64 >> checksums.txt
- name: Auth with AWS
uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # v4.0.1
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
with:
role-to-assume: ${{ secrets.AWS_WRITE_ROLE }}
role-session-name: ${{ github.job || github.event.client_payload.pull_request.head.sha || github.sha }}
4 changes: 2 additions & 2 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
@@ -16,12 +16,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3

- name: Install commitlint
run: npm install --save-dev @commitlint/{config-conventional,cli}
39 changes: 0 additions & 39 deletions .github/workflows/compare-cves.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -6,10 +6,10 @@ permissions:
contents: read

jobs:
validate:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Dependency Review
uses: actions/dependency-review-action@9129d7d40b8c12c1ed0f60400d00c92d437adcce # v4.1.3
uses: actions/dependency-review-action@5a2ce3f5b92ee19cbb1541a4984c76d921601d7c # v4.3.4
6 changes: 3 additions & 3 deletions .github/workflows/nightly-ecr.yml
Original file line number Diff line number Diff line change
@@ -15,11 +15,11 @@ permissions:
contents: read

jobs:
validate:
ecr-nightly-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Setup golang
uses: ./.github/actions/golang
@@ -28,7 +28,7 @@ jobs:
run: make build-cli-linux-amd

- name: Auth with AWS
uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # v4.0.1
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
with:
role-to-assume: ${{ secrets.AWS_NIGHTLY_ROLE }}
role-session-name: ${{ github.job || github.event.client_payload.pull_request.head.sha || github.sha }}
22 changes: 5 additions & 17 deletions .github/workflows/nightly-eks.yml
Original file line number Diff line number Diff line change
@@ -23,11 +23,11 @@ concurrency:
cancel-in-progress: true

jobs:
validate:
eks-nightly-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Setup golang
uses: ./.github/actions/golang
@@ -36,7 +36,7 @@ jobs:
uses: ./.github/actions/packages

- name: Auth with AWS
uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # v4.0.1
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
with:
role-to-assume: ${{ secrets.AWS_NIGHTLY_ROLE }}
role-session-name: ${{ github.job || github.event.client_payload.pull_request.head.sha || github.sha }}
@@ -57,21 +57,9 @@ jobs:
- name: Run tests
run: make test-e2e-with-cluster ARCH=amd64

- name: get pods
- name: show cluster logs
uses: ./.github/actions/debug-cluster
if: always()
run: kubectl get pods -n kiwix -o yaml

- name: describe pod
if: always()
run: kubectl describe pods -n kiwix

- name: get nodes
if: always()
run: kubectl get nodes -o yaml

- name: describe nodes
if: always()
run: kubectl describe nodes

- name: Teardown the cluster
if: always()
4 changes: 2 additions & 2 deletions .github/workflows/publish-application-packages.yml
Original file line number Diff line number Diff line change
@@ -18,15 +18,15 @@ jobs:
packages: write
steps:
- name: "Checkout Repo"
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
ref: ${{ github.event.inputs.branchName }}

- name: Install The Latest Release Version of Zarf
uses: defenseunicorns/setup-zarf@10e539efed02f75ec39eb8823e22a5c795f492ae #v1.0.1

- name: "Login to GHCR"
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
registry: ghcr.io
username: dummy
34 changes: 20 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -9,14 +9,14 @@ on:
- "v*"

jobs:
build:
build-release:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
# Checkout the repo and setup the tooling for this job
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0

@@ -26,13 +26,19 @@ jobs:
- name: Install tools
uses: ./.github/actions/install-tools

- name: install grype
env:
VERSION: v0.74.6
run: "curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b /usr/local/bin $VERSION"
shell: bash

- name: Build CLI
run: |
make build-cli-linux-amd
make build-cli-linux-arm
- name: "Zarf Agent: Login to GHCR"
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
registry: ghcr.io
username: dummy
@@ -72,24 +78,24 @@ jobs:

# Upload the contents of the build directory for later stages to use
- name: Upload build artifacts
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
with:
name: build-artifacts
path: build/
retention-days: 1

validate:
validate-release:
runs-on: ubuntu-latest
needs: build
needs: build-release
steps:
# Checkout the repo and setup the tooling for this job
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0

- name: Download build artifacts
uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe # v4.1.2
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: build-artifacts
path: build/
@@ -114,16 +120,16 @@ jobs:
if: always()
uses: ./.github/actions/save-logs

push:
create-release:
runs-on: ubuntu-latest
needs: validate
needs: validate-release
environment: release
permissions:
contents: write
steps:
# Checkout the repo and setup the tooling for this job
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0

@@ -134,7 +140,7 @@ jobs:
uses: ./.github/actions/install-tools

- name: Download build artifacts
uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe # v4.1.2
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: build-artifacts
path: build/
@@ -167,7 +173,7 @@ jobs:
- name: Get Brew tap repo token
id: brew-tap-token
uses: actions/create-github-app-token@f2acddfb5195534d487896a656232b016a682f3c # v1.9.0
uses: actions/create-github-app-token@31c86eb3b33c9b601a1f60f98dcbfd1d70f379b4 # v1.10.3
with:
app-id: ${{ secrets.HOMEBREW_TAP_WORKFLOW_GITHUB_APP_ID }}
private-key: ${{ secrets.HOMEBREW_TAP_WORKFLOW_GITHUB_APP_SECRET }}
@@ -186,7 +192,7 @@ jobs:
HOMEBREW_TAP_GITHUB_TOKEN: ${{ steps.brew-tap-token.outputs.token }}

- name: Save CVE report
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
with:
name: cve-report
path: build/zarf-known-cves.csv
Loading