Skip to content

ByteInternet/hypernode-deploy

 
 

Repository files navigation

Switching node version

source /etc/profile.d/nvm.sh
nvm install -s stable

Tests

Static tests

To run the static tests, please run the following commands:

composer --working-dir tools install
tools/vendor/bin/grumphp run --config tools/grumphp.yml

Docker container

We use Google Container Structure Tests over https://github.com/aelsabbahy/goss because the Hipex deploy container does not require a health check.

Build images locally

CONTAINER_IMAGE=hipex/deploy/dev \
CI_COMMIT_TAG=2.0.2 \
PHP_VERSION=7.4 \
NODE_VERSION=14 \
LOCAL_BUILD= \
./ci/build.sh

Run with local image

rm -Rf vendor
docker run --rm -it --env SSH_PRIVATE_KEY="$(cat ~/.ssh/id_rsa_mydeploykey | base64)" -v ${PWD}:/build hipex/deploy/dev:2.1.0-php7.3-node13 hipex-deploy build -vvv

About

Application deployment tool for the Hypernode platform

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Contributors 10