forked from taskcluster/taskcluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
entrypoint
90 lines (88 loc) · 5.73 KB
/
entrypoint
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#! /bin/sh
# DO NOT EDIT. This is an autogenerated file.
case "${1}" in
auth/web) exec node services/auth/src/main server;;
auth/expireSentry) exec node services/auth/src/main expire-sentry;;
auth/purgeExpiredClients) exec node services/auth/src/main purge-expired-clients;;
auth/write-docs) exec node services/auth/src/main writeDocs;;
built-in-workers/server) exec node services/built-in-workers/src/main.js server;;
built-in-workers/write-docs) exec node services/built-in-workers/src/main.js writeDocs;;
github/web) exec node services/github/src/main server;;
github/worker) exec node services/github/src/main worker;;
github/sync) exec node services/github/src/main syncInstallations;;
github/write-docs) exec node services/github/src/main writeDocs;;
hooks/web) exec node services/hooks/src/main.js server;;
hooks/scheduler) exec node services/hooks/src/main.js scheduler;;
hooks/write-docs) exec node services/hooks/src/main.js writeDocs;;
hooks/listeners) exec node services/hooks/src/main.js listeners;;
hooks/expires) exec node services/hooks/src/main.js expires;;
index/web) exec node services/index/src/main server;;
index/handlers) exec node services/index/src/main handlers;;
index/expire) exec node services/index/src/main expire;;
index/write-docs) exec node services/index/src/main writeDocs;;
notify/web) exec node services/notify/src/main server;;
notify/handler) exec node services/notify/src/main handler;;
notify/write-docs) exec node services/notify/src/main writeDocs;;
object/web) exec node services/object/src/main.js server;;
object/expire) exec node services/object/src/main expire;;
object/write-docs) exec node services/object/src/main.js writeDocs;;
purge-cache/web) exec node services/purge-cache/src/main server;;
purge-cache/expireCachePurges) exec node services/purge-cache/src/main expire-cache-purges;;
purge-cache/write-docs) exec node services/purge-cache/src/main writeDocs;;
queue/web) exec node services/queue/src/main server;;
queue/write-docs) exec node services/queue/src/main writeDocs;;
queue/claimResolver) exec node services/queue/src/main claim-resolver;;
queue/deadlineResolver) exec node services/queue/src/main deadline-resolver;;
queue/dependencyResolver) exec node services/queue/src/main dependency-resolver;;
queue/expireArtifacts) exec node services/queue/src/main expire-artifacts;;
queue/expireTask) exec node services/queue/src/main expire-tasks;;
queue/expireTaskGroups) exec node services/queue/src/main expire-task-groups;;
queue/expireTaskDependency) exec node services/queue/src/main expire-task-dependency;;
queue/expireQueueMessages) exec node services/queue/src/main expire-queue-messages;;
queue/expireWorkerInfo) exec node services/queue/src/main expire-worker-info;;
secrets/web) exec node services/secrets/src/main.js server;;
secrets/expire) exec node services/secrets/src/main.js expire;;
secrets/write-docs) exec node services/secrets/src/main.js writeDocs;;
web-server/web) exec node services/web-server/src/main.js server;;
web-server/scanner) exec node services/web-server/src/main.js scanner;;
web-server/cleanup-expire-auth-codes) exec node services/web-server/src/main.js cleanup-expire-auth-codes;;
web-server/cleanup-expire-access-tokens) exec node services/web-server/src/main.js cleanup-expire-access-tokens;;
web-server/write-docs) exec node services/web-server/src/main.js writeDocs;;
worker-manager/web) exec node services/worker-manager/src/main.js server;;
worker-manager/provisioner) exec node services/worker-manager/src/main.js runProvisioner;;
worker-manager/workerscanner) exec node services/worker-manager/src/main.js workerScanner;;
worker-manager/expire-workers) exec node services/worker-manager/src/main.js expireWorkers;;
worker-manager/expire-worker-pools) exec node services/worker-manager/src/main.js expireWorkerPools;;
worker-manager/expire-errors) exec node services/worker-manager/src/main.js expireErrors;;
worker-manager/write-docs) exec node services/worker-manager/src/main.js writeDocs;;
script/lint) shift; exec yarn run lint "${@}";;
script/lint:go) shift; exec yarn run lint:go "${@}";;
script/lint:py) shift; exec yarn run lint:py "${@}";;
script/test) shift; exec yarn run test "${@}";;
script/fetch-coverage) shift; exec yarn run fetch-coverage "${@}";;
script/build) shift; exec yarn run build "${@}";;
script/release) shift; exec yarn run release "${@}";;
script/staging-release) shift; exec yarn run staging-release "${@}";;
script/release:publish) shift; exec yarn run release:publish "${@}";;
script/generate) shift; exec yarn run generate "${@}";;
script/minify) shift; exec yarn run minify "${@}";;
script/changelog) shift; exec yarn run changelog "${@}";;
script/changelog:show) shift; exec yarn run changelog:show "${@}";;
script/changelog:check) shift; exec yarn run changelog:check "${@}";;
script/shared-secrets) shift; exec yarn run shared-secrets "${@}";;
script/heroku-prebuild) shift; exec yarn run heroku-prebuild "${@}";;
script/heroku-postbuild) shift; exec yarn run heroku-postbuild "${@}";;
script/dev:init) shift; exec yarn run dev:init "${@}";;
script/dev:db:upgrade) shift; exec yarn run dev:db:upgrade "${@}";;
script/dev:db:downgrade) shift; exec yarn run dev:db:downgrade "${@}";;
script/dev:apply) shift; exec yarn run dev:apply "${@}";;
script/dev:delete) shift; exec yarn run dev:delete "${@}";;
script/dev:verify) shift; exec yarn run dev:verify "${@}";;
script/smoketest) shift; exec yarn run smoketest "${@}";;
script/test:meta) shift; exec yarn run test:meta "${@}";;
script/db:upgrade) shift; exec yarn run db:upgrade "${@}";;
script/db:downgrade) shift; exec yarn run db:downgrade "${@}";;
references/web) exec sh infrastructure/references/references.sh;;
ui/web) node /app/ui/generate-env-js.js /app/ui/build/static/env.js && exec nginx -c /app/ui/web-ui-nginx-site.conf -g 'daemon off;';;
*) exec "${@}";;
esac