This is the official application deployment tool for the Hypernode, a highly automated hosting platform for ecommerce applications.
If you want to use Hypernode Deploy in your shop you will probably want to head over to the hypernode-deploy-configuration repository instead.
If you are looking to see how the internals of the deployment tool work or even want to contribute a change to the project yourself, then you're in the right place.
This project builds the hypernode/deploy container image.
If you don't want to use a pre-built image from https://quay.io/hypernode/deploy or if you are doing development on this project and you want to test out your changes, you can built an image locally and use that.
export LOCAL_BUILD= # So we don't try to push
export CONTAINER_IMAGE=hypernode/deploy/dev
export PHP_VERSION=7.4
export NODE_VERSION=14
bash -x ci/build.sh
This will give you a locally built image:
$ docker images | grep hypernode/deploy/dev
hypernode/deploy/dev php7.4-node14 ece785ad21f5 2 minutes ago 753MB
That you could then use like:
$ rm -Rf vendor # in case we need to do some cleanup
$ docker run --rm -it --env SSH_PRIVATE_KEY="$(cat ~/.ssh/yourdeploykey | base64)" -v ${PWD}:/build hypernode/deploy/dev:php7.4-node14 hypernode-deploy build -vvv
$ docker run --rm -it --env SSH_PRIVATE_KEY="$(cat ~/.ssh/yourdeploykey | base64)" -v ${PWD}:/build hypernode/deploy/dev:php7.4-node14 hypernode-deploy deploy staging -vvv
source /etc/profile.d/nvm.sh
nvm install -s stable
To run the static tests, please run the following commands:
composer --working-dir tools install
tools/vendor/bin/grumphp run --config tools/grumphp.yml
We use Google Container Structure Tests over https://github.com/aelsabbahy/goss because the Hipex deploy container does not require a health check.