Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 831 Bytes

File metadata and controls

37 lines (28 loc) · 831 Bytes

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