Repository navigation
Releases: Tatsinnit/draft
Releases · Tatsinnit/draft
Release list
v0.17.4
v0.17.3
use default k8s probe settings (#486)
v0.0.40
v0.0.33
v0.0.27
Added
- New
displayNameandvariables.exampeValuesproperties in draft.yaml# draft.yaml language: swift displayName: Swift # Add a display name for the selected resource (language/deploymentType/addon) variables: - name: "VERSION" description: "the version of swift used by the application" exampleValues: ["5.5","5.4"] # New optional field that is used to populate draft info, and which could be used in the cli for suggestions in the future. variableDefaults: - name: "VERSION" value: 5.5
- Added
--dry-runand--dry-run-fileflags tocreatecommand--dry-runenables dry run mode in which no files are written to disk, prints the dry run summary to stdout--dry-run-filespecifies a file to write the dry run summary in json format (requires--dry-runflag)
# Example dry run output { "variables": { "APPNAME": "testapp", "BUILDERVERSION": "null", "IMAGENAME": "testapp", "LANGUAGE": "gomodule", # Note that this variable is in addition to the draft config variables "NAMESPACE": "default", "PORT": "1323", "SERVICEPORT": "80", "VERSION": "1.18" }, "filesToWrite": [ "langtest/.dockerignore", "langtest/Dockerfile", "langtest/charts/.helmignore", "langtest/charts/Chart.yaml", "langtest/charts/production.yaml", "langtest/charts/templates/_helpers.tpl", "langtest/charts/templates/deployment.yaml", "langtest/charts/templates/namespace.yaml", "langtest/charts/templates/service.yaml", "langtest/charts/values.yaml" ] }
Changed
- BREAKING -
infocommand output format includes additional information for supported languages with the following format changes:- keys are now camelCase
supportedLanguagesis now an array of objects, enriched withdisplayNameandexampleValues
# Example of the new info command output format { # keys are now camelCase, so supported_languages is now supportedLanguages "supportedLanguages": [ { "name": "javascript", "displayName": "JavaScript", # new field "exampleValues": { # new field "VERSION": [ "14.0", "16.0" ] } }, ... ], # keys are now camelCase, so supported_deployment_types is now supportedDeploymentTypes "supportedDeploymentTypes": [ "helm", ... ] }
v0.0.26
Added
- The new
draft infocommand from Azure#157 prints supported language and field information in json format. - An integration test was added for the installation shell script to better ensure that the script works as expected.
Fixed
- File path output for root locations had a bug with string-formatted paths. The
path.Joinmethod has been substituted to fix this.
Changed
- Remaining uses of the
viperlibrary have been migrated togopkg.in/yaml.v3for consistency. - Unused files in the
webpackage have been removed. - Minor reorganization across the
configandaddonspackages to reduce the number of exported functions and types.
v
Publish * What is getting released here + @commit
Thanks to whoever was involved, pm.