From 599371ee60ec505701c6a8c23fa88754f0386e44 Mon Sep 17 00:00:00 2001 From: pulpbot Date: Sun, 21 Jul 2024 02:39:51 +0000 Subject: [PATCH] Update CI files [noissue] --- .github/template_gitref | 2 +- .github/workflows/scripts/build_python_client.sh | 4 +--- .github/workflows/scripts/build_ruby_client.sh | 10 +--------- 3 files changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/template_gitref b/.github/template_gitref index 3afe71998c..3d9674dcd0 100644 --- a/.github/template_gitref +++ b/.github/template_gitref @@ -1 +1 @@ -2021.08.26-359-gdd9cdf7 +2021.08.26-361-gcd6f9f0 diff --git a/.github/workflows/scripts/build_python_client.sh b/.github/workflows/scripts/build_python_client.sh index e6cb5b6b1b..e73c04cd27 100755 --- a/.github/workflows/scripts/build_python_client.sh +++ b/.github/workflows/scripts/build_python_client.sh @@ -18,9 +18,7 @@ cd "$(dirname "$(realpath -e "$0")")"/../../.. pushd ../pulp-openapi-generator rm -rf "pulpcore-client" -# We need to copy that over to be visible in the container. -cp "../pulpcore/core-api.json" . -./gen-client.sh "core-api.json" "core" python "pulpcore" +./gen-client.sh "../pulpcore/core-api.json" "core" python "pulpcore" pushd pulpcore-client python setup.py sdist bdist_wheel --python-tag py3 diff --git a/.github/workflows/scripts/build_ruby_client.sh b/.github/workflows/scripts/build_ruby_client.sh index 1d96e55801..b961604f8c 100755 --- a/.github/workflows/scripts/build_ruby_client.sh +++ b/.github/workflows/scripts/build_ruby_client.sh @@ -18,15 +18,7 @@ cd "$(dirname "$(realpath -e "$0")")"/../../.. pushd ../pulp-openapi-generator rm -rf "pulpcore-client" -# We need to copy that over to be visible in the container. -#cp "../pulpcore/core-api.json" . -#./gen-client.sh "core-api.json" "core" ruby "pulpcore" - -# ------------- -# The generator still needs to have it called api.json at this time... -cp "../pulpcore/api.json" . -./gen-client.sh "api.json" "core" ruby "pulpcore" -# ------------- +./gen-client.sh "../pulpcore/core-api.json" "core" ruby "pulpcore" pushd pulpcore-client gem build pulpcore_client