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

Feature: OCI Package Composability #1469

Merged
merged 223 commits into from
May 17, 2023
Merged

Feature: OCI Package Composability #1469

merged 223 commits into from
May 17, 2023

Conversation

Noxsios
Copy link
Contributor

@Noxsios Noxsios commented Mar 23, 2023

Description

Allows for skeleton packages to be published and components imported via OCI:

$ zarf package publish examples/helm-local-chart oci://localhost:555 --insecure
  - name: import-component-oci
    required: false
    import:
      # name is optional, if not provided the name of the component will be used to import
      name: demo-helm-local-chart
      url: oci://localhost:555/helm-local-chart:0.0.1
    actions:
      onDeploy:
        after:
          - wait:
              cluster:
                kind: deployment
                name: local-demo
                namespace: local-chart
                condition: available

This adds the following behavior to zarf package publish:

  • $version-skeleton: If a directory is specified, the skeleton package will be published (and can be used for composability)
  • $version-$arch: If a tarball is specified, that fully rendered package will be published

Related Issue

Fixes #1097

Fixes #1060

Relates to #1426

Fixes #1560

Fixes #1215

Type of change

  • 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

@netlify
Copy link

netlify bot commented Mar 23, 2023

Deploy Preview for zarf-docs ready!

Name Link
🔨 Latest commit 4a4cb63
🔍 Latest deploy log https://app.netlify.com/sites/zarf-docs/deploys/64651eec1222bf00088f11bf
😎 Deploy Preview https://deploy-preview-1469--zarf-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Noxsios and others added 28 commits March 23, 2023 02:59
Signed-off-by: razzle <[email protected]>
Signed-off-by: razzle <[email protected]>
Signed-off-by: razzle <[email protected]>
Signed-off-by: razzle <[email protected]>
Signed-off-by: razzle <[email protected]>
Signed-off-by: razzle <[email protected]>
Signed-off-by: razzle <[email protected]>
Signed-off-by: razzle <[email protected]>
YrrepNoj
YrrepNoj previously approved these changes May 17, 2023
Signed-off-by: razzle <[email protected]>
Copy link
Contributor

@Racer159 Racer159 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants