Skip to content

Commit

Permalink
chore: prepare new release
Browse files Browse the repository at this point in the history
  • Loading branch information
luisdavim committed Jan 24, 2022
1 parent 7a9e68b commit 4d2b79f
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v3.8.0
v3.8.1
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![GitHub version](https://d25lcipzij17d.cloudfront.net/badge.svg?id=gh&type=6&v=v3.8.0&x2=0)](https://github.com/Praqma/helmsman/releases) [![CircleCI](https://circleci.com/gh/Praqma/helmsman/tree/master.svg?style=svg)](https://circleci.com/gh/Praqma/helmsman/tree/master)
[![GitHub version](https://d25lcipzij17d.cloudfront.net/badge.svg?id=gh&type=6&v=v3.8.1&x2=0)](https://github.com/Praqma/helmsman/releases) [![CircleCI](https://circleci.com/gh/Praqma/helmsman/tree/master.svg?style=svg)](https://circleci.com/gh/Praqma/helmsman/tree/master)

![helmsman-logo](docs/images/helmsman.png)

Expand Down Expand Up @@ -76,9 +76,9 @@ Check the [releases page](https://github.com/Praqma/Helmsman/releases) for the d

```sh
# on Linux
curl -L https://github.com/Praqma/helmsman/releases/download/v3.7.7/helmsman_3.7.7_linux_amd64.tar.gz | tar zx
curl -L https://github.com/Praqma/helmsman/releases/download/v3.8.1/helmsman_3.8.1_linux_amd64.tar.gz | tar zx
# on MacOS
curl -L https://github.com/Praqma/helmsman/releases/download/v3.7.7/helmsman_3.7.7_darwin_amd64.tar.gz | tar zx
curl -L https://github.com/Praqma/helmsman/releases/download/v3.8.1/helmsman_3.8.1_darwin_amd64.tar.gz | tar zx

mv helmsman /usr/local/bin/helmsman
```
Expand Down
15 changes: 8 additions & 7 deletions docs/how_to/misc/multiple_desired_state_files_specification.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
---
version: v3.8.0
version: v3.8.1
---

# Specification file

Starting from v3.8.0, Helmsman allows you to use Specification file passed with `--spec <file>` flag
Starting from v3.8.0, Helmsman allows you to use Specification file passed with `--spec <file>` flag
in order to define multiple Desired State Files to be merged in particular order and with specific priorities.

An example Specification file:
An example Specification file `spec.yaml`:

`spec.yaml`:

```
```yaml
---
stateFiles:
- path: examples/example.yaml
Expand All @@ -23,17 +21,20 @@ stateFiles:
```

This file can be then run with:

```shell
helmsman --spec spec.yaml ...
```

What it does is it takes the files from `stateFiles` list and orders them based on their priorities same way it does with the apps in DSF file.
In an example above the result order would be:
```

```yaml
- path: examples/minimal-example.toml
- path: examples/minimal-example.yaml
- path: examples/example.yaml
```
with priorities being `-20, -10, 0` after ordering.

Once ordering is done, Helmsman will read each file one by one and merge the previous states with the current file it goes through.
Expand Down
2 changes: 1 addition & 1 deletion internal/app/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
const (
helmBin = "helm"
kubectlBin = "kubectl"
appVersion = "v3.8.0"
appVersion = "v3.8.1"
tempFilesDir = ".helmsman-tmp"
defaultContextName = "default"
resourcePool = 10
Expand Down
2 changes: 1 addition & 1 deletion release-notes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# v3.8.0
# v3.8.1

## Fixes and improvements

Expand Down

0 comments on commit 4d2b79f

Please sign in to comment.