Commit 3670edbf authored by Martin Lowe's avatar Martin Lowe 🇨🇦
Browse files

Add missing tsc conf to Gitlab docker image

parent 59be1322
......@@ -20,13 +20,16 @@ ARG PROVIDER=oauth2_generic
ENV PROVIDER ${PROVIDER:-oauth2_generic}
ARG HOST=https://gitlab-test.eclipse.org
ENV HOST ${HOST:-https://gitlab-test.eclipse.org}
ARG ROOT_GROUP=eclipse
ENV ROOT_GROUP ${ROOT_GROUP:-eclipse}
## Copy over required script files
COPY src src/
## Copy NPM configs and install dependencies
COPY package*.json ./
COPY tsconfig.json ./
RUN npm ci
## run the script
CMD npm run lab-sync -- --verbose=$VERBOSE_VAL --dryrun=$DRYRUN --provider=$PROVIDER --host=$HOST --tls-min-v1.0
CMD npm run lab-sync -- --verbose=$VERBOSE_VAL --dryrun=$DRYRUN --provider=$PROVIDER --host=$HOST --rootGroup=$ROOT_GROUP --tls-min-v1.0
This diff is collapsed.
......@@ -11,7 +11,7 @@
"start": "node src/Sync.js -c",
"pretest": "eslint --ignore-path .gitignore .",
"test": "mocha --timeout 60000 && mocha --config=./test/ts/.mocharc.json --timeout 60000",
"lab-sync": "ts-node src/scripts/gl/GitlabSync.ts -c",
"lab-sync": "ts-node -v && ts-node src/scripts/gl/GitlabSync.ts",
"import-backup": "node src/auto_backup/Import.js"
},
"license": "EPL-2.0",
......@@ -33,6 +33,7 @@
"openid-client": "^3.15.6",
"parse-link-header": "^2.0.0",
"simple-oauth2": "^4.1.0",
"typescript": "^4.6.4",
"ts-node": "^10.7.0",
"uuid": "^8.3.2",
"winston": "3.2.1",
......@@ -51,7 +52,6 @@
"eslint-config-strongloop": "^2.1.0",
"faker": "^5.5.3",
"mocha": "^7.0.1",
"sinon": "^10.0.0",
"typescript": "^4.6.4"
"sinon": "^10.0.0"
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment