@getmonoceros/workbench 1.37.0 → 1.37.1
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 +1 -1
- package/package.json +1 -1
- package/templates/monoceros-config.sample.env +34 -0
package/dist/bin.js
CHANGED
package/package.json
CHANGED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Global secrets for Monoceros containers. This file holds the ${VAR}
|
|
2
|
+
# values your container ymls reference — most importantly the personal
|
|
3
|
+
# access tokens (PATs) used to clone/push private repos and to log in
|
|
4
|
+
# gh / glab inside the container. Optional: Monoceros runs fine without
|
|
5
|
+
# it, and public repos need no token.
|
|
6
|
+
#
|
|
7
|
+
# It is the GLOBAL / shared layer. A per-container container-configs/
|
|
8
|
+
# <name>.env with the same key overrides what you set here.
|
|
9
|
+
#
|
|
10
|
+
# All entries below are commented out — uncomment and fill the ones you
|
|
11
|
+
# need. Never commit real tokens.
|
|
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).
|
|
25
|
+
|
|
26
|
+
# One token per provider (simplest):
|
|
27
|
+
# GITHUB_API_TOKEN=
|
|
28
|
+
# GITLAB_API_TOKEN=
|
|
29
|
+
# BITBUCKET_API_TOKEN=
|
|
30
|
+
|
|
31
|
+
# Or key by org / group / workspace (first URL path segment):
|
|
32
|
+
# GIT_TOKEN__GITHUB_ACME=
|
|
33
|
+
# GIT_TOKEN__GITLAB_MYGROUP=
|
|
34
|
+
# GIT_TOKEN__BITBUCKET_MYWORKSPACE=
|