Skip to content

Commit

Permalink
TECH-1635 Fixes (#69)
Browse files Browse the repository at this point in the history
* TECH-1635 Fixes
- Small fixes to make the image generation work properly.

* Cleanup
  • Loading branch information
sergehuber committed Mar 18, 2024
1 parent 9a0d791 commit 2ec84d0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
13 changes: 6 additions & 7 deletions env.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@ WORKDIR /home/jahians
COPY --chown=jahians:jahians . /home/jahians

#CI=true reduces the verbosity of the installation logs
RUN CI=true yarn set version ${YARN_VERSION} \
CI=true yarn install; \
ls -al /home/jahians/ ; \
/home/jahians/node_modules/.bin/cypress install; \
mkdir -p .m2; \
cp maven.settings.xml .m2/settings.xml; \
exit 0
RUN CI=true yarn set version ${YARN_VERSION} ; \
yarn install; \
/home/jahians/node_modules/.bin/cypress install

# Exit 0 is used to not fail if the maven.settings.xml file is not present
RUN mkdir -p .m2; cp maven.settings.xml .m2/settings.xml; exit 0

CMD /bin/bash -c /home/jahians/env.run.sh
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "@jahia/cypress",
"version": "3.19.0",
"version": "3.19.1",
"scripts": {
"build": "tsc",
"lint": "eslint src -c .eslintrc.json --ext .ts"
},
"bin": {
"ci.build": "./ci.build.sh",
"ci.startup": "./ci.startup.sh",
"env.run": "./env.run.sh",
"env.debug": "./env.debug.sh"
"env.debug": "./env.debug.sh",
"env.run": "./env.run.sh"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 2ec84d0

Please sign in to comment.