diff options
author | Clement Delafargue <clement.delafargue@fretlink.com> | 2019-10-08 14:46:25 +0200 |
---|---|---|
committer | Clement Delafargue <clement.delafargue@fretlink.com> | 2020-06-19 15:14:54 +0200 |
commit | 1c1393659bb8adb3273e2434725ae1664287a1c9 (patch) | |
tree | a990eea62add9c2aec31147806793a775c273b9f /files/clever-set-build-flavor.sh | |
parent | 18c278e2d8f19fe1066908bd6bc631bdb8472333 (diff) | |
download | ansible-clever-1c1393659bb8adb3273e2434725ae1664287a1c9.tar.gz ansible-clever-1c1393659bb8adb3273e2434725ae1664287a1c9.tar.zst ansible-clever-1c1393659bb8adb3273e2434725ae1664287a1c9.zip |
Add optional build flavor configuration
Diffstat (limited to 'files/clever-set-build-flavor.sh')
-rwxr-xr-x | files/clever-set-build-flavor.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/files/clever-set-build-flavor.sh b/files/clever-set-build-flavor.sh new file mode 100755 index 0000000..52ad223 --- /dev/null +++ b/files/clever-set-build-flavor.sh | |||
@@ -0,0 +1,9 @@ | |||
1 | #!/usr/bin/env bash | ||
2 | |||
3 | set -e | ||
4 | |||
5 | function setBuildFlavor { | ||
6 | clever scale --build-flavor "${BUILD_FLAVOR}" | ||
7 | } | ||
8 | |||
9 | setBuildFlavor | ||