diff --git a/CHANGELOG.md b/CHANGELOG.md index cb1b222..94f2339 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.9.9] - 2024-10-29 + +- Fixed an issue where in some endpoints, if the body was wrong, we would receive two json body instead of the correct one +- Added environment variables to the execute endpoint +- Fixed some issue with the pipeline +- Bumps the bundler group with 1 update in the /docs directory: [rexml](https://github.com/ruby/rexml). +- Fixed an issue where the name of the catalog would be wrong when importing vms + ## [0.9.8] - 2024-10-17 - Fixed an issue where we would not be able to compile for windows diff --git a/VERSION b/VERSION index e3e1807..7e310ba 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.9.8 +0.9.9 diff --git a/docs/_posts/2024-10-29-v0.9.9.markdown b/docs/_posts/2024-10-29-v0.9.9.markdown new file mode 100644 index 0000000..075dfcf --- /dev/null +++ b/docs/_posts/2024-10-29-v0.9.9.markdown @@ -0,0 +1,16 @@ +--- +layout: post +title: "Release 0.9.9" +date: 2024-10-29 00:00:00 +0000 +categories: release notes +--- + +# Whats New + +- Fixed an issue where in some endpoints, if the body was wrong, we would receive two json body instead of the correct one +- Added environment variables to the execute endpoint +- Fixed some issue with the pipeline +- Bumps the bundler group with 1 update in the /docs directory: [rexml](https://github.com/ruby/rexml). +- Fixed an issue where the name of the catalog would be wrong when importing vms + + diff --git a/docs/charts/index.yaml b/docs/charts/index.yaml index 61c401d..b27a194 100644 --- a/docs/charts/index.yaml +++ b/docs/charts/index.yaml @@ -1,9 +1,19 @@ apiVersion: v1 entries: parallels-devops-service: + - apiVersion: v2 + appVersion: 0.9.9 + created: "2024-10-29T09:00:02.926280306Z" + description: Parallels Desktop DevOps Service + digest: b7f4b98046dae4c83708d76f62550cc54e9b9eb5ab5b8c91e32164955044cb1e + name: parallels-devops-service + type: application + urls: + - https://parallels.github.io/prl-devops-service/charts/parallels-devops-service-0.9.9.tgz + version: 0.9.9 - apiVersion: v2 appVersion: 0.9.8 - created: "2024-10-17T12:37:20.853099052Z" + created: "2024-10-29T09:00:02.92581793Z" description: Parallels Desktop DevOps Service digest: d2ec0bac5095be00749e2a6bb7cb2e3ace2ce3f3a265ecaccbca8bb098807881 name: parallels-devops-service @@ -13,7 +23,7 @@ entries: version: 0.9.8 - apiVersion: v2 appVersion: 0.9.7 - created: "2024-10-17T12:37:20.852643381Z" + created: "2024-10-29T09:00:02.925349743Z" description: Parallels Desktop DevOps Service digest: 185fc3b2caeef1a5de1b59de87d091b401b0a04bba4231bbaa6864449448c809 name: parallels-devops-service @@ -23,7 +33,7 @@ entries: version: 0.9.7 - apiVersion: v2 appVersion: 0.9.6 - created: "2024-10-17T12:37:20.852184874Z" + created: "2024-10-29T09:00:02.924882267Z" description: Parallels Desktop DevOps Service digest: 4e2fc1874fa739c7102cbf4af826d4cd2fbcd47064f9af612740b37d357e4ee8 name: parallels-devops-service @@ -33,7 +43,7 @@ entries: version: 0.9.6 - apiVersion: v2 appVersion: 0.9.5 - created: "2024-10-17T12:37:20.851731878Z" + created: "2024-10-29T09:00:02.924363876Z" description: Parallels Desktop DevOps Service digest: 180c122e46f302d9b147cf5a00013c07e691622b31d8c90ab94a509930b80912 name: parallels-devops-service @@ -43,7 +53,7 @@ entries: version: 0.9.5 - apiVersion: v2 appVersion: 0.9.4 - created: "2024-10-17T12:37:20.851239428Z" + created: "2024-10-29T09:00:02.923895569Z" description: Parallels Desktop DevOps Service digest: f91734acdde18ba59ac6951d65b893d629e3a72b8a781213e83ca7859d151fcc name: parallels-devops-service @@ -53,7 +63,7 @@ entries: version: 0.9.4 - apiVersion: v2 appVersion: 0.9.3 - created: "2024-10-17T12:37:20.850643935Z" + created: "2024-10-29T09:00:02.923415249Z" description: Parallels Desktop DevOps Service digest: acdff683cf5424839d19e79981c51faab23b41a49c9f08d040dbcc6e4d36e211 name: parallels-devops-service @@ -63,7 +73,7 @@ entries: version: 0.9.3 - apiVersion: v2 appVersion: 0.9.2 - created: "2024-10-17T12:37:20.843989681Z" + created: "2024-10-29T09:00:02.922938687Z" description: Parallels Desktop DevOps Service digest: a4af67f14b31814afb94a9b73897b5be917c2899c9ed13a25529394602c059ed name: parallels-devops-service @@ -73,7 +83,7 @@ entries: version: 0.9.2 - apiVersion: v2 appVersion: 0.9.1 - created: "2024-10-17T12:37:20.843525164Z" + created: "2024-10-29T09:00:02.922430876Z" description: Parallels Desktop DevOps Service digest: 2d667bdb44556fa0bdfb44f2d3478e21fcd4c5a4517cb267110e63983a1349e3 name: parallels-devops-service @@ -83,7 +93,7 @@ entries: version: 0.9.1 - apiVersion: v2 appVersion: 0.9.0 - created: "2024-10-17T12:37:20.843072739Z" + created: "2024-10-29T09:00:02.921152477Z" description: Parallels Desktop DevOps Service digest: ae9d8d8653c4984a3a0356e00c29e05b0feaa1dbbd02ca29859f23e56b2cdfb2 name: parallels-devops-service @@ -93,7 +103,7 @@ entries: version: 0.9.0 - apiVersion: v2 appVersion: 0.8.8 - created: "2024-10-17T12:37:20.842606588Z" + created: "2024-10-29T09:00:02.920655517Z" description: Parallels Desktop DevOps Service digest: 5ca196b55adda87d355e32858312e5b5f69c4852eb8e379100eda1c994a0b68a name: parallels-devops-service @@ -103,7 +113,7 @@ entries: version: 0.8.8 - apiVersion: v2 appVersion: 0.8.7 - created: "2024-10-17T12:37:20.842149254Z" + created: "2024-10-29T09:00:02.920185416Z" description: Parallels Desktop DevOps Service digest: bf903453bc8c261c699518200304a6fb1774c83c22f4e18ec27fb6ea9b189597 name: parallels-devops-service @@ -113,7 +123,7 @@ entries: version: 0.8.7 - apiVersion: v2 appVersion: 0.8.6 - created: "2024-10-17T12:37:20.841738636Z" + created: "2024-10-29T09:00:02.919757895Z" description: Parallels Desktop DevOps Service digest: 49ebd0f2a07d40e7fcc1e2c480ded7c33a2701bdbc306b9ecb4fe26b3bfbfd0a name: parallels-devops-service @@ -123,7 +133,7 @@ entries: version: 0.8.6 - apiVersion: v2 appVersion: 0.8.5 - created: "2024-10-17T12:37:20.841280771Z" + created: "2024-10-29T09:00:02.919292744Z" description: Parallels Desktop DevOps Service digest: da5b419934de020af1dc77a83e7ef2614aa09cb71598fa76dcf23b0868d447e2 name: parallels-devops-service @@ -133,7 +143,7 @@ entries: version: 0.8.5 - apiVersion: v2 appVersion: 0.8.4 - created: "2024-10-17T12:37:20.840853122Z" + created: "2024-10-29T09:00:02.91886877Z" description: Parallels Desktop DevOps Service digest: 9ec0f77ebfa1cd0caac2853a9e1ba20b58128bb5115cda32b6136d0475393a6f name: parallels-devops-service @@ -143,7 +153,7 @@ entries: version: 0.8.4 - apiVersion: v2 appVersion: 0.8.3 - created: "2024-10-17T12:37:20.840408021Z" + created: "2024-10-29T09:00:02.918426181Z" description: Parallels Desktop DevOps Service digest: 6b8d93c7857ad5e66cdf09f5247f67f2593cff526c364b027666b1b2ecda396c name: parallels-devops-service @@ -153,7 +163,7 @@ entries: version: 0.8.3 - apiVersion: v2 appVersion: 0.8.2 - created: "2024-10-17T12:37:20.839977627Z" + created: "2024-10-29T09:00:02.917978302Z" description: Parallels Desktop DevOps Service digest: 3db74c9beb62a456dd442f21e52e46bf5e88744af947360c7e95f11ba084a26b name: parallels-devops-service @@ -163,7 +173,7 @@ entries: version: 0.8.2 - apiVersion: v2 appVersion: 0.8.1 - created: "2024-10-17T12:37:20.839538917Z" + created: "2024-10-29T09:00:02.917519272Z" description: Parallels Desktop DevOps Service digest: 94d87635c30adfb14f1e2a402d8f3e5a36c8b65a1e3ec3ed73b9eab87fdc3f69 name: parallels-devops-service @@ -173,7 +183,7 @@ entries: version: 0.8.1 - apiVersion: v2 appVersion: 0.5.4 - created: "2024-10-17T12:37:20.839065843Z" + created: "2024-10-29T09:00:02.917028913Z" description: Parallels Desktop DevOps Service digest: c2bc464c67821348b07472a34d54c7dea01cbd503942628e4342df3b699a3f62 name: parallels-devops-service @@ -181,4 +191,4 @@ entries: urls: - https://parallels.github.io/prl-devops-service/charts/parallels-devops-service-0.5.4.tgz version: 0.5.4 -generated: "2024-10-17T12:37:20.831863772Z" +generated: "2024-10-29T09:00:02.91634922Z" diff --git a/docs/charts/parallels-devops-service-0.9.9.tgz b/docs/charts/parallels-devops-service-0.9.9.tgz new file mode 100644 index 0000000..58ce7d1 Binary files /dev/null and b/docs/charts/parallels-devops-service-0.9.9.tgz differ diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 15efe7d..385287d 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -15,5 +15,5 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: "0.9.8" -appVersion: "0.9.8" +version: "0.9.9" +appVersion: "0.9.9" diff --git a/src/docs/docs.go b/src/docs/docs.go index 593ed6f..5702b26 100644 --- a/src/docs/docs.go +++ b/src/docs/docs.go @@ -7804,6 +7804,12 @@ const docTemplate = `{ "properties": { "command": { "type": "string" + }, + "environment_variables": { + "type": "object", + "additionalProperties": { + "type": "string" + } } } }, @@ -7871,7 +7877,7 @@ const docTemplate = `{ // SwaggerInfo holds exported Swagger Info so clients can modify it var SwaggerInfo = &swag.Spec{ - Version: "0.9.8", + Version: "0.9.9", Host: "", BasePath: "/api", Schemes: []string{}, diff --git a/src/docs/swagger.json b/src/docs/swagger.json index bf39bcb..c9c3c11 100644 --- a/src/docs/swagger.json +++ b/src/docs/swagger.json @@ -13,7 +13,7 @@ "name": "Apache 2.0", "url": "http://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "0.9.8" + "version": "0.9.9" }, "basePath": "/api", "paths": { @@ -7797,6 +7797,12 @@ "properties": { "command": { "type": "string" + }, + "environment_variables": { + "type": "object", + "additionalProperties": { + "type": "string" + } } } }, diff --git a/src/docs/swagger.yaml b/src/docs/swagger.yaml index 2a1dde7..0b2bab1 100644 --- a/src/docs/swagger.yaml +++ b/src/docs/swagger.yaml @@ -1417,6 +1417,10 @@ definitions: properties: command: type: string + environment_variables: + additionalProperties: + type: string + type: object type: object models.VirtualMachineExecuteCommandResponse: properties: @@ -1458,7 +1462,7 @@ info: url: http://www.apache.org/licenses/LICENSE-2.0.html termsOfService: http://swagger.io/terms/ title: Parallels Desktop DevOps Service - version: 0.9.8 + version: 0.9.9 paths: /health/probe: get: diff --git a/src/main.go b/src/main.go index 422baad..c8a3938 100644 --- a/src/main.go +++ b/src/main.go @@ -20,10 +20,10 @@ import ( "github.com/cjlapao/common-go/version" ) -var ver = "0.9.8" +var ver = "0.9.9" // @title Parallels Desktop DevOps Service -// @version 0.9.8 +// @version 0.9.9 // @description Parallels Desktop DevOps Service // @termsOfService http://swagger.io/terms/