From e8503c2112815b47954ffee8fd26c5e93c0b20ea Mon Sep 17 00:00:00 2001 From: Carlos Camacho Date: Fri, 20 Oct 2023 11:56:48 +0200 Subject: [PATCH] ci: test new galaxy endpoint This commit checks the NG galaxy endpoint for publishing the collection. --- ci/release.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ci/release.sh b/ci/release.sh index b4f836ef1..95a79dc3e 100755 --- a/ci/release.sh +++ b/ci/release.sh @@ -109,7 +109,11 @@ if [ "$publish" == "1" ]; then mkdir -p releases ansible-galaxy collection build -v --force --output-path releases/ ansible-galaxy collection publish \ - releases/$current_galaxy_namespace-$current_galaxy_name-$current_galaxy_version.tar.gz --api-key $GALAXY_KEY + releases/$current_galaxy_namespace-$current_galaxy_name-$current_galaxy_version.tar.gz \ + --server https://beta-galaxy.ansible.com \ + --ignore-certs \ + --verbose \ + --api-key $GALAXY_KEY echo 'Building and pushing a new tag GitHub...' curl -H "Authorization: token $GITHUB_TOKEN" --data "$(generate_post_data)" "https://api.github.com/repos/kubeinit/kubeinit/releases"