зеркало из https://github.com/mozilla/PRESC.git
Add CircleCI build badge and a build script for master
This commit is contained in:
Родитель
9f68630053
Коммит
558b59059f
|
@ -1,5 +1,6 @@
|
||||||
# Performance Robustness Evaluation for Statistical Classifiers
|
# Performance Robustness Evaluation for Statistical Classifiers
|
||||||
|
|
||||||
|
[![CircleCI](https://circleci.com/gh/mozilla/presc.svg?style=svg)](https://circleci.com/gh/mozila/presc)
|
||||||
[![Join the chat at https://gitter.im/PRESC-outreachy/community](https://badges.gitter.im/PRESC-outreachy/community.svg)](https://gitter.im/PRESC-outreachy/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
[![Join the chat at https://gitter.im/PRESC-outreachy/community](https://badges.gitter.im/PRESC-outreachy/community.svg)](https://gitter.im/PRESC-outreachy/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
set -eo pipefail
|
||||||
|
|
||||||
|
# create a version.json
|
||||||
|
printf '{"commit":"%s","version":"%s","source":"https://github.com/%s/%s","build":"%s"}\n' \
|
||||||
|
"$CIRCLE_SHA1" \
|
||||||
|
"$CIRCLE_TAG" \
|
||||||
|
"$CIRCLE_PROJECT_USERNAME" \
|
||||||
|
"$CIRCLE_PROJECT_REPONAME" \
|
||||||
|
"$CIRCLE_BUILD_URL" \
|
||||||
|
> version.json
|
||||||
|
|
||||||
|
echo "Building the docker image with the tag app:build"
|
||||||
|
docker build -t app:build .
|
Загрузка…
Ссылка в новой задаче