difftreelog
changed dir for rep
in: master
2 files changed
Dockerfile-testsdiffbeforeafterboth1# ===== Integration Tests ======234FROM ubuntu:20.045LABEL maintainer="UniqueNetwork.io"67RUN apt -y update; apt -y upgrade; apt -y install curl8910RUN mkdir nft_parachain11WORKDIR /nft_parachain1213COPY . .1415RUN apt-get -y update && \16 apt-get -y upgrade && \17 apt-get -y install curl && \18 curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash && \19 export NVM_DIR="$HOME/.nvm" && \20 [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \21 nvm install v15.5.0 && \22 nvm use v15.5.0 && \23 npm install --save @polkadot/api && \ 24 npm install --save-dev mochawesome2526CMD sleep 602728CMD export NVM_DIR="$HOME/.nvm" && \29 [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \30 cd tests && \31 npm install --global yarn && \ 32 yarn add mochawesome && \33 yarn install && \34 sleep 120 &&\35 yarn test --reporter mochawesome36 # yarn test1# ===== Integration Tests ======234FROM ubuntu:20.045LABEL maintainer="UniqueNetwork.io"67RUN apt -y update; apt -y upgrade; apt -y install curl8910RUN mkdir nft_parachain11WORKDIR /nft_parachain1213COPY . .1415RUN apt-get -y update && \16 apt-get -y upgrade && \17 apt-get -y install curl && \18 curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash && \19 export NVM_DIR="$HOME/.nvm" && \20 [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \21 nvm install v15.5.0 && \22 nvm use v15.5.0 && \23 npm install --save @polkadot/api && \ 24 npm install --save-dev mochawesome2526CMD sleep 602728CMD export NVM_DIR="$HOME/.nvm" && \29 [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \30 cd tests && \31 npm install --global yarn && \ 32 yarn add mochawesome && \33 yarn install && \34 sleep 120 && \35 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}docker-compose-tests-parachain.ymldiffbeforeafterboth--- a/docker-compose-tests-parachain.yml
+++ b/docker-compose-tests-parachain.yml
@@ -35,7 +35,7 @@
dockerfile: Dockerfile-tests
volumes:
- ./tests/src/config_docker.ts:/nft_parachain/tests/src/config.ts
- - ./mochawesome-report:/nft_parachain/tests/mochawesome-report
+ - /home/ubuntu/mochawesome-report:/nft_parachain/tests/mochawesome-report
# command: bash -c 'while true; do sleep 20; df -h; done'
networks:
- node_test_network
@@ -57,4 +57,4 @@
networks:
node_test_network:
name: node_test_network
- driver: bridge
\ No newline at end of file
+ driver: bridge