Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Merge pull request #22 from matej-g/update-chart-lock #12

Merge pull request #22 from matej-g/update-chart-lock

Merge pull request #22 from matej-g/update-chart-lock #12

name: coralogix-opentelemetry-integration
on:
workflow_dispatch:
push:
branches:
- main
paths:
- charts/**
env:
CHART_VERSION: $(yq eval '.version' charts/Chart.yaml)
CHART_NAME: coralogix-opentelemetry-integration
ARTIFACTORY_URL: https://cgx.jfrog.io/artifactory/
ARTIFACTORY_USERNAME: integrations-actions
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.4.0
- name: Setup Helm Repo
run: |
cd charts
helm repo add opentelemetry https://open-telemetry.github.io/opentelemetry-helm-charts
helm repo add prometheus https://prometheus-community.github.io/helm-charts
helm repo update
helm dependency build .
helm package .
- name: Setup JFrog CLI
uses: jfrog/setup-jfrog-cli@v2.1.0
with:
version: 2.12.1
- name: use-jfrog-cli
run: |
cd charts
jfrog rt upload --access-token ${{ secrets.ARTIFACTORY_NONUSER_ACCESS_TOKEN }} "${{ env.CHART_NAME }}-*.tgz" coralogix-charts --url ${{ env.ARTIFACTORY_URL }}