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.32.5
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.32.6
Choose a head ref
  • 14 commits
  • 128 files changed
  • 9 contributors

Commits on Mar 12, 2024

  1. chore(deps): update dependencies (#2378)

    ## Description
    
    Current build is breaking on my linux amd64 machine. Not re-produceable
    on other machines as far as we can tell. There is no harm in updating
    these dependencies anyway.
    
    ## Type of change
    
    - [ ] Bug fix (non-breaking change which fixes an issue)
    - [ ] New feature (non-breaking change which adds functionality)
    - [X] Other (security config, docs update, etc)
    
    ## Checklist before merging
    
    - [ ] Test, docs, adr added or updated as needed
    - [ ] [Contributor Guide
    Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow)
    followed
    AustinAbro321 authored Mar 12, 2024
    Configuration menu
    Copy the full SHA
    cc7b6fc View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2024

  1. feat: package generation ALPHA (#2269)

    ## Description
    
    Introduce Zarf package generation from a source
    
    ## Related Issue
    
    Fixes #821
    
    ## Type of change
    
    - [ ] Bug fix (non-breaking change which fixes an issue)
    - [x] New feature (non-breaking change which adds functionality)
    - [ ] Other (security config, docs update, etc)
    
    ## Checklist before merging
    
    - [x] Test, docs, adr added or updated as needed
    - [x] [Contributor Guide
    Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow)
    followed
    
    ---------
    
    Signed-off-by: razzle <[email protected]>
    Co-authored-by: corang <[email protected]>
    Co-authored-by: razzle <[email protected]>
    3 people authored Mar 13, 2024
    Configuration menu
    Copy the full SHA
    9608731 View commit details
    Browse the repository at this point in the history
  2. fix: refactor create stages into separate lib (#2223)

    ## Description
    refactor create stages into separate lib
    
    ## Related Issue
    
    Fixes #2188
    
    ## Type of change
    
    - [ ] Bug fix (non-breaking change which fixes an issue)
    - [ ] New feature (non-breaking change which adds functionality)
    - [x] Other (security config, docs update, etc)
    
    ## Checklist before merging
    
    - [x] Test, docs, adr added or updated as needed
    - [x] [Contributor Guide
    Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow)
    followed
    
    ---------
    
    Signed-off-by: razzle <[email protected]>
    Co-authored-by: razzle <[email protected]>
    Co-authored-by: Austin Abro <[email protected]>
    3 people authored Mar 13, 2024
    Configuration menu
    Copy the full SHA
    1ec8849 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2024

  1. fix: handle registry caBundle as a multiline string (#2381)

    ## Description
    
    I added support for custom root CA Bundles to the registry some time
    back. I encountered the need to do this again and discovered it was not
    properly formatting the cert in the registry configMap. This minor
    change fixes that.
    
    ## Related Issue
    
    
    ## Type of change
    
    - [x] Bug fix (non-breaking change which fixes an issue)
    - [ ] New feature (non-breaking change which adds functionality)
    - [ ] Other (security config, docs update, etc)
    
    ## Checklist before merging
    
    - [ ] Test, docs, adr added or updated as needed
    - [ ] [Contributor Guide
    Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow)
    followed
    
    Signed-off-by: Sam <[email protected]>
    AbrohamLincoln authored Mar 14, 2024
    Configuration menu
    Copy the full SHA
    2a1d1ea View commit details
    Browse the repository at this point in the history
  2. chore(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (#…

    …2382)
    
    Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.
    
    
    [![Dependabot compatibility
    score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=google.golang.org/protobuf&package-manager=go_modules&previous-version=1.32.0&new-version=1.33.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    
    Dependabot will resolve any conflicts with this PR as long as you don't
    alter it yourself. You can also trigger a rebase manually by commenting
    `@dependabot rebase`.
    
    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    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 this major version` will close this PR and stop
    Dependabot creating any more for this major version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this minor version` will close this PR and stop
    Dependabot creating any more for this minor version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this dependency` will close this PR and stop
    Dependabot creating any more for this dependency (unless you reopen the
    PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the
    [Security Alerts
    page](https://github.com/defenseunicorns/zarf/network/alerts).
    
    </details>
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Mar 14, 2024
    Configuration menu
    Copy the full SHA
    b8d3fab View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2024

  1. refactor: split helpers/exec libs (#2379)

    ## Description
    
    This moves more code into helpers / exec packages in preparation for
    moving the actions/variables code.
    
    ## Related Issue
    
    Relates to #2252
    
    ## Type of change
    
    - [ ] Bug fix (non-breaking change which fixes an issue)
    - [ ] New feature (non-breaking change which adds functionality)
    - [X] Other (security config, docs update, etc)
    
    ## Checklist before merging
    
    - [ ] Test, docs, adr added or updated as needed
    - [X] [Contributor Guide
    Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow)
    followed
    
    ---------
    
    Co-authored-by: Austin Abro <[email protected]>
    Racer159 and AustinAbro321 authored Mar 15, 2024
    Configuration menu
    Copy the full SHA
    d0bcc20 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2024

  1. test: data injection flake (#2361)

    ## Description
    fixes data injection test flake
    
    ## Related Issue
    
    Fixes #2360
    
    ## Type of change
    
    - [x] Bug fix (non-breaking change which fixes an issue)
    - [ ] New feature (non-breaking change which adds functionality)
    - [ ] Other (security config, docs update, etc)
    
    ## Checklist before merging
    
    - [x] Test, docs, adr added or updated as needed
    - [x] [Contributor Guide
    Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow)
    followed
    
    ---------
    
    Co-authored-by: Wayne Starr <[email protected]>
    lucasrod16 and Racer159 authored Mar 18, 2024
    Configuration menu
    Copy the full SHA
    30ffc14 View commit details
    Browse the repository at this point in the history
  2. feat(lib): configurable log file location (#2380)

    ## Description
    
    Allows for Zarf's logs to still be sent to a log file, but be muted
    otherwise.
    
    ```go
    logFile, err := message.UseLogFile("")
    if err != nil {
    	return err // handle the error as you see fit
    }
    
    location := message.LogFileLocation() // get the log file location if you want to
    
    // set pterm output to only go to this logfile
    pterm.SetDefaultOutput(logFile)
    
    // disable progress bars (otherwise they will still get printed to STDERR)
    message.NoProgress = true
    ```
    
    ## Related Issue
    
    Fixes #2372 
    
    ## Type of change
    
    - [ ] Bug fix (non-breaking change which fixes an issue)
    - [x] New feature (non-breaking change which adds functionality)
    - [x] Other (security config, docs update, etc)
    
    ## Checklist before merging
    
    - [ ] Test, docs, adr added or updated as needed
    - [x] [Contributor Guide
    Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow)
    followed
    
    ---------
    
    Signed-off-by: razzle <[email protected]>
    Noxsios authored Mar 18, 2024
    Configuration menu
    Copy the full SHA
    b8c83c5 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. fix(regression): populate p.sbomViewFiles on deploy and mirror (#…

    …2386)
    
    ## Description
    Refactoring that took place in
    #2223 introduced a bug on
    `deploy` where the user is not prompted to view SBOMs. This occurs
    because `p.sbomViewFiles` is not being populated correctly. This PR
    fixes this issue by populating `p.sbomViewFiles`.
    
    ## Related Issue
    N/A
    
    ## Type of change
    
    - [x] Bug fix (non-breaking change which fixes an issue)
    - [ ] New feature (non-breaking change which adds functionality)
    - [ ] Other (security config, docs update, etc)
    
    ## Checklist before merging
    
    - [ ] Test, docs, adr added or updated as needed
    - [ ] [Contributor Guide
    Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow)
    followed
    lucasrod16 authored Mar 19, 2024
    Configuration menu
    Copy the full SHA
    6d2378d View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2024

  1. feat!: filter package components with strategy interface (#2321)

    ## Description
    
    Consolidate component filtering logic into a `filters` package. Each
    filter is an implementation of
    
    ```go
    // ComponentFilterStrategy is a strategy interface for filtering components.
    type ComponentFilterStrategy interface {
    	Apply(types.ZarfPackage) ([]types.ZarfComponent, error)
    }
    ```
    
    Public construction functions return instances of this interface _not_
    instances of their underlying structs. Consumers should be fully
    cognizant of which filter they are using, and should not be making a
    common wrapper function (eg. `NewFilter(args...)` to dynamically return
    a filter.
    
    ex:
    
    ```go
    func Empty() ComponentFilterStrategy {
    	return &emptyFilter{}
    }
    
    // emptyFilter is a filter that does nothing.
    type emptyFilter struct{}
    
    // Apply returns the components unchanged.
    func (f *emptyFilter) Apply(pkg types.ZarfPackage) ([]types.ZarfComponent, error) {
    	return pkg.Components, nil
    }
    ```
    
    BREAKING CHANGES: This changes the interface signatures on
    `sources.PackageSource` to reflect the new behavior whereupon the
    `zarf.yaml` is loaded into memory within the sources load operations.
    This allows for `filter`ing to take place during load and for the
    `zarf.yaml` in memory to reflect these filter operations.
    
    ## Related Issue
    
    Fixes #2320 
    
    ## Type of change
    
    - [x] Bug fix (non-breaking change which fixes an issue)
    - [x] New feature (non-breaking change which adds functionality)
    - [ ] Other (security config, docs update, etc)
    
    ## Checklist before merging
    
    - [x] Test, docs, adr added or updated as needed
    - [x] [Contributor Guide
    Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow)
    followed
    
    ---------
    
    Signed-off-by: razzle <[email protected]>
    Co-authored-by: Wayne Starr <[email protected]>
    Co-authored-by: Lucas Rodriguez <[email protected]>
    Co-authored-by: Lucas Rodriguez <[email protected]>
    4 people authored Mar 21, 2024
    Configuration menu
    Copy the full SHA
    95c42ff View commit details
    Browse the repository at this point in the history
  2. build(release): create PRs on homebrew-tap (#2385)

    ## Description
    
    Change from creating 2 commits directly on
    `defenseunicorns/homebrew-tap` to creating a PR.
    
    ## Type of change
    
    - [ ] Bug fix (non-breaking change which fixes an issue)
    - [ ] New feature (non-breaking change which adds functionality)
    - [x] Other (security config, docs update, etc)
    
    ## Checklist before merging
    
    - [ ] Test, docs, adr added or updated as needed
    - [x] [Contributor Guide
    Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow)
    followed
    
    ---------
    
    Signed-off-by: razzle <[email protected]>
    Noxsios authored Mar 21, 2024
    Configuration menu
    Copy the full SHA
    0538841 View commit details
    Browse the repository at this point in the history
  3. ci: add commitlint workflow and update contributing guide (#2391)

    ## Description
    add commitlint workflow and update contributing guide
    
    ## Related Issue
    
    Fixes #2390
    
    ## Type of change
    
    - [ ] Bug fix (non-breaking change which fixes an issue)
    - [ ] New feature (non-breaking change which adds functionality)
    - [x] Other (security config, docs update, etc)
    
    ## Checklist before merging
    
    - [x] Test, docs, adr added or updated as needed
    - [x] [Contributor Guide
    Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow)
    followed
    
    ---------
    
    Co-authored-by: razzle <[email protected]>
    lucasrod16 and Noxsios authored Mar 21, 2024
    Configuration menu
    Copy the full SHA
    329a1ae View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2024

  1. fix: allow absolute paths for differential packages (#2397)

    ## Description
    
    allow absolute paths for differential packages
    
    fixes: #2396
    
    ## Type of change
    
    - [X] Bug fix (non-breaking change which fixes an issue)
    - [ ] New feature (non-breaking change which adds functionality)
    - [ ] Other (security config, docs update, etc)
    
    ## Checklist before merging
    
    - [ ] Test, docs, adr added or updated as needed
    - [ ] [Contributor Guide
    Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow)
    followed
    AustinAbro321 authored Mar 22, 2024
    Configuration menu
    Copy the full SHA
    63259f2 View commit details
    Browse the repository at this point in the history
  2. fix: hotfix skeleton publish (#2398)

    ## Description
    
    Hotfixes skeleton publish. However, this breakage has revealed that the
    entire `skeleton` creation + publishing flow is flawed and requires an
    overhaul. Currently, while `skeleton` says it has an `arch` of
    `skeleton`, it is actually honoring the `--architecture` flag and
    resulting in a `skeleton` package that is single architecture. It is
    also not honoring `flavor`.
    
    ## Type of change
    
    - [x] Bug fix (non-breaking change which fixes an issue)
    - [ ] New feature (non-breaking change which adds functionality)
    - [ ] Other (security config, docs update, etc)
    
    ---------
    
    Signed-off-by: razzle <[email protected]>
    Noxsios authored Mar 22, 2024
    Configuration menu
    Copy the full SHA
    0689007 View commit details
    Browse the repository at this point in the history
Loading