pulp_container_client 2.8.5 → 2.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +3 -3
- data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +3 -3
- data/lib/pulp_container_client/api_client.rb +2 -5
- data/lib/pulp_container_client/configuration.rb +1 -0
- data/lib/pulp_container_client/models/container_container_distribution.rb +20 -20
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +33 -33
- data/lib/pulp_container_client/models/container_container_push_repository.rb +10 -10
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +38 -38
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +20 -20
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +10 -10
- data/lib/pulp_container_client/version.rb +1 -1
- data/pulp_container_client.gemspec +3 -3
- data/spec/models/container_container_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +8 -8
- data/spec/models/container_container_push_repository_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
- metadata +52 -53
- data/git_push.sh +0 -58
metadata
CHANGED
@@ -1,35 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_container_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.8.
|
4
|
+
version: 2.8.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.0.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
version: '2.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - "
|
27
|
+
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 1.0.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
32
|
+
version: '2.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: json
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -137,7 +137,6 @@ files:
|
|
137
137
|
- docs/TagImage.md
|
138
138
|
- docs/TokenApi.md
|
139
139
|
- docs/UnTagImage.md
|
140
|
-
- git_push.sh
|
141
140
|
- lib/pulp_container_client.rb
|
142
141
|
- lib/pulp_container_client/api/content_blobs_api.rb
|
143
142
|
- lib/pulp_container_client/api/content_manifests_api.rb
|
@@ -261,9 +260,9 @@ files:
|
|
261
260
|
- spec/models/tag_image_spec.rb
|
262
261
|
- spec/models/un_tag_image_spec.rb
|
263
262
|
- spec/spec_helper.rb
|
264
|
-
homepage: https://
|
263
|
+
homepage: https://github.com/pulp/pulp_container
|
265
264
|
licenses:
|
266
|
-
-
|
265
|
+
- GPLv2+
|
267
266
|
metadata: {}
|
268
267
|
post_install_message:
|
269
268
|
rdoc_options: []
|
@@ -285,63 +284,63 @@ signing_key:
|
|
285
284
|
specification_version: 4
|
286
285
|
summary: Pulp 3 API Ruby Gem
|
287
286
|
test_files:
|
288
|
-
- spec/api/remotes_container_api_spec.rb
|
289
|
-
- spec/api/repositories_container_push_api_spec.rb
|
290
|
-
- spec/api/content_blobs_api_spec.rb
|
291
|
-
- spec/api/token_api_spec.rb
|
292
|
-
- spec/api/content_tags_api_spec.rb
|
293
|
-
- spec/api/repositories_container_api_spec.rb
|
294
|
-
- spec/api/distributions_container_api_spec.rb
|
295
287
|
- spec/api/repositories_container_push_versions_api_spec.rb
|
296
|
-
- spec/api/content_manifests_api_spec.rb
|
297
288
|
- spec/api/contentguards_content_redirect_api_spec.rb
|
298
289
|
- spec/api/repositories_container_versions_api_spec.rb
|
290
|
+
- spec/api/content_manifests_api_spec.rb
|
291
|
+
- spec/api/token_api_spec.rb
|
292
|
+
- spec/api/content_blobs_api_spec.rb
|
293
|
+
- spec/api/repositories_container_push_api_spec.rb
|
294
|
+
- spec/api/repositories_container_api_spec.rb
|
299
295
|
- spec/api/pulp_container_namespaces_api_spec.rb
|
296
|
+
- spec/api/distributions_container_api_spec.rb
|
297
|
+
- spec/api/remotes_container_api_spec.rb
|
298
|
+
- spec/api/content_tags_api_spec.rb
|
300
299
|
- spec/api_client_spec.rb
|
301
300
|
- spec/configuration_spec.rb
|
302
301
|
- spec/models/paginatedcontainer_container_distribution_response_list_spec.rb
|
303
|
-
- spec/models/
|
304
|
-
- spec/models/
|
302
|
+
- spec/models/container_manifest_response_spec.rb
|
303
|
+
- spec/models/content_summary_spec.rb
|
304
|
+
- spec/models/patchedcontainer_container_distribution_spec.rb
|
305
|
+
- spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb
|
306
|
+
- spec/models/async_operation_response_spec.rb
|
307
|
+
- spec/models/remove_image_spec.rb
|
308
|
+
- spec/models/recursive_manage_spec.rb
|
309
|
+
- spec/models/container_container_distribution_response_spec.rb
|
305
310
|
- spec/models/repository_version_response_spec.rb
|
306
|
-
- spec/models/patchedcontainer_content_redirect_content_guard_spec.rb
|
307
311
|
- spec/models/container_tag_response_spec.rb
|
308
|
-
- spec/models/
|
309
|
-
- spec/models/un_tag_image_spec.rb
|
310
|
-
- spec/models/async_operation_response_spec.rb
|
311
|
-
- spec/models/patchedcontainer_container_distribution_spec.rb
|
312
|
-
- spec/models/paginated_repository_version_response_list_spec.rb
|
313
|
-
- spec/models/container_container_remote_response_spec.rb
|
314
|
-
- spec/models/paginatedcontainer_manifest_response_list_spec.rb
|
315
|
-
- spec/models/container_blob_response_spec.rb
|
316
|
-
- spec/models/content_summary_response_spec.rb
|
317
|
-
- spec/models/tag_copy_spec.rb
|
318
|
-
- spec/models/paginatedcontainer_blob_response_list_spec.rb
|
319
|
-
- spec/models/container_content_redirect_content_guard_response_spec.rb
|
320
|
-
- spec/models/tag_image_spec.rb
|
321
|
-
- spec/models/media_types_enum_spec.rb
|
312
|
+
- spec/models/manifest_copy_spec.rb
|
322
313
|
- spec/models/container_container_remote_spec.rb
|
314
|
+
- spec/models/container_container_push_repository_response_spec.rb
|
323
315
|
- spec/models/patchedcontainer_container_remote_spec.rb
|
324
|
-
- spec/models/
|
325
|
-
- spec/models/paginatedcontainer_container_repository_response_list_spec.rb
|
316
|
+
- spec/models/repository_sync_url_spec.rb
|
326
317
|
- spec/models/container_container_push_repository_spec.rb
|
318
|
+
- spec/models/paginatedcontainer_blob_response_list_spec.rb
|
319
|
+
- spec/models/tag_image_spec.rb
|
320
|
+
- spec/models/container_blob_response_spec.rb
|
327
321
|
- spec/models/container_container_repository_response_spec.rb
|
328
|
-
- spec/models/
|
322
|
+
- spec/models/paginatedcontainer_manifest_response_list_spec.rb
|
323
|
+
- spec/models/media_types_enum_spec.rb
|
324
|
+
- spec/models/paginatedcontainer_container_remote_response_list_spec.rb
|
325
|
+
- spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb
|
329
326
|
- spec/models/policy_enum_spec.rb
|
327
|
+
- spec/models/paginatedcontainer_container_repository_response_list_spec.rb
|
328
|
+
- spec/models/patchedcontainer_container_push_repository_spec.rb
|
330
329
|
- spec/models/paginatedcontainer_container_namespace_response_list_spec.rb
|
331
|
-
- spec/models/patchedcontainer_container_repository_spec.rb
|
332
|
-
- spec/models/content_summary_spec.rb
|
333
|
-
- spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb
|
334
|
-
- spec/models/container_manifest_response_spec.rb
|
335
|
-
- spec/models/remove_image_spec.rb
|
336
|
-
- spec/models/manifest_copy_spec.rb
|
337
|
-
- spec/models/container_container_namespace_spec.rb
|
338
330
|
- spec/models/repository_version_spec.rb
|
339
|
-
- spec/models/
|
340
|
-
- spec/models/oci_build_image_spec.rb
|
341
|
-
- spec/models/container_container_distribution_response_spec.rb
|
342
|
-
- spec/models/container_container_push_repository_response_spec.rb
|
343
|
-
- spec/models/paginatedcontainer_container_remote_response_list_spec.rb
|
331
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
344
332
|
- spec/models/container_content_redirect_content_guard_spec.rb
|
345
|
-
- spec/models/
|
346
|
-
- spec/models/
|
333
|
+
- spec/models/container_container_distribution_spec.rb
|
334
|
+
- spec/models/patchedcontainer_content_redirect_content_guard_spec.rb
|
335
|
+
- spec/models/container_container_namespace_spec.rb
|
336
|
+
- spec/models/patchedcontainer_container_repository_spec.rb
|
337
|
+
- spec/models/container_content_redirect_content_guard_response_spec.rb
|
338
|
+
- spec/models/un_tag_image_spec.rb
|
339
|
+
- spec/models/container_container_repository_spec.rb
|
340
|
+
- spec/models/container_container_remote_response_spec.rb
|
341
|
+
- spec/models/oci_build_image_spec.rb
|
342
|
+
- spec/models/paginatedcontainer_tag_response_list_spec.rb
|
343
|
+
- spec/models/content_summary_response_spec.rb
|
344
|
+
- spec/models/tag_copy_spec.rb
|
345
|
+
- spec/models/container_container_namespace_response_spec.rb
|
347
346
|
- spec/spec_helper.rb
|
data/git_push.sh
DELETED
@@ -1,58 +0,0 @@
|
|
1
|
-
#!/bin/sh
|
2
|
-
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
3
|
-
#
|
4
|
-
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
|
5
|
-
|
6
|
-
git_user_id=$1
|
7
|
-
git_repo_id=$2
|
8
|
-
release_note=$3
|
9
|
-
git_host=$4
|
10
|
-
|
11
|
-
if [ "$git_host" = "" ]; then
|
12
|
-
git_host="github.com"
|
13
|
-
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
14
|
-
fi
|
15
|
-
|
16
|
-
if [ "$git_user_id" = "" ]; then
|
17
|
-
git_user_id="GIT_USER_ID"
|
18
|
-
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
19
|
-
fi
|
20
|
-
|
21
|
-
if [ "$git_repo_id" = "" ]; then
|
22
|
-
git_repo_id="GIT_REPO_ID"
|
23
|
-
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
24
|
-
fi
|
25
|
-
|
26
|
-
if [ "$release_note" = "" ]; then
|
27
|
-
release_note="Minor update"
|
28
|
-
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
29
|
-
fi
|
30
|
-
|
31
|
-
# Initialize the local directory as a Git repository
|
32
|
-
git init
|
33
|
-
|
34
|
-
# Adds the files in the local repository and stages them for commit.
|
35
|
-
git add .
|
36
|
-
|
37
|
-
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
38
|
-
git commit -m "$release_note"
|
39
|
-
|
40
|
-
# Sets the new remote
|
41
|
-
git_remote=`git remote`
|
42
|
-
if [ "$git_remote" = "" ]; then # git remote not defined
|
43
|
-
|
44
|
-
if [ "$GIT_TOKEN" = "" ]; then
|
45
|
-
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
46
|
-
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
47
|
-
else
|
48
|
-
git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
|
49
|
-
fi
|
50
|
-
|
51
|
-
fi
|
52
|
-
|
53
|
-
git pull origin master
|
54
|
-
|
55
|
-
# Pushes (Forces) the changes in the local repository up to the remote repository
|
56
|
-
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
57
|
-
git push origin master 2>&1 | grep -v 'To https'
|
58
|
-
|