Merge pull request #4036 from dokku/store-build-artifact

Store the deb and rpm artifacts
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2020-06-28 03:03:26 -04:00
commit 7481943a9b
2 files changed
+6

No files matched your search

+4
View File
@@ -45,6 +45,10 @@ jobs:
root: /home/circleci/project root: /home/circleci/project
paths: paths:
- build - build
- store_artifacts:
path: /home/circleci/project/build/dokku.deb
- store_artifacts:
path: /home/circleci/project/build/dokku.rpm
docker-deploy-tests: docker-deploy-tests:
executor: default executor: default
steps: steps:
+2
View File
@@ -47,6 +47,8 @@ build_dokku() {
echo "=====> build_dokku on CIRCLE_NODE_INDEX: $CIRCLE_NODE_INDEX" echo "=====> build_dokku on CIRCLE_NODE_INDEX: $CIRCLE_NODE_INDEX"
"${ROOT_DIR}/contrib/release-dokku" build "${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() { install_dokku() {