Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI files for branch main #5611

Merged
merged 1 commit into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading