Skip to content

Commit

Permalink
🔧 Patch 2.1.1
Browse files Browse the repository at this point in the history
Signed-off-by: Marek Cermak <[email protected]>
  • Loading branch information
Marek Cermak committed Nov 18, 2019
1 parent bf3c045 commit 5f56294
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 55 deletions.
18 changes: 17 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,25 @@ Changelog
=========


2.1.0
2.1.1
-----

Fix
~~~
- Import all models from Kubernetes. [Marek Cermak]


v1.3.0 (2019-11-07)
-------------------

Fix
~~~
- Fix new_client_from_config() [Marek Cermak]


v2.1.0 (2019-11-07)
-------------------

Fix
~~~
- Fix new_client_from_config() [Marek Cermak]
Expand Down
16 changes: 16 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,22 @@ clean:

pushd openapi/ ; git clean -d --force ; popd

.PHONY: patch
patch: SHELL:=/bin/bash
patch: all
- rm -rf build/ dist/
- git tag --delete "v${CLIENT_VERSION}"

$(MAKE) changelog

sed -i "s/__version__ = \(.*\)/__version__ = \"${CLIENT_VERSION}\"/g" argo/workflows/__about__.py

python setup.py sdist bdist_wheel
twine check dist/* || (echo "Twine check did not pass. Aborting."; exit 1)

git commit -a -m ":wrench: Patch ${CLIENT_VERSION}" --signoff
git tag -a "v${CLIENT_VERSION}" -m "Patch ${CLIENT_VERSION}"

.PHONY: release
release: SHELL:=/bin/bash
release: all
Expand Down
2 changes: 1 addition & 1 deletion argo/workflows/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
__summary__ = "Client for Argo Workflows"
__uri__ = "https://github.com/CermakM/argo-client-python"

__version__ = "2.1.0"
__version__ = "2.1.1"

__author__ = "Marek Cermak"
__email__ = "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion argo/workflows/client/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'Swagger-Codegen/2.1.0/python'
self.user_agent = 'Swagger-Codegen/2.1.1/python'

def __del__(self):
self.pool.close()
Expand Down
2 changes: 1 addition & 1 deletion argo/workflows/client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,5 +243,5 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 2.4.0\n"\
"SDK Package Version: 2.1.0".\
"SDK Package Version: 2.1.1".\
format(env=sys.platform, pyversion=sys.version)
52 changes: 1 addition & 51 deletions argo/workflows/client/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,54 +57,4 @@
from argo.workflows.client.models.v1alpha1_workflow_template_list import V1alpha1WorkflowTemplateList
from argo.workflows.client.models.v1alpha1_workflow_template_spec import V1alpha1WorkflowTemplateSpec

from kubernetes.client.models import V1ConfigMapKeySelector
from kubernetes.client.models import V1SecretKeySelector
from kubernetes.client.models import V1ConfigMapKeySelector
from kubernetes.client.models import V1SecretKeySelector
from kubernetes.client.models import V1Affinity
from kubernetes.client.models import V1Container
from kubernetes.client.models import V1HostAlias
from kubernetes.client.models import V1PodSecurityContext
from kubernetes.client.models import V1Toleration
from kubernetes.client.models import V1Volume
from kubernetes.client.models import V1ListMeta
from kubernetes.client.models import V1SecretKeySelector
from kubernetes.client.models import V1Affinity
from kubernetes.client.models import V1HostAlias
from kubernetes.client.models import V1LocalObjectReference
from kubernetes.client.models import V1PersistentVolumeClaim
from kubernetes.client.models import V1PodDNSConfig
from kubernetes.client.models import V1PodSecurityContext
from kubernetes.client.models import V1Toleration
from kubernetes.client.models import V1Volume
from kubernetes.client.models import V1SecretKeySelector
from kubernetes.client.models import V1ObjectMeta
from kubernetes.client.models import V1ContainerPort
from kubernetes.client.models import V1EnvFromSource
from kubernetes.client.models import V1EnvVar
from kubernetes.client.models import V1Lifecycle
from kubernetes.client.models import V1Probe
from kubernetes.client.models import V1ResourceRequirements
from kubernetes.client.models import V1SecurityContext
from kubernetes.client.models import V1VolumeDevice
from kubernetes.client.models import V1VolumeMount
from kubernetes.client.models import V1Volume
from kubernetes.client.models import V1ListMeta
from kubernetes.client.models import V1SecretKeySelector
from kubernetes.client.models import V1ObjectMeta
from kubernetes.client.models import V1SecretKeySelector
from kubernetes.client.models import V1SecretKeySelector
from kubernetes.client.models import V1ConfigMapKeySelector
from kubernetes.client.models import V1SecretKeySelector
from kubernetes.client.models import V1ConfigMapKeySelector
from kubernetes.client.models import V1SecretKeySelector
from kubernetes.client.models import V1ContainerPort
from kubernetes.client.models import V1EnvFromSource
from kubernetes.client.models import V1EnvVar
from kubernetes.client.models import V1Lifecycle
from kubernetes.client.models import V1Probe
from kubernetes.client.models import V1ResourceRequirements
from kubernetes.client.models import V1SecurityContext
from kubernetes.client.models import V1VolumeDevice
from kubernetes.client.models import V1VolumeMount
from kubernetes.client.models import V1DeleteOptions
from kubernetes.client.models import *

0 comments on commit 5f56294

Please sign in to comment.