Sync from rancher/charts
parent
86a611ad28
commit
b559f16e0b
|
@ -2,7 +2,7 @@ name: CI-pullrequest
|
|||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
branches: [ gh-pages ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
|
@ -2,7 +2,7 @@ name: CI-push
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [ gh-pages ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
partner-charts.rancher.io
|
Binary file not shown.
|
@ -1,29 +0,0 @@
|
|||
apiVersion: v1
|
||||
entries:
|
||||
dynatrace-oneagent-operator:
|
||||
- annotations:
|
||||
catalog.cattle.io/certified: partner
|
||||
catalog.cattle.io/namespace: dynatrace-oneagent-operator-system
|
||||
catalog.cattle.io/release-name: dynatrace-oneagent-operator
|
||||
apiVersion: v2
|
||||
appVersion: 0.8.0
|
||||
created: "2020-07-31T19:17:56.763530948Z"
|
||||
description: The Dynatrace OneAgent Operator Helm chart for Kubernetes and Openshift
|
||||
digest: 03e23ce41e3a83dbfa218ed2a59948e34df6d1757f506373a07bc6d359be7c58
|
||||
home: https://www.dynatrace.com/
|
||||
icon: https://assets.dynatrace.com/global/resources/Signet_Logo_RGB_CP_512x512px.png
|
||||
maintainers:
|
||||
- email: marco.mader@dynatrace.com
|
||||
name: DTMad
|
||||
- email: luis.garcia@dynatrace.com
|
||||
name: lrgar
|
||||
- email: michael.mayr@dynatrace.com
|
||||
name: mmayr-at
|
||||
name: dynatrace-oneagent-operator
|
||||
sources:
|
||||
- https://github.com/Dynatrace/helm-charts
|
||||
type: application
|
||||
urls:
|
||||
- https://dev-charts.rancher.io/dynatrace-oneagent-operator/dynatrace-oneagent-operator-0.8.000.tgz
|
||||
version: 0.8.000
|
||||
generated: "2020-07-31T19:17:56.735465007Z"
|
|
@ -1,5 +1,5 @@
|
|||
url: https://github.com/Dynatrace/helm-charts
|
||||
subdirectory: dynatrace-oneagent-operator
|
||||
commit: dynatrace-oneagent-operator-v0.8.0
|
||||
commit: b705675f8020979642fe44af51e7886ecf8502ee
|
||||
type: git
|
||||
packageVersion: 00
|
||||
|
|
|
@ -4,7 +4,7 @@ set -e
|
|||
add=0
|
||||
for f in packages/*; do
|
||||
if [[ -z $CHART || $CHART == $(basename -- ${f}) ]]; then
|
||||
mkdir -p docs/$(basename -- ${f})
|
||||
mkdir -p assets/$(basename -- ${f})
|
||||
if [[ -d ${f}/overlay ]]; then
|
||||
cp -R ${f}/overlay/* ${f}/charts
|
||||
fi
|
||||
|
@ -13,11 +13,12 @@ for f in packages/*; do
|
|||
packageVersion=$(yq r ${f}/package.yaml packageVersion)
|
||||
yq w -i ${f}/charts/Chart.yaml 'version' "${version}${packageVersion}"
|
||||
fi
|
||||
helm package ${f}/charts --destination docs/$(basename -- ${f})
|
||||
git checkout docs/$(basename -- ${f})/"$(basename -- ${f})-$(yq r ${f}/charts/Chart.yaml version).tgz" || true
|
||||
helm package ${f}/charts --destination assets/$(basename -- ${f})
|
||||
git checkout assets/$(basename -- ${f})/"$(basename -- ${f})-$(yq r ${f}/charts/Chart.yaml version).tgz" 2>/dev/null || true
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ -n $(git ls-files --other | grep "tgz") ]]; then
|
||||
helm repo index --merge ./docs/index.yaml --url https://dev-charts.rancher.io docs
|
||||
helm repo index --merge ./assets/index.yaml --url assets assets
|
||||
cp ./assets/index.yaml .
|
||||
fi
|
||||
|
|
|
@ -27,7 +27,8 @@ for f in packages/*; do
|
|||
fi
|
||||
if [[ $type == 'git' ]]; then
|
||||
mkdir -p /tmp/tmp-charts
|
||||
git clone $url /tmp/tmp-charts
|
||||
git clone --depth=1 --no-tags $url /tmp/tmp-charts
|
||||
git fetch origin $commit
|
||||
pwd=$(pwd)
|
||||
cd /tmp/tmp-charts
|
||||
git checkout $commit
|
||||
|
|
|
@ -19,9 +19,10 @@ for f in packages/*; do
|
|||
mkdir -p ${f}/charts
|
||||
if [[ $type == 'git' ]]; then
|
||||
mkdir -p /tmp/tmp-charts
|
||||
git clone $url /tmp/tmp-charts
|
||||
git clone --depth=1 --no-tags $url /tmp/tmp-charts
|
||||
pwd=$(pwd)
|
||||
cd /tmp/tmp-charts
|
||||
git fetch origin $commit
|
||||
git checkout $commit
|
||||
cd $pwd
|
||||
rm -rf ${f}/charts
|
||||
|
@ -57,4 +58,4 @@ for f in packages/*; do
|
|||
done
|
||||
fi
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue