Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
blendb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Harbor Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
C3SL
blendb
Commits
3da7d2b4
There was a problem fetching the pipeline summary.
Commit
3da7d2b4
authored
7 years ago
by
Lucas Fernandes de Oliveira
Browse files
Options
Downloads
Plain Diff
Merge branch 'issue/78' into 'develop'
Issue
#78
: Exchange NPM by equivalent tool: YARN See merge request
!62
parents
b6151cd2
ee73941b
No related branches found
No related tags found
1 merge request
!62
Issue #78: Exchange NPM by equivalent tool: YARN
Pipeline
#
Changes
3
Pipelines
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+3
-3
3 additions, 3 deletions
.gitlab-ci.yml
Dockerfile
+2
-1
2 additions, 1 deletion
Dockerfile
yarn.lock
+3218
-0
3218 additions, 0 deletions
yarn.lock
with
3223 additions
and
4 deletions
.gitlab-ci.yml
+
3
−
3
View file @
3da7d2b4
...
@@ -23,12 +23,12 @@ stages:
...
@@ -23,12 +23,12 @@ stages:
run_tests
:
run_tests
:
stage
:
test
stage
:
test
before_script
:
before_script
:
-
npm
install --
silent
-
yarn
install --
frozen-lockfile --silent --non-interactive
script
:
script
:
-
mv config/ci_test.yaml.example config/test.yaml
-
mv config/ci_test.yaml.example config/test.yaml
-
mv config/ci_test.env.example config/test.env
-
mv config/ci_test.env.example config/test.env
-
npm
test
-
yarn
test
-
npm
run lint
-
yarn
run lint
tags
:
tags
:
-
node
-
node
-
postgres
-
postgres
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
2
−
1
View file @
3da7d2b4
...
@@ -18,6 +18,7 @@ ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
...
@@ -18,6 +18,7 @@ ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
# where available (npm@5+)
# where available (npm@5+)
COPY
package*.json $WORKSPACE
COPY
package*.json $WORKSPACE
COPY
yarn.lock $WORKSPACE
RUN
\
RUN
\
chmod
+x /tini
&&
\
chmod
+x /tini
&&
\
chown
-R
node:node
$WORKSPACE
chown
-R
node:node
$WORKSPACE
...
@@ -25,7 +26,7 @@ RUN \
...
@@ -25,7 +26,7 @@ RUN \
USER
node
USER
node
WORKDIR
$WORKSPACE
WORKDIR
$WORKSPACE
RUN
npm
install
RUN
yarn
install
--frozen-lockfile
--silent
--non-interactive
# Bundle app source
# Bundle app source
# COPY copy files as root so chown must be used
# COPY copy files as root so chown must be used
...
...
This diff is collapsed.
Click to expand it.
yarn.lock
0 → 100644
+
3218
−
0
View file @
3da7d2b4
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment