go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/cli/execruntime/env_mondoo.go (about) 1 // Copyright (c) Mondoo, Inc. 2 // SPDX-License-Identifier: BUSL-1.1 3 4 package execruntime 5 6 const MONDOO_CI = "mondoo-ci" 7 8 var mondooCIEnv = &RuntimeEnv{ 9 Id: MONDOO_CI, 10 Name: "Mondoo CI", 11 Namespace: "ci.mondoo.com", 12 Identify: []Variable{ 13 { 14 Name: "MONDOO_CI", 15 }, 16 }, 17 Variables: []Variable{ 18 { 19 Name: "CI_COMMIT_SHA", 20 Desc: "The commit revision for which project is built", 21 }, 22 { 23 Name: "CI_COMMIT_MESSAGE", 24 Desc: "The description of the commit", 25 }, 26 { 27 Name: "CI_COMMIT_REF_NAME", 28 Desc: "The branch or tag name for which project is built", 29 }, 30 { 31 Name: "CI_COMMIT_URL", 32 Desc: "Pull Request Url", 33 }, 34 { 35 Name: "CI_PROJECT_ID", 36 Desc: "The unique id of the current project", 37 }, 38 { 39 Name: "CI_PROJECT_NAME", 40 Desc: "The project name that is currently being built", 41 }, 42 { 43 Name: "CI_PROJECT_URL", 44 Desc: "The HTTP(S) address to access project", 45 }, 46 47 { 48 Name: "CI_BUILD_ID", 49 Desc: "Internal ID of the target system", 50 }, 51 { 52 Name: "CI_BUILD_NAME", 53 Desc: "Build name", 54 }, 55 { 56 Name: "CI_BUILD_NUMBER", 57 Desc: "Build number", 58 }, 59 { 60 Name: "CI_BUILD_URL", 61 Desc: "The build URL", 62 }, 63 { 64 Name: "CI_BUILD_USER_NAME", 65 Desc: "user that triggered the build", 66 }, 67 { 68 Name: "CI_BUILD_USER_ID", 69 Desc: "user id that triggered the build", 70 }, 71 { 72 Name: "CI_BUILD_USER_EMAIL", 73 Desc: "user email that triggered the build", 74 }, 75 }, 76 }