Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What branch should I use for test? #1584

Open
hiroyuki-sato opened this issue Jan 22, 2025 · 0 comments
Open

What branch should I use for test? #1584

hiroyuki-sato opened this issue Jan 22, 2025 · 0 comments

Comments

@hiroyuki-sato
Copy link

Hello, members.

I would like to create a WEKO3 test environment.

What branch should I use?

I'm following Install Weko3 documents.

The document use the default branch (main).

So, When I try to build DOCKER_BUILDKIT=1 COMPOSE_DOCKER_CLI_BUILD=1 docker compose -f docker-compose2.yml build --no-cache --force-rm (This is the first part of install2.sh or install3.sh script) in the main branch, It outputs the error.

=> CACHED [worker stage_1 1/1] FROM [docker.io/library/python:3.6-slim-buster@sha256:e10aa83604948c6d8d9f72a9a20193d84bb2dbe550b725eb5208387117fde065](http://docker.io/library/python:3.6-slim-buster@sha256:e10aa83604948c6d8d9f72a9a20193d84bb2dbe550b725eb5208387117fde065)            0.0s
=> [worker stage_2 1/2] COPY scripts/provision-web.sh /tmp/                               0.1s
=> ERROR [worker stage_2 2/2] RUN /tmp/provision-web.sh                                   123.1s
------

120.1 /usr/bin/cleancss -> /usr/lib/node_modules/clean-css/bin/cleancss
120.3 npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
120.4 npm WARN deprecated [email protected]: this library is no longer supported
120.4 npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
120.5 npm WARN engine [email protected]: wanted: {"node":">=6"} (current: {"node":"4.8.7","npm":"2.15.11"})
121.1 npm WARN engine [email protected]: wanted: {"node":">=6"} (current: {"node":"4.8.7","npm":"2.15.11"})
122.3 npm WARN deprecated [email protected]: This package is no longer supported.
122.3 npm WARN deprecated [email protected]: This package is no longer supported.
122.3 npm WARN deprecated [email protected]: This package is no longer supported.
122.3 npm WARN deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
122.4 npm WARN deprecated [email protected]: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
122.7 npm WARN deprecated [email protected]: This package is no longer supported.
122.7 npm WARN deprecated [email protected]: This package is no longer supported.
123.8 npm WARN engine [email protected]: wanted: {"node":">=6"} (current: {"node":"4.8.7","npm":"2.15.11"})
124.4 /usr/bin/node-sass -> /usr/lib/node_modules/node-sass/bin/node-sass
124.4
124.4 > [email protected] install /usr/lib/node_modules/node-sass
124.4 > node scripts/install.js
124.4
124.5 /usr/lib/node_modules/node-sass/node_modules/request/node_modules/tough-cookie/node_modules/psl/dist/psl.cjs:1
124.5 (function (exports, require, module, __filename, __dirname) { "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function K(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var O,F;function Q(){if(F)return O;F=1;const e=2147483647,s=36,c=1,o=26,t=38,d=700,z=72,y=128,g="-",P=/^xn--/,V=/[^\0-\x7F]/,G=/[\x2E\u3002\uFF0E\uFF61]/g,W={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},C=s-c,h=Math.floor,I=String.fromCharCode;function v(a){throw new RangeError(W[a])}function U(a,i){const m=[];let n=a.length;for(;n--;)m[n]=i(a[n]);return m}function S(a,i){const m=a.split("@");let n="";m.length>1&&(n=m[0]+"@",a=m[1]),a=a.replace(G,".");const r=a.split("."),p=U(r,i).join(".");return n+p}function L(a){const i=[];l
124.5
124.5 SyntaxError: Unexpected token ...
124.5     at exports.runInThisContext (vm.js:53:16)
124.5     at Module._compile (module.js:373:25)
124.5     at Object.Module._extensions..js (module.js:416:10)
124.5     at Module.load (module.js:343:32)
124.5     at Function.Module._load (module.js:300:12)
124.5     at Module.require (module.js:353:17)
124.5     at require (internal/module.js:12:17)
124.5     at Object.<anonymous> (/usr/lib/node_modules/node-sass/node_modules/request/node_modules/tough-cookie/lib/pubsuffix-psl.js:32:11)
124.5     at Module._compile (module.js:409:26)
124.5     at Object.Module._extensions..js (module.js:416:10)
124.5 npm ERR! Linux 6.8.0-51-generic
124.5 npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "[email protected]" "[email protected]" "requirejs" "uglify-js"
124.5 npm ERR! node v4.8.7
124.5 npm ERR! npm  v2.15.11
124.5 npm ERR! code ELIFECYCLE
124.5
124.5 npm ERR! [email protected] install: `node scripts/install.js`
124.5 npm ERR! Exit status 1
124.5 npm ERR!
124.5 npm ERR! Failed at the [email protected] install script 'node scripts/install.js'.
124.5 npm ERR! This is most likely a problem with the node-sass package,
124.5 npm ERR! not with npm itself.
124.5 npm ERR! Tell the author that this fails on your system:
124.5 npm ERR!     node scripts/install.js
124.5 npm ERR! You can get information on how to open an issue for this project with:
124.5 npm ERR!     npm bugs node-sass
124.5 npm ERR! Or if that isn't available, you can get their info via:
124.5 npm ERR!
124.5 npm ERR!     npm owner ls node-sass
124.5 npm ERR! There is likely additional logging output above.
124.9
124.9 npm ERR! Please include the following file with any support request:
124.9 npm ERR!     /npm-debug.log
------
failed to solve: process "/bin/sh -c /tmp/provision-web.sh" did not complete successfully: exit code: 1

And also I tried develop branch, It outputs

174.8 ERROR in ./js/invenio_search_ui/util.js
174.8 Module not found: Error: Can't resolve '@js/invenio_theme/templates' in '/home/invenio/.virtualenvs/invenio/var/instance/assets/js/invenio_search_ui'
174.8  @ ./js/invenio_search_ui/util.js 15:0-61 41:4-18
174.8  @ ./js/invenio_search_ui/app.js
174.8

Finally, I succeed build branches develop_v1.1.0 and develop_v1.0.9b.

Best regards.

branch name hash
main 5518d16
develop 5b62701
develop_v1.1.0 d784f34
develop_v1.0.9b 51934b2

Environment.

  • OS: Ubuntu 22.04
  • Docker: 27.5.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant