Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
netvs-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Insights
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
scc-net
netvs
netvs-core
Commits
f291b495
Commit
f291b495
authored
3 months ago
by
!! Julian Keck (old Account; do not use) !!
Browse files
Options
Downloads
Patches
Plain Diff
UPD: use pnpm for ci
parent
0bc310be
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#394643
failed
3 months ago
Stage: build
Stage: lint
Stage: deploy
Stage: e2e
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+6
-5
6 additions, 5 deletions
.gitlab-ci.yml
package-lock.json
+0
-19276
0 additions, 19276 deletions
package-lock.json
with
6 additions
and
19281 deletions
.gitlab-ci.yml
+
6
−
5
View file @
f291b495
...
@@ -25,7 +25,8 @@ before_script:
...
@@ -25,7 +25,8 @@ before_script:
# - sed -i "s&__COMMIT_SHORT_SHA__&${CI_COMMIT_SHORT_SHA}&g" netvs.config.js
# - sed -i "s&__COMMIT_SHORT_SHA__&${CI_COMMIT_SHORT_SHA}&g" netvs.config.js
# - sed -i "s&__JOB_ID__&${CI_JOB_ID}&g" public/version.json
# - sed -i "s&__JOB_ID__&${CI_JOB_ID}&g" public/version.json
# - sed -i "s&__COMMIT_SHORT_SHA__&${CI_COMMIT_SHORT_SHA}&g" public/version.json
# - sed -i "s&__COMMIT_SHORT_SHA__&${CI_COMMIT_SHORT_SHA}&g" public/version.json
-
if [[ $CI_JOB_STAGE != "deploy" ]]; then npm ci --cache .npm_ci --prefer-offline; fi
-
if [[ $CI_JOB_STAGE != "deploy" ]]; then npm i @pnpm/exe; fi
-
if [[ $CI_JOB_STAGE != "deploy" ]]; then ./node_modules/\@pnpm/linux-x64/pnpm ci --cache .npm_ci --prefer-offline; fi
-
export NETDB_VERSION="4.1"
-
export NETDB_VERSION="4.1"
stages
:
stages
:
-
build
-
build
...
@@ -39,7 +40,7 @@ frontend-build:
...
@@ -39,7 +40,7 @@ frontend-build:
# TODO:
# TODO:
# - python3 build_swagger.py
# - python3 build_swagger.py
# - /venv/bin/net-api-generator es-webpack
# - /venv/bin/net-api-generator es-webpack
-
npm run build
-
./node_modules/\@pnpm/linux-x64/p
npm run build
artifacts
:
artifacts
:
expire_in
:
7 days
expire_in
:
7 days
paths
:
paths
:
...
@@ -50,7 +51,7 @@ frontend-build:
...
@@ -50,7 +51,7 @@ frontend-build:
frontend-lint
:
frontend-lint
:
stage
:
lint
stage
:
lint
script
:
script
:
-
npm run lint
-
./node_modules/\@pnpm/linux-x64/p
npm run lint
allow_failure
:
true
allow_failure
:
true
needs
:
[]
needs
:
[]
interruptible
:
true
interruptible
:
true
...
@@ -58,7 +59,7 @@ frontend-lint:
...
@@ -58,7 +59,7 @@ frontend-lint:
frontend-audit
:
frontend-audit
:
stage
:
lint
stage
:
lint
script
:
script
:
-
npm audit --audit-level high
-
./node_modules/\@pnpm/linux-x64/p
npm audit --audit-level high
allow_failure
:
true
allow_failure
:
true
needs
:
[]
needs
:
[]
interruptible
:
true
interruptible
:
true
...
@@ -88,7 +89,7 @@ e2e_chrome:
...
@@ -88,7 +89,7 @@ e2e_chrome:
-
curl -s https://dl.google.com/linux/linux_signing_key.pub | apt-key add -
-
curl -s https://dl.google.com/linux/linux_signing_key.pub | apt-key add -
-
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/chrome.list
-
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/chrome.list
-
apt-get -y update && apt-get -y install google-chrome-stable
-
apt-get -y update && apt-get -y install google-chrome-stable
-
npm run test:e2e --env chrome
-
./node_modules/\@pnpm/linux-x64/p
npm run test:e2e --env chrome
needs
:
[
"
frontend-build"
]
needs
:
[
"
frontend-build"
]
allow_failure
:
true
allow_failure
:
true
artifacts
:
artifacts
:
...
...
This diff is collapsed.
Click to expand it.
package-lock.json
deleted
100644 → 0
+
0
−
19276
View file @
0bc310be
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