Skip to content

Commit

Permalink
chore: removed all actions and added helm ones
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno Bressi <[email protected]>
  • Loading branch information
puffitos committed Sep 10, 2024
1 parent bc5f46c commit 8f6e6f2
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 110 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/build-and-push-latest-docker-image.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/helm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Helm Package & Push

on:
push:
tags:
- '*'

jobs:
helm:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Helm lint & package & push
run: |
cd charts/opa-exporter
helm registry login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}
helm registry login ${MTR} -u ${DOCKER_USERNAME} -p ${DOCKER_PASSWORD}
helm lint .
helm package .
helm push $(ls *.tgz| head -1) oci://ghcr.io/caas-team/charts
helm push $(ls *.tgz| head -1) oci://${MTR}/${REPO}/charts
env:
DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}}
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
MTR: mtr.devops.telekom.de
REPO: caas

15 changes: 15 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Helm Lint

on:
push:

jobs:
helm:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Helm lint
run: |
helm lint .
36 changes: 0 additions & 36 deletions .github/workflows/on-push-master-publish-chart.yml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/release.yml

This file was deleted.

2 changes: 1 addition & 1 deletion charts/opa-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ apiVersion: v2
name: opa-exporter
description: Prometheus exporter for OPA Gatekeeper.
type: application
version: 0.6.2-rc0
version: 0.6.2
appVersion: 0.0.4
home: https://github.com/mcelep/opa-scorecard

0 comments on commit 8f6e6f2

Please sign in to comment.