|
3 | 3 | # to test this script, follow these steps
|
4 | 4 | # 1. generate a config like so: ./installer init > config.yaml
|
5 | 5 | # 2. generate a k8s manifest like so: ./installer render -n $(kubens -c) -c config.yaml > k8s.yaml
|
6 |
| -# 3. fake a license and feature file like so: echo "foo" > /tmp/license && echo '"bar"' > /tmp/defaultFeatureFlags |
| 6 | +# 3. fake a feature file like so: echo '"bar"' > /tmp/defaultFeatureFlags |
7 | 7 | # 4. call this script like so: ./.werft/jobs/build/installer/post-process.sh 1234 5678 2 your-branch-just-dashes
|
8 | 8 |
|
9 | 9 | set -euo pipefail
|
|
28 | 28 | echo "Use node pool index $NODE_POOL_INDEX"
|
29 | 29 |
|
30 | 30 | # Optional params
|
31 |
| -# default yes, we add a license |
32 |
| -LICENSE=$(cat /tmp/license) |
33 | 31 | # default, no, we do not add feature flags, file is empty
|
34 | 32 | DEFAULT_FEATURE_FLAGS=$(cat /tmp/defaultFeatureFlags)
|
35 | 33 | # if payment is configured: Append the YAML objects
|
@@ -124,13 +122,6 @@ while [ "$documentIndex" -le "$DOCS" ]; do
|
124 | 122 | STAGE="devstaging"
|
125 | 123 | STAGE_EXPR="s/\"stage\": \"production\"/\"stage\": \"$STAGE\"/"
|
126 | 124 | sed -i "$STAGE_EXPR" /tmp/"$NAME"overrides.yaml
|
127 |
| - # Install EE license, if it exists |
128 |
| - # This is a temporary solution until #6868 is resolved |
129 |
| - if [ "${#LICENSE}" -gt 0 ]; then |
130 |
| - echo "Installing EE License..." |
131 |
| - LICENSE_EXPR="s/\"license\": \"\"/\"license\": \"$LICENSE\"/" |
132 |
| - sed -i "$LICENSE_EXPR" /tmp/"$NAME"overrides.yaml |
133 |
| - fi |
134 | 125 | # DEFAULT_FEATURE_FLAGS
|
135 | 126 | # default none, this is CSV list like: ws-feature-flags=registry_facade,full_workspace_backup
|
136 | 127 | if [ "${#DEFAULT_FEATURE_FLAGS}" -gt 0 ]; then
|
|
0 commit comments