tests: store the deb and rpm artifacts

This commit is contained in:
Jose Diaz-Gonzalez
2020-06-28 01:21:40 -04:00
parent 1eaa98d3e6
commit 1a0c123823
2 changed files with 6 additions and 0 deletions

View File

@@ -45,6 +45,10 @@ jobs:
root: /home/circleci/project
paths:
- build
- store_artifacts:
path: /home/circleci/project/build/dokku.deb
- store_artifacts:
path: /home/circleci/project/build/dokku.rpm
docker-deploy-tests:
executor: default
steps:

View File

@@ -47,6 +47,8 @@ build_dokku() {
echo "=====> build_dokku on CIRCLE_NODE_INDEX: $CIRCLE_NODE_INDEX"
"${ROOT_DIR}/contrib/release-dokku" build
cp "$(cat "${ROOT_DIR}/build/deb-filename")" "${ROOT_DIR}/build/dokku.deb"
cp "$(cat "${ROOT_DIR}/build/rpm-filename")" "${ROOT_DIR}/build/dokku.rpm"
}
install_dokku() {