Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
oetzit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
commul
oetzit
Commits
5d79b694
Commit
5d79b694
authored
3 years ago
by
Paolo.Brasolin
Browse files
Options
Downloads
Patches
Plain Diff
ci: sketch check jobs
parent
fd0397e3
No related branches found
No related tags found
No related merge requests found
Pipeline
#23200
failed
3 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+53
-14
53 additions, 14 deletions
.gitlab-ci.yml
with
53 additions
and
14 deletions
.gitlab-ci.yml
+
53
−
14
View file @
5d79b694
...
@@ -10,9 +10,8 @@ stages:
...
@@ -10,9 +10,8 @@ stages:
#==[ Prepare node ]=============================================================
#==[ Prepare node ]=============================================================
f
e-cach
e-node-job
:
.
fe-node-job
:
image
:
node:16-alpine
image
:
node:16-alpine
stage
:
setup
tags
:
tags
:
-
commul
-
commul
cache
:
cache
:
...
@@ -21,36 +20,76 @@ fe-cache-node-job:
...
@@ -21,36 +20,76 @@ fe-cache-node-job:
-
frontend/package-lock.json
-
frontend/package-lock.json
paths
:
paths
:
-
frontend/.npm/
-
frontend/.npm/
script
:
before_
script
:
-
cd frontend
-
cd frontend
-
npm ci --cache .npm --prefer-offline
-
npm ci --cache .npm --prefer-offline
only
:
only
:
-
tags
-
tags
-
development
-
development
#==[ Frontend checks ]==========================================================
.be-node-job
:
fe-check-node-job
:
needs
:
-
fe-cache-node-job
image
:
node:16-alpine
image
:
node:16-alpine
stage
:
check
tags
:
tags
:
-
commul
-
commul
cache
:
cache
:
key
:
key
:
files
:
files
:
-
front
end/package-lock.json
-
back
end/package-lock.json
paths
:
paths
:
-
front
end/.npm/
-
back
end/.npm/
script
:
before_
script
:
-
cd
front
end
-
cd
back
end
-
npm ci --cache .npm --prefer-offline
-
npm ci --cache .npm --prefer-offline
-
npm run test
only
:
only
:
-
tags
-
tags
-
development
-
development
fe-cache-node-job
:
extends
:
.fe-node-job
stage
:
setup
be-cache-node-job
:
extends
:
.be-node-job
stage
:
setup
#==[ Frontend checks ]==========================================================
fe-lint-node-job
:
extends
:
.fe-node-job
stage
:
check
needs
:
-
fe-cache-node-job
script
:
-
cd frontend
-
npm run style:check
fe-test-node-job
:
extends
:
.fe-node-job
stage
:
check
needs
:
-
fe-cache-node-job
script
:
-
cd frontend
-
npm run test
be-lint-node-job
:
extends
:
.be-node-job
stage
:
check
needs
:
-
be-cache-node-job
script
:
-
cd backend
-
npm run style:check
be-test-node-job
:
extends
:
.be-node-job
stage
:
check
needs
:
-
be-cache-node-job
script
:
-
cd backend
-
npm run test
#==[ Backend build ]============================================================
#==[ Backend build ]============================================================
# TODO: cache docker layers
# TODO: cache docker layers
...
...
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