-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
166 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
repositoryID: 9763df06-67f8-4398-bce8-f82332b382bd | ||
owners: | ||
- name: cgiraldo | ||
email: [email protected] | ||
- name: avrodriguez | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
repositoryID: 4af1d6ab-9ff7-466c-b54e-75de5db27755 | ||
owners: | ||
- name: cgiraldo | ||
email: [email protected] | ||
- name: avrodriguez | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
repositoryID: bbfc177d-cb06-4fc5-8839-8b98c420d882 | ||
owners: | ||
- name: cgiraldo | ||
email: [email protected] | ||
- name: avrodriguez | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
repositoryID: cdb4fbbf-da92-4a4b-ac96-fc8eb58937f2 | ||
owners: | ||
- name: cgiraldo | ||
email: [email protected] | ||
- name: avrodriguez | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
repositoryID: ed5466ad-a772-4596-957a-e481961691c2 | ||
owners: | ||
- name: cgiraldo | ||
email: [email protected] | ||
- name: avrodriguez | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
repositoryID: 34ba394a-893c-4400-839c-d96b25c24ffc | ||
owners: | ||
- name: cgiraldo | ||
email: [email protected] | ||
- name: avrodriguez | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
repositoryID: 05ea4c11-407d-4a91-a52a-ef01307ab8cf | ||
owners: | ||
- name: cgiraldo | ||
email: [email protected] | ||
- name: avrodriguez | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
repositoryID: a7f92b8a-74b0-4001-a524-0c21c7c5e282 | ||
owners: | ||
- name: cgiraldo | ||
email: [email protected] | ||
- name: avrodriguez | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
repositoryID: fa717312-ebf9-4688-bfd7-80fee1292fd9 | ||
owners: | ||
- name: cgiraldo | ||
email: [email protected] | ||
- name: avrodriguez | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
repositoryID: 5a48d477-96fa-443c-a14c-0cceb6d6e841 | ||
owners: | ||
- name: cgiraldo | ||
email: [email protected] | ||
- name: avrodriguez | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
repositoryID: f8bec765-04f5-4dc7-b883-16ee4976fd01 | ||
owners: | ||
- name: cgiraldo | ||
email: [email protected] | ||
- name: avrodriguez | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
repositoryID: bdcfb01a-6f74-451d-a7ee-b7965c69c5f4 | ||
owners: | ||
- name: cgiraldo | ||
email: [email protected] | ||
- name: avrodriguez | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
repositoryID: e653af7a-f438-4d0d-aad6-f61d58d07c7e | ||
owners: | ||
- name: cgiraldo | ||
email: [email protected] | ||
- name: avrodriguez | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
repositoryID: 5c4d8fdc-19fe-475b-bc25-a9c400f65270 | ||
owners: | ||
- name: cgiraldo | ||
email: [email protected] | ||
- name: avrodriguez | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
repositoryID: ee0b9bfc-40cb-4cf5-94d1-c3599c64b309 | ||
owners: | ||
- name: cgiraldo | ||
email: [email protected] | ||
- name: avrodriguez | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
repositoryID: 6bdf306a-6b7e-410d-9a0c-c0f5053aa30d | ||
owners: | ||
- name: cgiraldo | ||
email: [email protected] | ||
- name: avrodriguez | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
repositoryID: 77431472-9275-4a1d-80b4-e755611c0cd3 | ||
owners: | ||
- name: cgiraldo | ||
email: [email protected] | ||
- name: avrodriguez | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
repositoryID: 60714c0a-fe0a-492b-bfc8-021510341f03 | ||
owners: | ||
- name: cgiraldo | ||
email: [email protected] | ||
- name: avrodriguez | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
repositoryID: 329519ca-51f0-432f-9daa-52fe9e4e5384 | ||
owners: | ||
- name: cgiraldo | ||
email: [email protected] | ||
- name: avrodriguez | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
repositoryID: 217c92c6-d336-4649-ac34-9bc046e2d3fc | ||
owners: | ||
- name: cgiraldo | ||
email: [email protected] | ||
- name: avrodriguez | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
repositoryID: a26a02e9-daec-4df6-b388-19409af85411 | ||
owners: | ||
- name: cgiraldo | ||
email: [email protected] | ||
- name: avrodriguez | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
REGISTRY=registry-1.docker.io/gradiantcharts | ||
|
||
push_chart () { | ||
CHART=$1 | ||
echo "Packaging chart '$CHART'..." | ||
helm dep update charts/$CHART | ||
helm package charts/$CHART | ||
echo "Push package '$CHART' to $REGISTRY ..." | ||
helm push $CHART*.tgz oci://$REGISTRY | ||
} | ||
|
||
helm registry login $REGISTRY | ||
|
||
for dir in charts/*/ | ||
do | ||
dir=${dir%*/} # remove the trailing "/" | ||
dir="${dir##*/}" # print everything after the final "/" | ||
push_chart $dir | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
REGISTRY=registry-1.docker.io/gradiantcharts | ||
|
||
push_metadata () { | ||
oras push \ | ||
$REGISTRY/$1:artifacthub.io \ | ||
--config /dev/null:application/vnd.cncf.artifacthub.config.v1+yaml \ | ||
charts/$1/artifacthub-repo.yml:application/vnd.cncf.artifacthub.repository-metadata.layer.v1.yaml | ||
} | ||
|
||
docker login | ||
|
||
for dir in charts/*/ | ||
do | ||
dir=${dir%*/} # remove the trailing "/" | ||
dir="${dir##*/}" # print everything after the final "/" | ||
push_metadata $dir | ||
done |