Skip to content

Commit 008127c

Browse files
committed
Revert "set ip forwarding with sysctl in pod spec"
This reverts commit a9cb1d6.
1 parent e7cf5bb commit 008127c

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

applications/wg-easy/Taskfile.yaml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,10 @@ tasks:
245245
find ./charts -maxdepth 2 -mindepth 2 -type d -name replicated | while read chartDir; do
246246
echo $chartDir
247247
parent=$(basename $(dirname $chartDir))
248+
248249
helmChartName="helmChart-$parent.yaml"
249250
export version=$(yq -r '.version' $chartDir/../Chart.yaml )
251+
250252
yq '.spec.chart.chartVersion = strenv(version) | .spec.chart.chartVersion style="single"' $chartDir/$helmChartName | tee release/$helmChartName
251253
done
252254
@@ -289,18 +291,18 @@ tasks:
289291
silent: false
290292
run: once
291293
vars:
292-
RELEASE_CHANNEL: '{{.RELEASE_CHANNEL | default "Unstable"}}'
293-
RELEASE_VERSION: '{{.RELEASE_VERSION | default "0.0.1"}}'
294+
CHANNEL: '{{.CHANNEL | default "Unstable"}}'
295+
VERSION: '{{.VERSION | default "0.0.1"}}'
294296
RELEASE_NOTES: '{{.RELEASE_NOTES | default "Release created via task release-create"}}'
295297
requires:
296-
vars: [APP_SLUG, RELEASE_CHANNEL, RELEASE_VERSION]
298+
vars: [APP_SLUG, VERSION]
297299
cmds:
298-
- echo "Creating and promoting release for {{.APP_SLUG}} to channel {{.RELEASE_CHANNEL}}..."
300+
- echo "Creating and promoting release for {{.APP_SLUG}} to channel {{.CHANNEL}}..."
299301
- |
300302
# Create and promote the release in one step
301303
echo "Creating release from files in ./release directory..."
302-
replicated release create --app {{.APP_SLUG}} --yaml-dir ./release --release-notes "{{.RELEASE_NOTES}}" --promote {{.RELEASE_CHANNEL}} --version {{.RELEASE_VERSION}}
303-
echo "Release version {{.RELEASE_VERSION}} created and promoted to channel {{.RELEASE_CHANNEL}}"
304+
replicated release create --app {{.APP_SLUG}} --yaml-dir ./release --release-notes "{{.RELEASE_NOTES}}" --promote {{.CHANNEL}} --version {{.VERSION}}
305+
echo "Release version {{.VERSION}} created and promoted to channel {{.CHANNEL}}"
304306
deps:
305307
- release-prepare
306308

@@ -311,7 +313,7 @@ tasks:
311313
vars:
312314
CUSTOMER_NAME: '{{.CUSTOMER_NAME | default "test-customer"}}'
313315
CUSTOMER_EMAIL: '{{.CUSTOMER_EMAIL | default "[email protected]"}}'
314-
RELEASE_CHANNEL: '{{.RELEASE_CHANNEL | default "Unstable"}}'
316+
CHANNEL: '{{.CHANNEL | default "Unstable"}}'
315317
LICENSE_TYPE: '{{.LICENSE_TYPE | default "dev"}}'
316318
EXPIRES_IN: '{{.EXPIRES_IN | default ""}}'
317319
requires:
@@ -336,7 +338,7 @@ tasks:
336338
--app {{.APP_SLUG}} \
337339
--name {{.CUSTOMER_NAME}} \
338340
--email {{.CUSTOMER_EMAIL}} \
339-
--channel {{.RELEASE_CHANNEL}} \
341+
--channel {{.CHANNEL}} \
340342
--type {{.LICENSE_TYPE}} \
341343
--output json"
342344
@@ -389,7 +391,7 @@ tasks:
389391
desc: Setup Replicated embedded cluster on the GCP VM
390392
silent: false
391393
vars:
392-
RELEASE_CHANNEL: '{{.RELEASE_CHANNEL | default "Unstable"}}'
394+
CHANNEL: '{{.CHANNEL | default "Unstable"}}'
393395
AUTH_TOKEN: '{{.AUTH_TOKEN | default "2usDXzovcJNcpn54yS5tFQVNvCq"}}'
394396
deps:
395397
- gcp-vm-create
@@ -402,7 +404,7 @@ tasks:
402404
vars:
403405
OPERATION: "setup-embedded"
404406
APP_SLUG: '{{.APP_SLUG}}'
405-
RELEASE_CHANNEL: '{{.RELEASE_CHANNEL}}'
407+
CHANNEL: '{{.CHANNEL}}'
406408
AUTH_TOKEN: '{{.AUTH_TOKEN}}'
407409
GCP_PROJECT: '{{.GCP_PROJECT}}'
408410
GCP_ZONE: '{{.GCP_ZONE}}'
@@ -474,7 +476,7 @@ tasks:
474476
- echo "Cleaning complete!"
475477

476478
full-test-cycle:
477-
desc: Create cluster, get kubeconfig, expose ports, update dependencies, deploy charts, test, and delete, and clean up build artifacts
479+
desc: Create cluster, get kubeconfig, expose ports, update dependencies, deploy charts, test, and delete
478480
silent: false
479481
cmds:
480482
- task: cluster-create
@@ -484,4 +486,3 @@ tasks:
484486
- task: helm-install
485487
- task: test
486488
- task: cluster-delete
487-
- task: clean

0 commit comments

Comments
 (0)