@getmonoceros/workbench 1.37.3 → 1.37.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +137 -11
- package/dist/bin.js.map +1 -1
- package/package.json +1 -1
- package/templates/monoceros-config.sample.env +8 -23
package/package.json
CHANGED
|
@@ -1,34 +1,19 @@
|
|
|
1
|
-
# Global secrets
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
# gh / glab inside the container. Optional: Monoceros runs fine without
|
|
5
|
-
# it, and public repos need no token.
|
|
1
|
+
# Global secrets shared across all your Monoceros containers - mainly the
|
|
2
|
+
# personal access tokens for private repos and the gh / glab CLIs.
|
|
3
|
+
# Optional: Monoceros runs fine without it, and public repos need no token.
|
|
6
4
|
#
|
|
7
|
-
#
|
|
8
|
-
#
|
|
5
|
+
# A per-container container-configs/<name>.env overrides any key set here.
|
|
6
|
+
# Uncomment and fill the ones you need. Never commit real tokens.
|
|
9
7
|
#
|
|
10
|
-
#
|
|
11
|
-
#
|
|
12
|
-
|
|
13
|
-
# ── Repo access tokens ─────────────────────────────────────────────
|
|
14
|
-
# For a repo, Monoceros looks for a token in this order (P = provider
|
|
15
|
-
# in UPPERCASE, S = the first path segment of the repo URL — the GitHub
|
|
16
|
-
# owner / GitLab group / Bitbucket workspace, uppercased):
|
|
17
|
-
#
|
|
18
|
-
# 1. <P>_API_TOKEN e.g. GITHUB_API_TOKEN
|
|
19
|
-
# 2. GIT_TOKEN__<P>_<S> e.g. GIT_TOKEN__GITHUB_ACME
|
|
20
|
-
# 3. GIT_TOKEN__<P> e.g. GIT_TOKEN__GITHUB
|
|
21
|
-
#
|
|
22
|
-
# Use (3) if you have one token per provider; use (2) to key different
|
|
23
|
-
# tokens by org/workspace. Create the token with the access you have on
|
|
24
|
-
# the provider's website (clone and push).
|
|
8
|
+
# How to create these tokens, and how they are named and resolved:
|
|
9
|
+
# https://getmonoceros.build/docs/concepts/git-and-repos/
|
|
25
10
|
|
|
26
11
|
# One token per provider (simplest):
|
|
27
12
|
# GITHUB_API_TOKEN=
|
|
28
13
|
# GITLAB_API_TOKEN=
|
|
29
14
|
# BITBUCKET_API_TOKEN=
|
|
30
15
|
|
|
31
|
-
# Or key by org / group / workspace
|
|
16
|
+
# Or key a token by org / group / workspace:
|
|
32
17
|
# GIT_TOKEN__GITHUB_ACME=
|
|
33
18
|
# GIT_TOKEN__GITLAB_MYGROUP=
|
|
34
19
|
# GIT_TOKEN__BITBUCKET_MYWORKSPACE=
|