-
Notifications
You must be signed in to change notification settings - Fork 18
39 lines (35 loc) · 1.18 KB
/
otel-agent-windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: OpenTelemetry-Coralogix-Windows-Chart
on:
push:
branches: master
paths:
- 'otel-agent/k8s-helm-windows/**'
env:
CHART_VERSION: $(yq eval '.version' otel-agent/k8s-helm-windows/Chart.yaml)
CHART_NAME: opentelemetry-coralogix-windows
ARTIFACTORY_URL: https://cgx.jfrog.io/artifactory/
ARTIFACTORY_USERNAME: integrations-actions
jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/[email protected]
-
name: Setup Helm Repo
run: |
helm repo add coralogix-charts-virtual ${{ env.ARTIFACTORY_URL }}coralogix-charts-virtual --username ${{ env.ARTIFACTORY_USERNAME }} --password ${{ secrets.ARTIFACTORY_NONUSER_ACCESS_TOKEN }}
helm repo update
cd otel-agent/k8s-helm-windows
helm package .
-
name: Setup JFrog CLI
uses: jfrog/[email protected]
with:
version: 2.12.1
-
name: use-jfrog-cli
run: |
cd otel-agent/k8s-helm-windows
jfrog rt upload --access-token ${{ secrets.ARTIFACTORY_NONUSER_ACCESS_TOKEN }} "${{ env.CHART_NAME }}-*.tgz" coralogix-charts --url ${{ env.ARTIFACTORY_URL }}