Skip to content

Commit

Permalink
ci: migrate to uds-pk releaser
Browse files Browse the repository at this point in the history
  • Loading branch information
mkborland committed Dec 19, 2024
1 parent 265bb06 commit ac7d47c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 25 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,6 @@ permissions:
id-token: write

jobs:
tag-new-version:
permissions: write-all
runs-on: uds-marketplace-ubuntu-big-boy-4-core
outputs:
release_created: ${{ steps.release-flag.outputs.release_created }}
steps:
- name: Create Release Tag
id: tag
uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f # v4.1.3
- id: release-flag
run: echo "release_created=${{ steps.tag.outputs.release_created || false }}" >> "$GITHUB_OUTPUT"

publish:
permissions:
contents: write # Allows reading the content of the repository.
Expand All @@ -42,4 +30,5 @@ jobs:
with:
flavor: ${{ matrix.flavor }}
runsOn: uds-marketplace-ubuntu-big-boy-8-core
uds-releaser: true
secrets: inherit # Inherits all secrets from the parent workflow.
8 changes: 2 additions & 6 deletions bundle/uds-bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ kind: UDSBundle
metadata:
name: jira-test
description: A UDS bundle for deploying jira and it's dependencies on a development cluster
# x-release-please-start-version
version: 10.3.0-uds.0
# x-release-please-end
version: dev

packages:
- name: dev-namespace
Expand All @@ -31,9 +29,7 @@ packages:

- name: jira
path: ../
# x-release-please-start-version
ref: 10.3.0-uds.0
# x-release-please-end
ref: dev
overrides:
jira:
uds-jira-config:
Expand Down
10 changes: 10 additions & 0 deletions releaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Copyright 2024 Defense Unicorns
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial

flavors:
- name: upstream
# renovate-uds: datasource=docker depName=atlassian/jira-software
version: 10.3.1-uds.0
- name: registry1
# renovate-uds: datasource=docker depName=registry1.dso.mil/ironbank/atlassian/jira-data-center/jira-node
version: 10.3.1-uds.0
4 changes: 0 additions & 4 deletions tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,3 @@ tasks:

- description: Publish the packages
task: publish:package
with:
# x-release-please-start-version
version: 10.3.0-uds.0
# x-release-please-end
4 changes: 1 addition & 3 deletions zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ kind: ZarfPackageConfig
metadata:
name: jira
description: "UDS Jira package"
# x-release-please-start-version
version: "10.3.0-uds.0"
# x-release-please-end
version: dev
variables:
- name: JIRA_DB_NAME
default: "jiradb"
Expand Down

0 comments on commit ac7d47c

Please sign in to comment.