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
7 changes: 7 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
target-branch: master
38 changes: 38 additions & 0 deletions .github/workflows/build-and-push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build and push artifacts

on:
push:
tags:
- "v*"

permissions:
contents: write
pull-requests: write

jobs:
build-and-push:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

- name: Login to ACR
uses: MapColonies/artifactory-login@v1.0.0
with:
username: ${{ secrets.ACR_PUSH_USER }}
password: ${{ secrets.ACR_PUSH_TOKEN }}
registry: acrarolibotnonprod.azurecr.io

- name: Build and Push Helm Chart
uses: MapColonies/build-and-push-helm@v1.0.1
with:
domain: raster
project: ${{ github.repository }}
tag: ${{ github.ref_name }}
registry_url: acrarolibotnonprod.azurecr.io

- name: Update Artifacts File
uses: MapColonies/update-artifacts-file@v1.1.1
with:
domain: raster
project: ${{ github.repository }}
tag: ${{ github.ref_name }}
26 changes: 0 additions & 26 deletions .github/workflows/build_and_push.yaml

This file was deleted.

21 changes: 14 additions & 7 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,19 @@ name: CI
on: [pull_request]

jobs:
helm-lint:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: azure/setup-helm@v4
- run: helm lint ./helm

security:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@master
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
- uses: actions/checkout@v4
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
19 changes: 19 additions & 0 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on:
push:
branches:
- master
workflow_dispatch:

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 }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,6 @@ dist
.pnp.*

local.yaml

# helm
Chart.lock
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "2.1.1"
}
6 changes: 0 additions & 6 deletions helm/Chart.lock

This file was deleted.

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": "simple",
"include-component-in-tag": false,
"packages": {
".": {
"extra-files": [
{
"type": "yaml",
"path": "helm/Chart.yaml",
"jsonpath": "$.version"
},
{
"type": "yaml",
"path": "helm/Chart.yaml",
"jsonpath": "$.appVersion"
}
]
}
}
}