Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
DevOps
Project Templates
Commits
6bd63008
Commit
6bd63008
authored
Jul 21, 2021
by
Georgi Petkov
Browse files
chore: implementing yarn install --network-timeout 300000 param
parent
26389880
Pipeline
#30953
passed with stages
in 31 seconds
Changes
7
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gitlab-ci/build-ignore-engines.yml
View file @
6bd63008
...
...
@@ -12,5 +12,5 @@ build:
-
build
script
:
-
yarn build
-
yarn install --frozen-lockfile --production --ignore-scripts
-
yarn install --frozen-lockfile --production --ignore-scripts
--network-timeout
300000
--ignore-engines
gitlab-ci/build-with-node-12.yml
View file @
6bd63008
...
...
@@ -12,5 +12,5 @@ build:
-
build
script
:
-
yarn build
-
yarn install --production --frozen-lockfile --ignore-scripts
-
yarn install --production --frozen-lockfile --ignore-scripts
--network-timeout
300000
--ignore-engines
gitlab-ci/build.yml
View file @
6bd63008
...
...
@@ -13,4 +13,4 @@ build:
script
:
-
node -v
-
yarn build
-
yarn install --frozen-lockfile --production --ignore-scripts --ignore-engines
-
yarn install --frozen-lockfile --production --ignore-scripts --ignore-engines
--network-timeout
300000
gitlab-ci/setup-ignore-engines.yml
View file @
6bd63008
...
...
@@ -6,4 +6,4 @@ setup:
-
.skip-artifacts
interruptible
:
true
script
:
-
yarn install --frozen-lockfile --ignore-engines
-
yarn install --frozen-lockfile --ignore-engines
--network-timeout
300000
gitlab-ci/setup.yml
View file @
6bd63008
...
...
@@ -7,4 +7,4 @@ setup:
interruptible
:
true
script
:
-
node -v
-
yarn install --frozen-lockfile --ignore-engines
-
yarn install --frozen-lockfile --ignore-engines
--network-timeout
300000
presets/cra/Dockerfile
View file @
6bd63008
...
...
@@ -11,7 +11,7 @@ ARG COMMIT_SHA
# dependencies when the package.json or yarn.lock change and can make
# full use of docker's layer caching
COPY
package.json yarn.lock .yarnclean /app/
RUN
yarn
install
--frozen-lockfile
RUN
yarn
install
--frozen-lockfile
--ignore-scripts
--network-timeout
300000
# Now copy the rest of the app into the container
COPY
. /app
...
...
presets/rest-api/Dockerfile
View file @
6bd63008
...
...
@@ -19,7 +19,7 @@ RUN mv /usr/bin/sops-${SOPS_LATEST_VERSION}.linux /usr/bin/sops && chmod +x /usr
# dependencies when the package.json or yarn.lock change and can make
# full use of docker's layer caching
COPY
package.json yarn.lock ./
RUN
yarn
install
--frozen-lockfile
RUN
yarn
install
--frozen-lockfile
--network-timeout
300000
# 2. Copy rest of the app after dependencies have been installed for a higher
# chance of not having to re-install the dependencies on every 'docker build'
...
...
@@ -27,7 +27,7 @@ COPY . .
RUN
yarn build
# Remove 'devDependencies' from final build to reduce app size
RUN
yarn
install
--frozen-lockfile
--production
--ignore-scripts
RUN
yarn
install
--frozen-lockfile
--production
--ignore-scripts
--network-timeout
300000
#################
# RUNTIME IMAGE #
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment