Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

speed up and debug #1

Merged
merged 3 commits into from
Sep 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ pipeline {
deleteDir()
unstash 'source'
dir(BASE_DIR){
sh 'make build'
//sh 'make build'
}
}
}
Expand All @@ -67,7 +67,7 @@ pipeline {
deleteDir()
unstash 'source'
dir(BASE_DIR){
sh "make test"
//sh "make test"
}
}
}
Expand All @@ -89,16 +89,16 @@ pipeline {
unstash 'source'
dir(BASE_DIR){
dockerLogin(secret: "${env.DOCKER_REGISTRY_SECRET}", registry: "${env.REGISTRY}")
sh script: "VERSION=${env.GIT_BASE_COMMIT} IMAGE=${env.TMP_IMAGE} make publish", label: "push docker image to ${env.IMAGE}"
//sh script: "VERSION=${env.GIT_BASE_COMMIT} IMAGE=${env.TMP_IMAGE} make publish", label: "push docker image to ${env.IMAGE}"
}
}
}
}
stage('Integration Tests') {
agent none
steps {
log(level: 'INFO', text: 'Launching Async ITs')
build(job: env.ITS_PIPELINE, propagate: !env.containsKey('CHANGE_ID'), wait: !env.containsKey('CHANGE_ID'),
build(job: env.ITS_PIPELINE, propagate: "${env.containsKey('CHANGE_ID') ? false : true}",
wait: "${env.containsKey('CHANGE_ID') ? false : true}",
parameters: [string(name: 'AGENT_INTEGRATION_TEST', value: 'Opbeans'),
string(name: 'BUILD_OPTS', value: "--with-opbeans-java --opbeans-java-image ${env.TMP_IMAGE} --opbeans-java-version ${env.GIT_BASE_COMMIT}"),
string(name: 'GITHUB_CHECK_NAME', value: env.GITHUB_CHECK_ITS_NAME),
Expand Down
6 changes: 4 additions & 2 deletions .ci/scripts/gren
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash
set -ex
docker run --rm -t -v "$(pwd):/app" -w /app docker.elastic.co/observability-ci/gren "$@"
set -e
IMAGE="docker.elastic.co/observability-ci/gren"
docker pull "${IMAGE}" > /dev/null
docker run --rm -t -v "$(pwd):/app" -u "$(id -u):$(id -g)" "${IMAGE}" "$@"
2 changes: 1 addition & 1 deletion .ci/scripts/release-notes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ set -uxeo pipefail

GREN_GITHUB_TOKEN=${GREN_GITHUB_TOKEN:?"missing GREN_GITHUB_TOKEN"}

gren release --token="${GREN_GITHUB_TOKEN}" --override -c .grenrc.js -t all
gren release --token="${GREN_GITHUB_TOKEN}" --override -c .grenrc.js -t all --debug