pulp_container_client 2.9.5 → 2.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +4 -4
- data/docs/ContainerContainerDistributionResponse.md +6 -6
- data/docs/ContainerContainerPushRepository.md +6 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +10 -10
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPushRepository.md +6 -6
- data/lib/pulp_container_client/models/container_container_distribution.rb +18 -18
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +28 -28
- data/lib/pulp_container_client/models/container_container_push_repository.rb +31 -31
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +47 -47
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +18 -18
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +26 -26
- 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 +3 -3
- data/spec/models/container_container_push_repository_response_spec.rb +7 -7
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_distribution_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- metadata +50 -51
- data/git_push.sh +0 -58
metadata
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_container_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.9.
|
4
|
+
version: 2.9.6
|
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-02 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
19
|
version: '0.17'
|
20
20
|
- - "<"
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - "
|
27
|
+
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '0.17'
|
30
30
|
- - "<"
|
@@ -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/
|
289
|
-
- spec/api/content_blobs_api_spec.rb
|
290
|
-
- spec/api/remotes_container_api_spec.rb
|
291
|
-
- spec/api/token_api_spec.rb
|
292
|
-
- spec/api/repositories_container_push_api_spec.rb
|
293
|
-
- spec/api/contentguards_content_redirect_api_spec.rb
|
287
|
+
- spec/api/content_tags_api_spec.rb
|
294
288
|
- spec/api/distributions_container_api_spec.rb
|
295
|
-
- spec/api/pulp_container_namespaces_api_spec.rb
|
296
|
-
- spec/api/repositories_container_push_versions_api_spec.rb
|
297
289
|
- spec/api/repositories_container_api_spec.rb
|
298
|
-
- spec/api/
|
290
|
+
- spec/api/token_api_spec.rb
|
291
|
+
- spec/api/remotes_container_api_spec.rb
|
292
|
+
- spec/api/repositories_container_push_versions_api_spec.rb
|
293
|
+
- spec/api/contentguards_content_redirect_api_spec.rb
|
299
294
|
- spec/api/content_manifests_api_spec.rb
|
295
|
+
- spec/api/content_blobs_api_spec.rb
|
296
|
+
- spec/api/pulp_container_namespaces_api_spec.rb
|
297
|
+
- spec/api/repositories_container_push_api_spec.rb
|
298
|
+
- spec/api/repositories_container_versions_api_spec.rb
|
300
299
|
- spec/api_client_spec.rb
|
301
300
|
- spec/configuration_spec.rb
|
302
|
-
- spec/models/
|
303
|
-
- spec/models/
|
304
|
-
- spec/models/
|
305
|
-
- spec/models/
|
306
|
-
- spec/models/paginatedcontainer_tag_response_list_spec.rb
|
307
|
-
- spec/models/repository_version_spec.rb
|
308
|
-
- spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb
|
301
|
+
- spec/models/oci_build_image_spec.rb
|
302
|
+
- spec/models/container_container_push_repository_spec.rb
|
303
|
+
- spec/models/container_container_namespace_response_spec.rb
|
304
|
+
- spec/models/container_tag_response_spec.rb
|
309
305
|
- spec/models/container_content_redirect_content_guard_response_spec.rb
|
310
|
-
- spec/models/
|
311
|
-
- spec/models/container_container_push_repository_response_spec.rb
|
306
|
+
- spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb
|
312
307
|
- spec/models/container_content_redirect_content_guard_spec.rb
|
313
|
-
- spec/models/
|
308
|
+
- spec/models/async_operation_response_spec.rb
|
309
|
+
- spec/models/media_types_enum_spec.rb
|
310
|
+
- spec/models/container_container_distribution_spec.rb
|
311
|
+
- spec/models/paginatedcontainer_container_namespace_response_list_spec.rb
|
312
|
+
- spec/models/patchedcontainer_container_push_repository_spec.rb
|
314
313
|
- spec/models/container_container_namespace_spec.rb
|
315
|
-
- spec/models/
|
316
|
-
- spec/models/
|
317
|
-
- spec/models/
|
318
|
-
- spec/models/
|
314
|
+
- spec/models/patchedcontainer_container_remote_spec.rb
|
315
|
+
- spec/models/repository_version_response_spec.rb
|
316
|
+
- spec/models/container_container_repository_spec.rb
|
317
|
+
- spec/models/repository_sync_url_spec.rb
|
319
318
|
- spec/models/tag_copy_spec.rb
|
320
|
-
- spec/models/
|
321
|
-
- spec/models/
|
322
|
-
- spec/models/oci_build_image_spec.rb
|
323
|
-
- spec/models/container_container_remote_response_spec.rb
|
319
|
+
- spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb
|
320
|
+
- spec/models/patchedcontainer_content_redirect_content_guard_spec.rb
|
324
321
|
- spec/models/policy_enum_spec.rb
|
325
|
-
- spec/models/
|
326
|
-
- spec/models/container_container_distribution_response_spec.rb
|
327
|
-
- spec/models/paginatedcontainer_container_namespace_response_list_spec.rb
|
322
|
+
- spec/models/container_container_repository_response_spec.rb
|
328
323
|
- spec/models/paginatedcontainer_blob_response_list_spec.rb
|
329
|
-
- spec/models/
|
330
|
-
- spec/models/
|
331
|
-
- spec/models/patchedcontainer_content_redirect_content_guard_spec.rb
|
324
|
+
- spec/models/un_tag_image_spec.rb
|
325
|
+
- spec/models/paginatedcontainer_container_distribution_response_list_spec.rb
|
332
326
|
- spec/models/recursive_manage_spec.rb
|
333
|
-
- spec/models/
|
334
|
-
- spec/models/repository_sync_url_spec.rb
|
335
|
-
- spec/models/container_container_repository_response_spec.rb
|
336
|
-
- spec/models/container_container_push_repository_spec.rb
|
337
|
-
- spec/models/container_container_repository_spec.rb
|
338
|
-
- spec/models/media_types_enum_spec.rb
|
339
|
-
- spec/models/container_manifest_response_spec.rb
|
340
|
-
- spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb
|
341
|
-
- spec/models/repository_version_response_spec.rb
|
327
|
+
- spec/models/container_blob_response_spec.rb
|
342
328
|
- spec/models/tag_image_spec.rb
|
329
|
+
- spec/models/paginatedcontainer_container_repository_response_list_spec.rb
|
330
|
+
- spec/models/manifest_copy_spec.rb
|
331
|
+
- spec/models/container_container_remote_response_spec.rb
|
332
|
+
- spec/models/repository_version_spec.rb
|
333
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
334
|
+
- spec/models/paginatedcontainer_tag_response_list_spec.rb
|
335
|
+
- spec/models/patchedcontainer_container_distribution_spec.rb
|
336
|
+
- spec/models/container_container_distribution_response_spec.rb
|
337
|
+
- spec/models/container_manifest_response_spec.rb
|
338
|
+
- spec/models/paginatedcontainer_container_remote_response_list_spec.rb
|
343
339
|
- spec/models/container_container_remote_spec.rb
|
344
|
-
- spec/models/patchedcontainer_container_remote_spec.rb
|
345
|
-
- spec/models/container_tag_response_spec.rb
|
346
340
|
- spec/models/paginatedcontainer_manifest_response_list_spec.rb
|
341
|
+
- spec/models/container_container_push_repository_response_spec.rb
|
342
|
+
- spec/models/patchedcontainer_container_repository_spec.rb
|
343
|
+
- spec/models/remove_image_spec.rb
|
344
|
+
- spec/models/content_summary_spec.rb
|
345
|
+
- spec/models/content_summary_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
|
-
|