This repository was archived by the owner on Feb 12, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTaskfile.yml
More file actions
55 lines (53 loc) · 3.86 KB
/
Taskfile.yml
File metadata and controls
55 lines (53 loc) · 3.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
version: '3'
tasks:
upload-lambdas:
desc: Build and upload current code as lambdas to buckets defined in WEKACTL_LAMBDAS_BUCKETS env var
cmds:
- ./scripts/upload_lambdas.sh
weka-upload-lambdas:
desc: Build and upload current code as lambdas to official buckets
env:
WEKACTL_AWS_LAMBDAS_BUCKETS: "eu-west-1=weka-wekactl-images-eu-west-1,ap-northeast-2=weka-wekactl-images-ap-northeast-2,ap-northeast-1=weka-wekactl-images-ap-northeast-1,eu-west-2=weka-wekactl-images-eu-west-2,eu-central-1=weka-wekactl-images-eu-central-1,ap-southeast-1=weka-wekactl-images-ap-southeast-1,us-east-1=weka-wekactl-images-us-east-1,us-west-2=weka-wekactl-images-us-west-2,us-east-2=weka-wekactl-images-us-east-2,ap-southeast-2=weka-wekactl-images-ap-southeast-2,sa-east-1=weka-wekactl-images-sa-east-1,ap-south-1=weka-wekactl-images-ap-south-1,us-west-1=weka-wekactl-images-us-west-1"
AWS_PROFILE: devops
cmds:
- ./scripts/upload_lambdas.sh
weka-upload-lambdas-dev:
desc: Build and upload current code as lambdas to single official bucket in dev mode
env:
WEKACTL_AWS_LAMBDAS_BUCKETS: "eu-central-1=weka-wekactl-images-eu-central-1"
AWS_PROFILE: devops
WEKACTL_FORCE_DEV: 1
cmds:
- ./scripts/upload_lambdas.sh
deploy-test:
desc: Build and upload lambdas and wekactl to single official bucket in dev mode
env:
WEKACTL_AWS_LAMBDAS_BUCKETS: "eu-central-1=weka-wekactl-images-eu-central-1"
WEKACTL_FORCE_DEV: 1
DEPLOY: 1
cmds:
- ./deploy.sh
deploy-dev:
desc: Build and upload lambdas and wekactl to official buckets defined in WEKACTL_LAMBDAS_BUCKETS env var
env:
WEKACTL_AWS_LAMBDAS_BUCKETS: "eu-west-1=weka-wekactl-images-eu-west-1,ap-northeast-2=weka-wekactl-images-ap-northeast-2,ap-northeast-1=weka-wekactl-images-ap-northeast-1,eu-west-2=weka-wekactl-images-eu-west-2,eu-central-1=weka-wekactl-images-eu-central-1,ap-southeast-1=weka-wekactl-images-ap-southeast-1,us-east-1=weka-wekactl-images-us-east-1,us-west-2=weka-wekactl-images-us-west-2,us-east-2=weka-wekactl-images-us-east-2,ap-southeast-2=weka-wekactl-images-ap-southeast-2,sa-east-1=weka-wekactl-images-sa-east-1,ap-south-1=weka-wekactl-images-ap-south-1,us-west-1=weka-wekactl-images-us-west-1"
WEKACTL_FORCE_DEV : 1
DEPLOY: 1
cmds:
- ./deploy.sh
deploy-release:
desc: Build and upload lambdas and wekactl to official buckets defined in WEKACTL_LAMBDAS_BUCKETS env var
env:
WEKACTL_AWS_LAMBDAS_BUCKETS: "eu-west-1=weka-wekactl-images-eu-west-1,ap-northeast-2=weka-wekactl-images-ap-northeast-2,ap-northeast-1=weka-wekactl-images-ap-northeast-1,eu-west-2=weka-wekactl-images-eu-west-2,eu-central-1=weka-wekactl-images-eu-central-1,ap-southeast-1=weka-wekactl-images-ap-southeast-1,us-east-1=weka-wekactl-images-us-east-1,us-west-2=weka-wekactl-images-us-west-2,us-east-2=weka-wekactl-images-us-east-2,ap-southeast-2=weka-wekactl-images-ap-southeast-2,sa-east-1=weka-wekactl-images-sa-east-1,ap-south-1=weka-wekactl-images-ap-south-1,us-west-1=weka-wekactl-images-us-west-1"
DEPLOY: 1
RELEASE: 1
cmds:
- ./deploy.sh
deploy-ga:
desc: Build and upload lambdas and wekactl to official buckets defined in WEKACTL_LAMBDAS_BUCKETS env var
env:
WEKACTL_AWS_LAMBDAS_BUCKETS: "eu-west-1=weka-wekactl-images-eu-west-1,ap-northeast-2=weka-wekactl-images-ap-northeast-2,ap-northeast-1=weka-wekactl-images-ap-northeast-1,eu-west-2=weka-wekactl-images-eu-west-2,eu-central-1=weka-wekactl-images-eu-central-1,ap-southeast-1=weka-wekactl-images-ap-southeast-1,us-east-1=weka-wekactl-images-us-east-1,us-west-2=weka-wekactl-images-us-west-2,us-east-2=weka-wekactl-images-us-east-2,ap-southeast-2=weka-wekactl-images-ap-southeast-2,sa-east-1=weka-wekactl-images-sa-east-1,ap-south-1=weka-wekactl-images-ap-south-1,us-west-1=weka-wekactl-images-us-west-1"
DEPLOY: 1
GA: 1
cmds:
- ./deploy.sh