@@ -8,7 +8,11 @@ Owned by `#eng-infra`.
8
8
9
9
## Scripts
10
10
11
- ### Docker
11
+ ### General-purpose
12
+
13
+ The following scripts don't rely on any Clever-specific tooling.
14
+
15
+ #### Docker
12
16
13
17
Logs into Docker registry, then builds and pushes docker image.
14
18
Docker image is tagged with 7 character git commit SHA.
@@ -17,23 +21,36 @@ Docker image is tagged with 7 character git commit SHA.
17
21
$ ./circleci/docker-publish [DOCKER_USER] [DOCKER_PASS] [DOCKER_EMAIL] [ORG]
18
22
```
19
23
20
- ### NPM Publish
24
+ #### NPM Publish
21
25
22
26
Authenticates to NPM and publishes a package.
23
27
24
28
```
25
29
$ ./circleci/npm-publish [NPM_TOKEN] [PACKAGE_DIR]
26
30
```
27
31
28
- ### Github Release
32
+ #### Github Release
29
33
30
34
Publishes content from ` [ARTIFACTS_DIR] ` as a Github Release.
31
35
32
36
```
33
37
$ ./circleci/github-release [GITHUB_TOKEN] [ARTIFACTS_DIR]
34
38
```
35
39
36
- ### Catapult
40
+ #### Mongo install
41
+
42
+ Installs a specific Mongo version, rather than the default version in CircleCI.
43
+ At time of writing, ` v3.0.7 ` was default version in CircleCI's [ Ubuntu 14.04 (Trusty) image] ( https://circleci.com/docs/build-image-trusty/#mongodb ) .
44
+
45
+ ```
46
+ $ ./circleci/mongo-install [VERSION]
47
+ ```
48
+
49
+ ### Clever internal
50
+
51
+ The following scripts depend on Clever-specific infrastructure and tooling.
52
+
53
+ #### Catapult
37
54
38
55
Publishes your application and build in [ catapult] ( https://github.com/clever/catapult ) .
39
56
@@ -43,19 +60,22 @@ $ ./circleci/catapult-publish [CATAPULT_URL] [CATAPULT_USER] [CATAPULT_PASS] [AP
43
60
44
61
If you need to publish multiple applications, run this command once for each.
45
62
46
- ### Report-card
63
+ #### Dapple
47
64
48
- Runs [ report-card] ( https://github.com/clever/report-card ) .
65
+ Deploys your application with [ dapple] ( https://github.com/clever/dapple ) .
66
+ Requires that you've first pushed the Docker image and published the application to Catapult.
49
67
50
68
```
51
- $ ./circleci/report-card [DOCKER_USER ] [DOCKER_PASS ] [DOCKER_EMAIL ] [GITHUB_TOKEN ]
69
+ $ ./circleci/dapple-deploy [DAPPLE_URL ] [DAPPLE_USER ] [DAPPLE_PASS ] [APP_NAME ]
52
70
```
53
71
54
- ### Mongo install
72
+ If you need to deploy multiple applications, run this command once for each.
55
73
56
- Installs a specific Mongo version, rather than the default version in CircleCI.
57
- At time of writing, ` v3.0.7 ` was default version in CircleCI's [ Ubuntu 14.04 (Trusty) image] ( https://circleci.com/docs/build-image-trusty/#mongodb ) .
74
+ #### Report-card
75
+
76
+ Runs [ report-card] ( https://github.com/clever/report-card ) .
58
77
59
78
```
60
- $ ./circleci/mongo-install [VERSION ]
79
+ $ ./circleci/report-card [DOCKER_USER] [DOCKER_PASS] [DOCKER_EMAIL] [GITHUB_TOKEN ]
61
80
```
81
+
0 commit comments