Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/container-and-chart/helm/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

image:
repository: reference-package
tag: latest
tag: v0.1.0
pullPolicy: IfNotPresent

service:
Expand All @@ -22,5 +22,5 @@ sso:
enabled: false
secretName: reference-package-sso

monitoring:
monitoring:
enabled: false
62 changes: 31 additions & 31 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
# # Copyright 2024 Defense Unicorns
# # SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial
# Copyright 2024 Defense Unicorns
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial

# name: Release
name: Release

# on:
# push:
# branches:
# - main
# paths-ignore:
# - ".github/container-and-chart/**"
on:
push:
branches:
- main
paths-ignore:
- ".github/container-and-chart/**"

# # Permissions for the GITHUB_TOKEN used by the workflow.
# permissions:
# contents: read # Allows reading the content of the repository.
# packages: read # Allows reading the content of the repository's packages.
# id-token: write
# Permissions for the GITHUB_TOKEN used by the workflow.
permissions:
contents: read # Allows reading the content of the repository.
packages: read # Allows reading the content of the repository's packages.
id-token: write

# jobs:
# publish:
# permissions:
# contents: write # Allows writing the content of the repository.
# packages: write # Allows writing the content of the repository's packages.
# id-token: write
# strategy:
# matrix:
# flavor: [upstream, unicorn]
# architecture: [amd64, arm64]
# uses: defenseunicorns/uds-common/.github/workflows/callable-publish.yaml@730d22c6e061153d525a6d6f932e108ae952bd46 # v1.23.0
# with:
# flavor: ${{ matrix.flavor }}
# options: --set BASE_REPO="ghcr.io/uds-packages"
# runsOn: ${{ matrix.architecture == 'arm64' && 'appstore-4-core-arm64' || 'appstore-4-core-amd64' }}
# uds-releaser: true
# secrets: inherit # Inherits all secrets from the parent workflow.
jobs:
publish:
permissions:
contents: write # Allows writing the content of the repository.
packages: write # Allows writing the content of the repository's packages.
id-token: write
strategy:
matrix:
flavor: [upstream, unicorn]
architecture: [amd64, arm64]
uses: defenseunicorns/uds-common/.github/workflows/callable-publish.yaml@730d22c6e061153d525a6d6f932e108ae952bd46 # v1.23.0
with:
flavor: ${{ matrix.flavor }}
options: --set BASE_REPO="ghcr.io/uds-packages"
runsOn: ${{ matrix.architecture == 'arm64' && 'appstore-4-core-arm64' || 'appstore-4-core-amd64' }}
uds-releaser: true
secrets: inherit # Inherits all secrets from the parent workflow.
2 changes: 1 addition & 1 deletion common/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ components:
- name: reference-package
namespace: reference-package
version: 0.1.0
localPath: ../src/helm/chart
url: oci://ghcr.io/uds-packages/reference-package/helm/reference-package
valuesFiles:
- ../values/common-values.yaml
6 changes: 0 additions & 6 deletions tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/defenseunicorns/uds-cli/refs/heads/main/tasks.schema.json
includes:
- test: ./tasks/test.yaml
- dependencies: ./tasks/dependencies.yaml
- create: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.23.0/tasks/create.yaml
- lint: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.23.0/tasks/lint.yaml
- pull: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.23.0/tasks/pull.yaml
Expand All @@ -12,7 +11,6 @@ includes:
- actions: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.23.0/tasks/actions.yaml
- badge: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.23.0/tasks/badge.yaml
- upgrade: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.23.0/tasks/upgrade.yaml
- compliance: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.23.0/tasks/compliance.yaml
- publish: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.23.0/tasks/publish.yaml

tasks:
Expand All @@ -26,7 +24,6 @@ tasks:
- name: create-dev-package
description: Create the package
actions:
- task: dependencies:create-container-image
- task: create:package
with:
options: "--skip-sbom"
Expand Down Expand Up @@ -66,9 +63,6 @@ tasks:
- name: publish-package
description: Build and publish the packages
actions:
- description: Create the container image
task: dependencies:create-container-image

- description: Create the package
task: create:package

Expand Down
13 changes: 0 additions & 13 deletions tasks/dependencies.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion values/unicorn-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial

image:
repository: reference-package
repository: ghcr.io/uds-packages/reference-package/container/reference-package
tag: v0.1.0
pullPolicy: Always
2 changes: 1 addition & 1 deletion values/upstream-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial

image:
repository: reference-package
repository: ghcr.io/uds-packages/reference-package/container/reference-package
tag: v0.1.0
pullPolicy: Always
4 changes: 2 additions & 2 deletions zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ components:
valuesFiles:
- values/upstream-values.yaml
images:
- reference-package:v0.1.0
- ghcr.io/uds-packages/reference-package/container/reference-package:v0.1.0

- name: reference-package
required: true
Expand All @@ -39,4 +39,4 @@ components:
valuesFiles:
- values/unicorn-values.yaml
images:
- reference-package:v0.1.0
- ghcr.io/uds-packages/reference-package/container/reference-package:v0.1.0
Loading