2019-03-04 15:02:09 +00:00
|
|
|
const DEBUG_MODE = !!process.env.DEBUG;
|
|
|
|
|
2017-12-19 17:00:31 +00:00
|
|
|
export const reachingOut = `\
|
2019-04-02 17:01:28 +00:00
|
|
|
If you need help, or just want to say hi, don't hesitate in reaching out
|
|
|
|
through our discussion and support forums at https://forums.balena.io
|
2017-12-19 17:00:31 +00:00
|
|
|
|
2019-04-02 17:01:28 +00:00
|
|
|
For bug reports or feature requests, have a look at the GitHub issues or
|
|
|
|
create a new one at: https://github.com/balena-io/balena-cli/issues/\
|
2019-03-04 15:02:09 +00:00
|
|
|
`;
|
|
|
|
|
|
|
|
const debugHint = `\
|
2020-05-01 12:38:53 +00:00
|
|
|
Additional information may be available with the \`--debug\` flag.
|
2017-12-19 17:00:31 +00:00
|
|
|
`;
|
|
|
|
|
2020-05-01 12:38:53 +00:00
|
|
|
export const help = `\
|
|
|
|
For help, visit our support forums: https://forums.balena.io
|
|
|
|
For bug reports or feature requests, see: https://github.com/balena-io/balena-cli/issues/
|
2017-12-19 17:00:31 +00:00
|
|
|
`;
|
|
|
|
|
2020-05-01 12:38:53 +00:00
|
|
|
export const getHelp = (DEBUG_MODE ? '' : debugHint) + help;
|
|
|
|
|
2018-10-19 14:38:50 +00:00
|
|
|
export const balenaAsciiArt = `\
|
|
|
|
_ _
|
|
|
|
| |__ __ _ | | ____ _ __ __ _
|
|
|
|
| '_ \\ / _\` || | / __ \\| '_ \\ / _\` |
|
|
|
|
| |_) | (_) || || ___/| | | || (_) |
|
|
|
|
|_.__/ \\__,_||_| \\____/|_| |_| \\__,_|
|
2017-12-19 17:00:31 +00:00
|
|
|
`;
|
2019-02-27 18:01:47 +00:00
|
|
|
|
|
|
|
export const registrySecretsHelp = `\
|
|
|
|
The --registry-secrets option specifies a JSON or YAML file containing private
|
|
|
|
Docker registry usernames and passwords to be used when pulling base images.
|
|
|
|
Sample registry-secrets YAML file:
|
|
|
|
|
|
|
|
'my-registry-server.com:25000':
|
|
|
|
username: ann
|
|
|
|
password: hunter2
|
|
|
|
'': # Use the empty string to refer to the Docker Hub
|
|
|
|
username: mike
|
|
|
|
password: cze14
|
|
|
|
'eu.gcr.io': # Google Container Registry
|
|
|
|
username: '_json_key'
|
2019-06-18 10:13:09 +00:00
|
|
|
password: '{escaped contents of the GCR keyfile.json file}'
|
|
|
|
|
2019-08-15 14:38:50 +00:00
|
|
|
For a sample project using registry secrets with the Google Container Registry,
|
|
|
|
check: https://github.com/balena-io-playground/sample-gcr-registry-secrets
|
|
|
|
|
|
|
|
If the --registry-secrets option is not specified, and a secrets.yml or
|
|
|
|
secrets.json file exists in the balena directory (usually $HOME/.balena),
|
|
|
|
this file will be used instead.`;
|