Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed Jul 17, 2024
1 parent 9bd1a26 commit 5db1f98
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/image-deps-updater.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
fi
function get_version() {
pkg/goods/bins/k0s airgap list-images --all | grep "/$1:" | awk -F':v' '{ print $2 }' | sed 's/-[0-9]*$//'
pkg/goods/bins/k0s airgap list-images --all | grep "/$1:" | awk -F':' '{ print $2 }' | sed 's/^v//' | sed 's/-[0-9]*$//'
}
coredns_version=$(get_version coredns)
Expand All @@ -58,11 +58,6 @@ jobs:
< APKINDEX grep -A1 "^P:$1" | grep "V:$2" | awk -F '-r' '{print $1, $2}' | sort -k2,2n | tail -1 | awk '{print $1 "-r" $2}' | sed -n -e 's/V://p' | tr -d '\n'
}
# coredns_package_version=$(get_package_version coredns $coredns_version)
# calico_node_package_version=$(get_package_version calico-node $calico_node_version)
# metrics_server_package_version=$(get_package_version metrics-server $metrics_server_version)
# kube_proxy_package_version=$(get_package_version kube-proxy $kube_proxy_version)
components=$(echo '[
{
"name": "coredns",
Expand All @@ -81,14 +76,6 @@ jobs:
}
]')
# {
# printf "matrix={\"include\":["
# printf "{\"component\": \"coredns\", \"version\": \"$coredns_version\", \"makefile_var\": \"COREDNS_VERSION\"},"
# printf "{\"component\": \"calico-node\", \"version\": \"$calico_node_version\", \"makefile_var\": \"CALICO_NODE_VERSION\"},"
# printf "{\"component\": \"metrics-server\", \"version\": \"$metrics_server_version\", \"makefile_var\": \"METRICS_SERVER_VERSION\"}"
# printf "]}"
# } >> "$GITHUB_OUTPUT"
echo "components=$components" >> "$GITHUB_OUTPUT"
build-images:
Expand Down

0 comments on commit 5db1f98

Please sign in to comment.