github.com/taubyte/tau-cli@v0.1.13-0.20240326000942-487f0d57edfc/common/test/vars.go (about) 1 package internal 2 3 import "os" 4 5 type Repository struct { 6 ID int 7 Name string 8 URL string 9 } 10 11 func GitToken() string { 12 token := os.Getenv("TAU_TEST_GIT_TOKEN") 13 14 if token == "" { 15 panic("TAU_TEST_GIT_TOKEN not set") 16 } 17 18 return token 19 } 20 21 var ( 22 GitUser = "taubyte-test" 23 Branch = "master" 24 ProjectName = "testproject" 25 26 ConfigRepo Repository = Repository{ 27 ID: 485473636, 28 Name: "tb_testproject", 29 URL: "https://github.com/taubyte-test/tb_testproject", 30 } 31 32 CodeRepo Repository = Repository{ 33 ID: 485473661, 34 Name: "tb_code_testproject", 35 URL: "https://github.com/taubyte-test/tb_code_testproject", 36 } 37 )