Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

publish:package task fails when multiple zarf-package-*.tar.zst files exist #178

Closed
marshall007 opened this issue Jul 16, 2024 · 0 comments
Assignees

Comments

@marshall007
Copy link
Contributor

Modifications needed to be made in defenseunicorns/uds-package-mattermost#99 to handle the case where multiple packages are being built/published in the same project. In other words, you should be able to call create:package multiple times and then have some way to call publish:package for each package that is built (or once for all of them?).

For example:

  - name: publish-packages
    description: Build packages
    actions:
      - task: create:package # creates `zarf-package-mattermost-amd64-9.9.1-uds.0.tar.zst`
      - task: create:package # creates `zarf-package-mattermost-plugins-amd64-9.9.1-uds.0.tar.zst`
        with:
          path: ./plugins
          options: "--flavor ''"
      - task: publish:package # publishes all packages named `zarf-package-mattermost-*.tar.zst`
        with:
          filter: mattermost-*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants