update codecomments

This commit is contained in:
Philipp Kunz 2017-07-19 09:40:48 +02:00
parent 90295a79d9
commit 8847d9031b

View File

@ -6,8 +6,11 @@ import { Dockerfile } from './mod_docker/index'
export let repo: GitRepo export let repo: GitRepo
if (process.env.CI_REPOSITORY_URL) { if (process.env.CI_REPOSITORY_URL) {
repo = new GitRepo(process.env.CI_REPOSITORY_URL) repo = new GitRepo(process.env.CI_REPOSITORY_URL)
} }
/**
* the build stage
*/
export let buildStage: string = process.env.CI_BUILD_STAGE export let buildStage: string = process.env.CI_BUILD_STAGE
// handling config between commands // handling config between commands
@ -17,6 +20,10 @@ export let setDockerRegistry = (dockerRegistryArg: string) => {
} }
export let dockerFilesBuilt: Dockerfile[] = [] export let dockerFilesBuilt: Dockerfile[] = []
export let dockerFiles: Dockerfile[] = [] export let dockerFiles: Dockerfile[] = []
/**
* the config
*/
export let config = { export let config = {
dockerRegistry: undefined, // this will be set later on store dockerRegistry: undefined, // this will be set later on store
dockerFilesBuilt: dockerFilesBuilt, dockerFilesBuilt: dockerFilesBuilt,