github.com/upcmd/up@v0.8.1-0.20230108151705-ad8b797bf04f/tests/modtests/m0014/upconfig.yml (about) 1 version: 1.0.0 2 Verbose: v 3 MaxCallLayers: 8 4 RefDir: . 5 TaskFile: up.yml 6 ConfigDir: . 7 ConfigFile: upconfig.yml 8 ModuleLock: true 9 Secure: 10 Type: default_aes 11 #the key value will be a var name used for the value 12 Key: enc_key 13 # keyref: /a/secure/location/key.file 14 15 ModRepoUsernameRef: GIT_USERNAME 16 ModRepoPasswordRef: GIT_PASSWORD 17 18 Modules: 19 #By default: UPcmd will try to detect: 20 #the global setting of git username and password: ModRepoUsernameRef and ModRepoPasswordRef 21 #if individual repo UsernameRef and PasswordRef exist, then use the individual credential 22 23 - repo: https://github.com/upcmd/auth_test_module.git 24 alias: hello 25 #ref to an env var name 26 #this example shows it obtains a pre set credential from current shell context 27 UsernameRef: AUTH_TEST_MODULE_GIT_USERNAME 28 PasswordRef: AUTH_TEST_MODULE_GIT_PASSWORD 29 PullPolicy: always 30 31 - repo: https://github.com/upcmd/auth_test_module.git 32 alias: hi 33 #ref to an env var name 34 #this example shows it obtain the configured credential from up.yml in secure context 35 UsernameRef: GITHUB_USERNAME 36 PasswordRef: GITHUB_PASSWORD_ENCRYPTED 37 PullPolicy: always 38 39 #* a side note: if you use token, then please use whatever value(not empty) for username, set the the ref value in env var to be the token's value