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
26 changes: 26 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# yaml-language-server: $schema=https://json.schemastore.org/dependabot-2.0.json
version: 2
updates:
# pip deps
- package-ecosystem: pip
target-branch: "master"
schedule:
interval: weekly
directory: /
commit-message:
prefix: "deps"
groups:
opentelemetry:
patterns:
- "opentelemetry*"
patch:
update-types:
- patch

# github deps
- package-ecosystem: github-actions
schedule:
interval: weekly
commit-message:
prefix: "ci"
directory: "/"
72 changes: 49 additions & 23 deletions .github/workflows/build_and_push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,56 @@ name: Build and push artifacts
on:
push:
tags:
- 'v*'

- "v*"
workflow_dispatch:
inputs:
version:
required: true
type: string

env:
HELM_EXPERIMENTAL_OCI: 1
jobs:
build_and_push:
runs-on: ubuntu-latest
steps:
- name: Artifactory Login
uses: MapColonies/shared-workflows/actions/artifactory-login@artifactory-login-v1.0.0
with:
registry: ${{ secrets.ACR_URL }}
username: ${{ secrets.ACR_PUSH_USER }}
password: ${{ secrets.ACR_PUSH_TOKEN }}

permissions:
contents: write
pull-requests: write
- name: Build Docker Image
id: build
uses: MapColonies/shared-workflows/actions/build-docker@build-docker-v1.1.0
with:
domain: raster
registry: ${{ secrets.ACR_URL }}

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

build_and_push_helm:
uses: MapColonies/shared-workflows/.github/workflows/build-and-push-helm.yaml@v2
secrets: inherit
with:
scope: raster
- name: Push Docker Image
uses: MapColonies/shared-workflows/actions/push-docker@push-docker-v1.0.1
with:
image_name: ${{ steps.build.outputs.docker_image_full_name }}
image_tag: ${{ steps.build.outputs.docker_image_tag }}

- name: Build and Push Helm Chart
uses: MapColonies/shared-workflows/actions/build-and-push-helm@build-and-push-helm-v1.0.1
with:
context: ./helm
domain: raster
registry: ${{ secrets.ACR_URL }}

- name: Update Artifacts File- Docker
uses: MapColonies/shared-workflows/actions/update-artifacts-file@update-artifacts-file-v1.1.1
with:
domain: raster
artifact_name: ${{ github.event.repository.name }}
artifact_tag: ${{ github.ref_name }}
type: docker
registry: ${{ secrets.ACR_URL }}
github_token: ${{ secrets.GH_PAT }}

- name: Update Artifacts File- Helm
uses: MapColonies/shared-workflows/actions/update-artifacts-file@update-artifacts-file-v1.1.1
with:
domain: raster
artifact_name: ${{ github.event.repository.name }}
artifact_tag: ${{ github.ref_name }}
type: helm
registry: ${{ secrets.ACR_URL }}
github_token: ${{ secrets.GH_PAT }}
26 changes: 26 additions & 0 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Pull Request

on:
pull_request:
branches:
- master

jobs:
helm-lint:
name: Run Helm lint Check
runs-on: ubuntu-latest

steps:
- name: Check out TS Project Git repository
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Helm Lint Checks
uses: MapColonies/shared-workflows/actions/helm-lint@helm-lint-v1

build_docker_image:
runs-on: ubuntu-latest
steps:
- name: Build and Push Docker image
uses: docker/build-push-action@v6
18 changes: 0 additions & 18 deletions .github/workflows/release-on-tag-push.yaml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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:
token: ${{ secrets.GH_PAT }}
16 changes: 0 additions & 16 deletions .github/workflows/snyk.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.9.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"
}
]
}
}
}
Loading