Skip to content
Open
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
36 changes: 24 additions & 12 deletions .github/workflows/build_and_push.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,31 @@
name: Build-and-push
name: Build and push artifacts

on:
create:
push:
tags:
- 'v*'

jobs:
workflow_dispatch:

Copilot AI May 14, 2025

Copy link

Choose a reason for hiding this comment

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

[nitpick] Consider documenting how the 'version' input will be utilized within the workflow or passed to the shared workflows to ensure future maintainers understand its role.

Copilot uses AI. Check for mistakes.

Copilot AI May 14, 2025

Copy link

Choose a reason for hiding this comment

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

[nitpick] Consider adding a brief comment explaining the purpose and expected input for the 'workflow_dispatch' trigger to aid users triggering the workflow manually.

Copilot uses AI. Check for mistakes.
inputs:
version:
required: true
type: string
env:
HELM_EXPERIMENTAL_OCI: 1

build_and_test:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write

jobs:
build_and_push_docker:
uses: MapColonies/shared-workflows/.github/workflows/build-and-push-docker.yaml@v4
secrets: inherit
with:
scope: vector

steps:
- name: Azure Pipelines Action
uses: Azure/pipelines@v1
with:
azure-devops-project-url: https://dev.azure.com/Libot-Mipui-Org/planet-dumper
azure-pipeline-name: 'build-and-push-to-ACR'
azure-devops-token: ${{ secrets.AZURE_DEVOPS_TOKEN }}
build_and_push_helm:
uses: MapColonies/shared-workflows/.github/workflows/build-and-push-helm.yaml@v4
secrets: inherit
with:
scope: vector
21 changes: 21 additions & 0 deletions .github/workflows/release_please.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on:
push:
branches:
- master

permissions:
contents: write
pull-requests: write

name: release_please

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
with:
# this assumes that you have created a personal access token
# (PAT) and configured it as a GitHub action secret named
# `MY_RELEASE_PLEASE_TOKEN` (this secret name is not important).
token: ${{ secrets.GH_PAT }}
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{".":"4.0.0"}
21 changes: 21 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"release-type": "node",
"include-component-in-tag": false,
"packages": {
".": {
"extra-files": [
{
"type": "yaml",
"path": "helm/Chart.yaml",
"jsonpath": "$.version"
},
{
"type": "yaml",
"path": "helm/Chart.yaml",
"jsonpath": "$.appVersion"
}
]
}
}
}