-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
516247c
commit 8811a51
Showing
6 changed files
with
86 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Release Self-Hosted | ||
|
||
workflow_dispatch: {} | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- | ||
name: Fetch All Tags | ||
run: git fetch --force --tags | ||
- | ||
name: Install Task | ||
uses: arduino/setup-task@v2 | ||
with: | ||
version: 3.x | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
- | ||
name: Get version | ||
id: bump | ||
run: | | ||
echo version=$(cat ./charts/opslevel/Chart.yaml | yq '.version') >> $GITHUB_OUTPUT | ||
- | ||
name: Prepare Manifests | ||
run: task prepare-self-hosted | ||
- | ||
name: Lint Manifests | ||
uses: replicatedhq/[email protected] | ||
with: | ||
replicated-api-token: ${{ secrets.REPLICATED_API_TOKEN }} | ||
replicated-app: 'opslevel-helm' | ||
yaml-dir: manifests | ||
- | ||
name: Create Release | ||
uses: replicatedhq/[email protected] | ||
with: | ||
replicated-api-token: ${{ secrets.REPLICATED_API_TOKEN }} | ||
replicated-app: 'opslevel-helm' | ||
promote-channel: 'Internal' | ||
yaml-dir: manfests | ||
version: ${{ steps.bump.outputs.version }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
.DS_Store | ||
.idea | ||
/manifests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# https://taskfile.dev | ||
version: '3' | ||
|
||
vars: | ||
VERSION_DYNAMIC: | ||
sh: cat ./charts/opslevel/Chart.yaml | yq '.version' | ||
|
||
tasks: | ||
prepare-self-hosted: | ||
desc: Workflow to run in CI to prepare self-hosted release | ||
deps: | ||
- install-helm | ||
cmds: | ||
- helm package ./charts/opslevel --dependency-update | ||
- mkdir -p ./manifests | ||
- mv ./opslevel-{{.VERSION_DYNAMIC}}.tgz ./manifests/opslevel-{{.VERSION_DYNAMIC}}.tgz | ||
|
||
install-helm: | ||
internal: true | ||
platforms: [darwin] | ||
preconditions: | ||
- sh: 'which brew' | ||
msg: '"brew" needed to install "helm"- see https://brew.sh' | ||
status: | ||
- test -n "command -v helm" | ||
cmds: ["which helm > /dev/null || brew install helm"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
dependencies: | ||
- name: replicated | ||
repository: oci://registry.replicated.com/library | ||
version: 1.0.0-beta.17 | ||
digest: sha256:aaea484922dc34d43fc3ee8ff1ec7255b6f9bbf475123a1046ea105b6a9de9ec | ||
generated: "2024-05-24T14:44:19.045406-05:00" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
apiVersion: "v2" | ||
name: "opslevel" | ||
type: "application" | ||
version: "2024.5.20" | ||
appVersion: "2024.5.20" | ||
version: "2024.5.24" | ||
appVersion: "2024.3.21" | ||
description: "The OpsLevel internal developer portal helps your team ship fast without risking your software standards." | ||
home: "https://www.opslevel.com/" | ||
icon: "https://app.opslevel.com/OpsLevelLogo-Primary.svg" | ||
maintainers: | ||
- name: "OpsLevel" | ||
email: "[email protected]" | ||
dependencies: | ||
- name: 'replicated' | ||
repository: 'oci://registry.replicated.com/library' | ||
version: '1.0.0-beta.17' |
Binary file not shown.