fix(ci): remove go-yq check (#3364)

This commit is contained in:
Stavros Kois
2022-07-31 19:15:36 +00:00
committed by GitHub
parent 33632fce1d
commit a10c0dffb8
4 changed files with 44 additions and 50 deletions
-3
View File
@@ -33,8 +33,6 @@ sync_tag() {
echo "Updating home of ${chartname}..."
sed -i -e "s|home: .*|home: https:\/\/truecharts.org\/docs\/charts\/${train}\/${chartname}|" "${chart}/Chart.yaml"
echo "Attempting to update sources of ${chartname}..."
# Only update source if go-yq is installed
if [ $(command -v go-yq) ]; then
go-yq -V
# Get all sources (except truecharts)
curr_sources=$(go-yq '.sources[] | select(. != "https://github.com/truecharts*")' "${chart}/Chart.yaml")
@@ -56,7 +54,6 @@ sync_tag() {
echo "${chartname}: After adding the rest of the sources"
cat "${chart}/Chart.yaml"
echo "Sources of ${chartname} updated!"
fi;
}
export -f sync_tag
+1 -1
View File
@@ -15,7 +15,7 @@ jobs:
name: Test SCALE Catalog
runs-on: ubuntu-latest
container:
image: ghcr.io/truecharts/devcontainer:v2.6.0@sha256:395ee7ed8b9cba6569ddeba77b7ceb86fdb79b91a19c639625d7bc54cb1ccc1d
image: ghcr.io/truecharts/devcontainer:v2.6.0@sha256:992e3c1df7245846a4d8f30fb0f21dc259d245ff41b3a1901284bdb26f4cb4cd
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
name: Checkout
+1 -1
View File
@@ -14,7 +14,7 @@ jobs:
release:
runs-on: ubuntu-latest
container:
image: ghcr.io/truecharts/devcontainer:v2.6.0@sha256:395ee7ed8b9cba6569ddeba77b7ceb86fdb79b91a19c639625d7bc54cb1ccc1d
image: ghcr.io/truecharts/devcontainer:v2.6.0@sha256:992e3c1df7245846a4d8f30fb0f21dc259d245ff41b3a1901284bdb26f4cb4cd
concurrency: gitpush
steps:
- name: Install Kubernetes tools
-3
View File
@@ -302,8 +302,6 @@ sync_tag() {
echo "Updating home of ${chartname}..."
sed -i -e "s|home: .*|home: https:\/\/truecharts.org\/docs\/charts\/${train}\/${chartname}|" "${chart}/Chart.yaml"
echo "Attempting to update sources of ${chartname}..."
# Only update source if go-yq is installed
if [ $(command -v go-yq) ]; then
go-yq -V
# Get all sources (except truecharts)
curr_sources=$(go-yq '.sources[] | select(. != "https://github.com/truecharts*")' "${chart}/Chart.yaml")
@@ -325,7 +323,6 @@ sync_tag() {
echo "${chartname}: After adding the rest of the sources"
cat "${chart}/Chart.yaml"
echo "Sources of ${chartname} updated!"
fi;
}
export -f sync_tag