Skip to content

Commit aead278

Browse files
Merge pull request #6348 from topcoder-platform/circleci-fix
CircleCI Git URL fix
2 parents 0a397bb + 926798b commit aead278

File tree

3 files changed

+5266
-5285
lines changed

3 files changed

+5266
-5285
lines changed

.circleci/config.yml

+3
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,9 @@ jobs:
287287
- checkout
288288
- restore_cache:
289289
key: test-node-modules-{{ checksum "package-lock.json" }}
290+
- run:
291+
name: Config Git
292+
command: git config --global url."https://git@".insteadOf git://
290293
- run:
291294
name: App npm install
292295
command: npm install

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ ENV OPTIMIZELY_SDK_KEY=$OPTIMIZELY_SDK_KEY
147147
# Testing and build of the application inside the container.
148148

149149
RUN npm config set unsafe-perm true
150+
RUN git config --global url."https://git@".insteadOf git://
150151
RUN npm install
151152
RUN npm test
152153
RUN npm run build

0 commit comments

Comments
 (0)