Skip to content

Releases: Azure/draft

v0.0.26

17 Nov 06:18
7a5311e

Choose a tag to compare

Added

  • The new draft info command from #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.Join method has been substituted to fix this.

Changed

  • Remaining uses of the viper library have been migrated to gopkg.in/yaml.v3 for consistency.
  • Unused files in the web package have been removed.
  • Minor reorganization across the config and addons packages to reduce the number of exported functions and types.

v0.0.25

05 Oct 18:36
eb7e383

Choose a tag to compare

  • add IMAGENAME and NAMESPACE variables to the deployment to allow deeper customization

    • The NAMESPACE defaults to the default namespace

    • The IMAGENAME defaults to the APPNAME valu e

  • Add new referenceVar field to variableDefaults type

    • The value of the referenceVar input will be copied as the default
    • A referenceVar has higher precedence when defaulting compared to a static variableDefault value field
    • variableDefaults are processed in order, so a variableDefault can only use a referenceVar that is listed before it in the draft.yaml variables
# valid draft.yaml
variables:       # variables are named in the order they will be prompted
  - name: "FIRST"
    description: "the first variable"
  - name: "SECOND"
    description: "the second variable"
variableDefaults:
  - name: "SECOND"       # "default the value of SECOND  to the value of FIRST"
    referenceVar: "FIRST" # valid config since SECOND comes after FIRST in the `variables` section


# INVALID draft.yaml
variables: 
  - name: "FIRST"
    description: "the first variable"
  - name: "SECOND"
    description: "the second variable"
variableDefaults:
  - name: "FIRST"                  # "default the value of FIRST  to the value of SECOND"
    referenceVar: "SECOND" # SECOND will always be empty when FIRST is being prompted, so the default will be the empty string

v0.0.24

28 Sep 19:19
bb19713

Choose a tag to compare

add --variable flag to draft update command

builderVariables can be supplied to the update command using the new --variable flag
this allows non-interactive use of the update command

added integration tests for update command for webapp_routing addon that creates an ingress using the non-interactive flags mode

v0.0.23

24 Aug 17:49
55390d1

Choose a tag to compare

refactored to include the parametric update command that allows arbitrary addon template/CRD support
draft update -a addon_name

moved templates embedded filesystems to use a go import path within the template module for easy importing draft as a dependency

v0.0.22

14 Jul 17:42
259023d

Choose a tag to compare

fixing dockerfile/deployment only creation with skip-file-detection (…

v0.0.21

15 Jun 21:21
b7fa007

Choose a tag to compare

Split stdout and stderr in logrus (#108)

* split stdout and stderr

* delete extra line

v0.0.20

24 May 07:27
a0a2852

Choose a tag to compare

fixed manifest image pull + kustomize selector (#93)

* fix manifest image pull

* fixing kustomize too

v0.0.19

24 May 01:26
4ce5792

Choose a tag to compare

update starter workflows (#91)

Co-authored-by: imiller31 <imiller31@users.noreply.github.com>

v0.0.18

24 May 00:03
9402227

Choose a tag to compare

add default case in workflows.go (#90)

* change kustomize to default in workflows.go

update the image tag for manifes. For kustomize and helm we use a production override which has the image modified however, we do not do this for regular k8s manifests. This PR changes that.

* Add Karen's suggestion

Returning the kustomize case and having a case directly for the manifests pointing to the manifests folder

* add missing bracket

v0.0.17

23 May 19:34
32008fe

Choose a tag to compare

add needs to workflow job struct