-
Bug
-
Resolution: Done
-
Blocker
-
2.0.0.GA
-
None
Got this today:
[5/5] Building fresh packages... error /home/theia-dev/theia-source-code/node_modules/vscode-ripgrep: Command failed. Exit code: 1 Command: node ./lib/postinstall.js Arguments: Directory: /home/theia-dev/theia-source-code/node_modules/vscode-ripgrep Output: Downloading ripgrep failed: Error: API rate limit exceeded for 66.187.233.202. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.) info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. The command '/bin/sh -c if [ -z $GITHUB_TOKEN ]; then unset GITHUB_TOKEN; fi && yarn ${YARN_FLAGS}' returned a non-zero code: 1
Seems that while the token is passed to some build.sh script...
+ bash ./build.sh --dockerfile:Dockerfile.ubi8 --skip-tests --dry-run --build-args:GITHUB_TOKEN=foobarbazhere,DO_REMOTE_CHECK=false,DO_CLEANUP=false --tag:next --branch:v0.12.0 --target:builder Setting GITHUB_TOKEN value from provided variable Compresing 'che-theia' --> /mnt/hudson_workspace/workspace/crw-theia_master/crw-theia/tmp/che-theia/dockerfiles/theia/asset-che-theia.tar.gz
... it's not passed to docker itself:
Building Docker Image eclipse/che-theia:next (target ubi8) from /mnt/hudson_workspace/workspace/crw-theia_master/crw-theia/tmp/che-theia/dockerfiles/theia directory with tag next Filter lines with the IF DO_REMOTE_CHECK Filter lines with the IF DO_CLEANUP Build of eclipse/che-theia:next [OK] Script run successfully: eclipse/che-theia:next + cp .Dockerfile .ubi8-dockerfile + docker build -f .ubi8-dockerfile -t che-theia-builder:tmp --target builder . --squash --no-cache Sending build context to Docker daemon 7.614MB Step 1/25 : FROM eclipse/che-theia-dev:next as builder ---> 8365158a7fde Step 2/25 : WORKDIR ${HOME} ---> Running in 6507983c457e Removing intermediate container 6507983c457e ---> b1c368e9082c Step 3/25 : ARG GITHUB_TOKEN='' ---> Running in 158bb66b004c Removing intermediate container 158bb66b004c ---> bb7219751fb1 Step 4/25 : ENV GITHUB_TOKEN=$GITHUB_TOKEN ---> Running in ed0e31035e56 Removing intermediate container ed0e31035e56 ---> 2225b11b45e7