Releases: duplocloud/duploctl
v0.3.8
Fixed
- updating image for an ecs task definition ignored existing defined volumes when mapping to new payload
- updating image for an ECS service failed to comprehensively map existing payload properties to new task definition version
- reverts DUPLO-35823 and adds clarifications to duploctl ecs commands making intended usage clearer
Added
- Added support for duplo hosts with or without scheme (http/https)
- Added --origin support for AI helpdesk ticket creation
- Added update_otherdockerconfig command in service
Fixed
- Fixed ecs update_image command to handle RepositoryCredentials values
- Fixed ecs update_image command to handle RequiresCompatibilities value
What's Changed
Pull Requests
- Handles hosts with or without scheme (http/https) by @tahir-duplo in #185
- DUPLO-37839: Added command update_otherdockerconfig in service by @shantanuduplo in #187
- DUPLO-37972: IssueFix - ecs update_image RepositoryCredentials value updation by @shantanuduplo in #188
- DUPLO-38022: IssueFix - ecs update_image RequiresCompatibilities value updation by @shantanuduplo in #189
- DUPLO-38290 fix: mapping problem for volumes on updating task definition image by @Matheusbafutto in #190
- feat(ai-helpdesk): add origin support by @miklwolfe in #186
- DUPLO-38290 fix: add comprehensive property mapping for ECS task definition by @Matheusbafutto in #191
Full Changelog: v0.3.7...v0.3.8
Installation
PIP PyPi:
duplocloud-client
pip install duplocloud-client==0.3.8PIP Sdist:
The dowload below named duplocloud_client-0.3.8.tar.gz is the sdist of the package.
pip install https://github.com/duplocloud/duploctl/releases/download/v0.3.8/duplocloud_client-0.3.8.tar.gzPIP From Source:
Install directly from the version tag on GitHub.
pip install git+https://github.com/duplocloud/[email protected]Dockerhub:
duplocloud/duploctl:v0.3.8
docker pull duplocloud/duploctl:v0.3.8Install CLI to Path Linux:
curl -s -L https://github.com/duplocloud/duploctl/releases/download/v0.3.8/duploctl-0.3.8-linux-amd64.tar.gz | tar xvz - -C /usr/local/binHomebrew single binary:
brew install duplocloud/tap/duploctlHomebrew with PIP:
brew install duplocloud/tap/duploctl --with-pipv0.3.7
Added
- Added command to update allocation tags for an ASG resource.
Fixed
- Fixed ASG scale command to properly handle zero values for min and max parameters. Previously, setting min=0 or max=0 would incorrectly raise a "Must provide either min or max" error.
- Removed agentHostTenantId from ticket creation payload.
- Update ECS find_def to use the TaskDefFamily from the service endpoint, fixing update_image when the service name and task definition family are different.
- Added debug logging to wait functions
- Added additional normalization to image names.
Updates
- Incosistent documentation in the services and jobs. Included examples and info about the --wait arg.
- Updated some spelling errors in error messages and doc strings
- Fixed all the documentation issues in the ECS resource
- darwin arm builds are now stable with the new large runners
- bump to python 3.13
What's Changed
Pull Requests
- DUPLO-35823 feat(ecs): update find def to use service family name by @miklwolfe in #177
- DUPLO-36678: Removing AgentHostTenantId in ticket creation payload. by @VijayGite-duplocloud in #176
- DUPLO-36861: Spelling errors in error messages and doc strings by @shantanuduplo in #180
- adding wait debug logging and additional image normalization logic by @duplocloud-matt in #179
- DUPLO-37215 Allow min or max setting on ASG to be zero (0) by @duplodavid in #181
- doc updates to make them cleaner by @kferrone in #175
- Mac Arm runner by @kferrone in #183
- DUPLO-36773: Added command to update allocation tags for an ASG resource by @shantanuduplo in #178
- Bump Py Version by @kferrone in #184
New Contributors
- @miklwolfe made their first contribution in #177
Full Changelog: v0.3.6...v0.3.7
Installation
PIP PyPi:
duplocloud-client
pip install duplocloud-client==0.3.7PIP Sdist:
The dowload below named duplocloud_client-0.3.7.tar.gz is the sdist of the package.
pip install https://github.com/duplocloud/duploctl/releases/download/v0.3.7/duplocloud_client-0.3.7.tar.gzPIP From Source:
Install directly from the version tag on GitHub.
pip install git+https://github.com/duplocloud/[email protected]Dockerhub:
duplocloud/duploctl:v0.3.7
docker pull duplocloud/duploctl:v0.3.7Install CLI to Path Linux:
curl -s -L https://github.com/duplocloud/duploctl/releases/download/v0.3.7/duploctl-0.3.7-linux-amd64.tar.gz | tar xvz - -C /usr/local/binHomebrew single binary:
brew install duplocloud/tap/duploctlHomebrew with PIP:
brew install duplocloud/tap/duploctl --with-pipv0.3.6
Fixed
- Create ticket command supports message processing as optional.
- redirect based interactive login flow. Now safari and other browsers are supported with interactive login because the UI can give the token to the callback with a get request.
Added
- Added duploctl command to create AI Helpdesk Ticket & Send AI Message.
What's Changed
Pull Requests
- enable redirect based interactive logins by @kferrone in #167
- DUPLO-33022: AI Helpdesk Ticket creation & send AI message commands by @VijayGite-duplocloud in #173
- DUPLO-33022: Changes to handle optional content/message processing in ticket creation by @VijayGite-duplocloud in #174
New Contributors
- @VijayGite-duplocloud made their first contribution in #173
Full Changelog: v0.3.5...v0.3.6
Installation
PIP PyPi:
duplocloud-client
pip install duplocloud-client==0.3.6PIP Sdist:
The dowload below named duplocloud_client-0.3.6.tar.gz is the sdist of the package.
pip install https://github.com/duplocloud/duploctl/releases/download/v0.3.6/duplocloud_client-0.3.6.tar.gzPIP From Source:
Install directly from the version tag on GitHub.
pip install git+https://github.com/duplocloud/[email protected]Dockerhub:
duplocloud/duploctl:v0.3.6
docker pull duplocloud/duploctl:v0.3.6Install CLI to Path Linux:
curl -s -L https://github.com/duplocloud/duploctl/releases/download/v0.3.6/duploctl-0.3.6-linux-amd64.tar.gz | tar xvz - -C /usr/local/binHomebrew single binary:
brew install duplocloud/tap/duploctlHomebrew with PIP:
brew install duplocloud/tap/duploctl --with-pipv0.3.5
Fixed
- Now waiting for a service to update works with HPA enabled
- running just
duploctlgave an error, now it outputs like any other command - better debuggin logs when
--loglevel DEBUGis set
What's Changed
Pull Requests
Full Changelog: v0.3.4...v0.3.5
Installation
PIP PyPi:
duplocloud-client
pip install duplocloud-client==0.3.5PIP Sdist:
The dowload below named duplocloud_client-0.3.5.tar.gz is the sdist of the package.
pip install https://github.com/duplocloud/duploctl/releases/download/v0.3.5/duplocloud_client-0.3.5.tar.gzPIP From Source:
Install directly from the version tag on GitHub.
pip install git+https://github.com/duplocloud/[email protected]Dockerhub:
duplocloud/duploctl:v0.3.5
docker pull duplocloud/duploctl:v0.3.5Install CLI to Path Linux:
curl -s -L https://github.com/duplocloud/duploctl/releases/download/v0.3.5/duploctl-0.3.5-linux-amd64.tar.gz | tar xvz - -C /usr/local/binHomebrew single binary:
brew install duplocloud/tap/duploctlHomebrew with PIP:
brew install duplocloud/tap/duploctl --with-pipv0.3.4
Fixed
- makedir fails on single-file paths
What's Changed
Pull Requests
- Revert "Revert "updated jit update_aws_config"" by @zafarabbas in #170
- Mkdirs fix by @duplocloud-matt in #171
New Contributors
- @zafarabbas made their first contribution in #170
Full Changelog: v0.3.3...v0.3.4
Installation
PIP PyPi:
duplocloud-client
pip install duplocloud-client==0.3.4PIP Sdist:
The dowload below named duplocloud_client-0.3.4.tar.gz is the sdist of the package.
pip install https://github.com/duplocloud/duploctl/releases/download/v0.3.4/duplocloud_client-0.3.4.tar.gzPIP From Source:
Install directly from the version tag on GitHub.
pip install git+https://github.com/duplocloud/[email protected]Dockerhub:
duplocloud/duploctl:v0.3.4
docker pull duplocloud/duploctl:v0.3.4Install CLI to Path Linux:
curl -s -L https://github.com/duplocloud/duploctl/releases/download/v0.3.4/duploctl-0.3.4-linux-amd64.tar.gz | tar xvz - -C /usr/local/binHomebrew single binary:
brew install duplocloud/tap/duploctlHomebrew with PIP:
brew install duplocloud/tap/duploctl --with-pipv0.3.3
What's Changed
Pull Requests
Full Changelog: v0.3.2...v0.3.3
Installation
PIP PyPi:
duplocloud-client
pip install duplocloud-client==0.3.3PIP Sdist:
The dowload below named duplocloud_client-0.3.3.tar.gz is the sdist of the package.
pip install https://github.com/duplocloud/duploctl/releases/download/v0.3.3/duplocloud_client-0.3.3.tar.gzPIP From Source:
Install directly from the version tag on GitHub.
pip install git+https://github.com/duplocloud/[email protected]Dockerhub:
duplocloud/duploctl:v0.3.3
docker pull duplocloud/duploctl:v0.3.3Install CLI to Path Linux:
curl -s -L https://github.com/duplocloud/duploctl/releases/download/v0.3.3/duploctl-0.3.3-linux-amd64.tar.gz | tar xvz - -C /usr/local/binHomebrew single binary:
brew install duplocloud/tap/duploctlHomebrew with PIP:
brew install duplocloud/tap/duploctl --with-pipv0.3.1
Added
- Modified jit update_kubeconfig and update_aws_config methods to ensure parent directories are created recursively before writing configuration files.
- Updated jit update_aws_config to always overwrite existing profile entries with new values instead of skipping them.
Fixed
- batch job definition fails with deprecated vcpu/memory assignment
- batch job adds zero-value schedulingpriority value which breaks submission to non-prioritized job queues
What's Changed
Pull Requests
- Batch Job Def fixes for deprecated vcpu/memory assignment by @duplocloud-matt in #166
- DUPLO-34392: Updated duploctl jit update_aws_config to overwrite existing profile by @shantanuduplo in #164
- DUPLO-34390: Modified jit update_kubeconfig and update_aws_config ensuring parent directories exists by @shantanuduplo in #165
- removing schedulingpriority if set to 0 by @duplocloud-matt in #168
Full Changelog: v0.3.0...v0.3.1
Installation
PIP PyPi:
duplocloud-client
pip install duplocloud-client==0.3.1PIP Sdist:
The dowload below named duplocloud_client-0.3.1.tar.gz is the sdist of the package.
pip install https://github.com/duplocloud/duploctl/releases/download/v0.3.1/duplocloud_client-0.3.1.tar.gzPIP From Source:
Install directly from the version tag on GitHub.
pip install git+https://github.com/duplocloud/[email protected]Dockerhub:
duplocloud/duploctl:v0.3.1
docker pull duplocloud/duploctl:v0.3.1Install CLI to Path Linux:
curl -s -L https://github.com/duplocloud/duploctl/releases/download/v0.3.1/duploctl-0.3.1-linux-amd64.tar.gz | tar xvz - -C /usr/local/binHomebrew single binary:
brew install duplocloud/tap/duploctlHomebrew with PIP:
brew install duplocloud/tap/duploctl --with-pipv0.3.0
Added
- batch_scheduling_policy resource
- batch_compute resource
- batch_queue resource
- batch_definition resource with update_image command
- batch_job resource
What's Changed
Pull Requests
- Duplo 33160: ecs image update fails on tasks run on ec2 capacity by @duplocloud-matt in #162
- Batch Resources by @kferrone in #158
Full Changelog: v0.2.52...v0.3.0
Installation
PIP PyPi:
duplocloud-client
pip install duplocloud-client==0.3.0PIP Sdist:
The dowload below named duplocloud_client-0.3.0.tar.gz is the sdist of the package.
pip install https://github.com/duplocloud/duploctl/releases/download/v0.3.0/duplocloud_client-0.3.0.tar.gzPIP From Source:
Install directly from the version tag on GitHub.
pip install git+https://github.com/duplocloud/[email protected]Dockerhub:
duplocloud/duploctl:v0.3.0
docker pull duplocloud/duploctl:v0.3.0Install CLI to Path Linux:
curl -s -L https://github.com/duplocloud/duploctl/releases/download/v0.3.0/duploctl-0.3.0-linux-amd64.tar.gz | tar xvz - -C /usr/local/binHomebrew single binary:
brew install duplocloud/tap/duploctlHomebrew with PIP:
brew install duplocloud/tap/duploctl --with-pipv0.2.52
Added
- Added enhancement to ecs update_image to also update the specific container image.
Fixed
- The aws_secrets resource was inconsistent with how other similar resources work. This is a breaking change that changes how you interact with aws secrets. Please read more about how to properly use this resource in the wiki. The create and update methods both changed and follow the same style of usage.
What's Changed
Pull Requests
- Make AWS Secrets like K8s Secrets by @kferrone in #156
- DUPLO-32863: Enhance ecs update_image to target specific container by @shantanuduplo in #157
Full Changelog: v0.2.51...v0.2.52
Installation
PIP PyPi:
duplocloud-client
pip install duplocloud-client==0.2.52PIP Sdist:
The dowload below named duplocloud_client-0.2.52.tar.gz is the sdist of the package.
pip install https://github.com/duplocloud/duploctl/releases/download/v0.2.52/duplocloud_client-0.2.52.tar.gzPIP From Source:
Install directly from the version tag on GitHub.
pip install git+https://github.com/duplocloud/[email protected]Dockerhub:
duplocloud/duploctl:v0.2.52
docker pull duplocloud/duploctl:v0.2.52Install CLI to Path Linux:
curl -s -L https://github.com/duplocloud/duploctl/releases/download/v0.2.52/duploctl-0.2.52-linux-amd64.tar.gz | tar xvz - -C /usr/local/binHomebrew single binary:
brew install duplocloud/tap/duploctlHomebrew with PIP:
brew install duplocloud/tap/duploctl --with-pipv0.2.51
Fixed
- Issue with wait breaking when job create.
What's Changed
Pull Requests
- DUPLO-31403: Fixed issue with wait breaking job create by @shantanuduplo in #154
Full Changelog: v0.2.50...v0.2.51
Installation
PIP PyPi:
duplocloud-client
pip install duplocloud-client==0.2.51PIP Sdist:
The dowload below named duplocloud_client-0.2.51.tar.gz is the sdist of the package.
pip install https://github.com/duplocloud/duploctl/releases/download/v0.2.51/duplocloud_client-0.2.51.tar.gzPIP From Source:
Install directly from the version tag on GitHub.
pip install git+https://github.com/duplocloud/[email protected]Dockerhub:
duplocloud/duploctl:v0.2.51
docker pull duplocloud/duploctl:v0.2.51Install CLI to Path Linux:
curl -s -L https://github.com/duplocloud/duploctl/releases/download/v0.2.51/duploctl-0.2.51-linux-amd64.tar.gz | tar xvz - -C /usr/local/binHomebrew single binary:
brew install duplocloud/tap/duploctlHomebrew with PIP:
brew install duplocloud/tap/duploctl --with-pip