Skip to content

Commit

Permalink
Update CI files
Browse files Browse the repository at this point in the history
[noissue]
  • Loading branch information
pulpbot committed Jul 21, 2024
1 parent fd6c397 commit a07dcdb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .github/template_gitref
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2021.08.26-359-gdd9cdf7
2021.08.26-361-gcd6f9f0
12 changes: 3 additions & 9 deletions .github/workflows/scripts/build_python_client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -55,9 +53,7 @@ tar cvf ../../pulpcore/core-python-client-docs.tar ./site
popd
rm -rf "pulp_file-client"

# We need to copy that over to be visible in the container.
cp "../pulpcore/file-api.json" .
./gen-client.sh "file-api.json" "file" python "pulp_file"
./gen-client.sh "../pulpcore/file-api.json" "file" python "pulp_file"

pushd pulp_file-client
python setup.py sdist bdist_wheel --python-tag py3
Expand Down Expand Up @@ -92,9 +88,7 @@ tar cvf ../../pulpcore/file-python-client-docs.tar ./site
popd
rm -rf "pulp_certguard-client"

# We need to copy that over to be visible in the container.
cp "../pulpcore/certguard-api.json" .
./gen-client.sh "certguard-api.json" "certguard" python "pulp_certguard"
./gen-client.sh "../pulpcore/certguard-api.json" "certguard" python "pulp_certguard"

pushd pulp_certguard-client
python setup.py sdist bdist_wheel --python-tag py3
Expand Down
30 changes: 3 additions & 27 deletions .github/workflows/scripts/build_ruby_client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,47 +18,23 @@ 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
tar cvf "../../pulpcore/core-ruby-client.tar" "./pulpcore_client-"*".gem"
popd
rm -rf "pulp_file-client"

# We need to copy that over to be visible in the container.
#cp "../pulpcore/file-api.json" .
#./gen-client.sh "file-api.json" "file" ruby "pulp_file"

# -------------
# The generator still needs to have it called api.json at this time...
cp "../pulpcore/api.json" .
./gen-client.sh "api.json" "file" ruby "pulp_file"
# -------------
./gen-client.sh "../pulpcore/file-api.json" "file" ruby "pulp_file"

pushd pulp_file-client
gem build pulp_file_client
tar cvf "../../pulpcore/file-ruby-client.tar" "./pulp_file_client-"*".gem"
popd
rm -rf "pulp_certguard-client"

# We need to copy that over to be visible in the container.
#cp "../pulpcore/certguard-api.json" .
#./gen-client.sh "certguard-api.json" "certguard" ruby "pulp_certguard"

# -------------
# The generator still needs to have it called api.json at this time...
cp "../pulpcore/api.json" .
./gen-client.sh "api.json" "certguard" ruby "pulp_certguard"
# -------------
./gen-client.sh "../pulpcore/certguard-api.json" "certguard" ruby "pulp_certguard"

pushd pulp_certguard-client
gem build pulp_certguard_client
Expand Down
2 changes: 1 addition & 1 deletion docs/template_gitref
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2021.08.26-359-gdd9cdf7
2021.08.26-361-gcd6f9f0

0 comments on commit a07dcdb

Please sign in to comment.