Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
idatt2106_2024_02_frontend
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
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
Show more breadcrumbs
IDATT2106 - Gruppe 2
idatt2106_2024_02_frontend
Merge requests
!3
Pipeline fix
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Pipeline fix
pipeline-fix
into
dev
Overview
0
Commits
19
Pipelines
1
Changes
4
Merged
Lars Mikkel Lødeng Nilsen
requested to merge
pipeline-fix
into
dev
1 year ago
Overview
0
Commits
19
Pipelines
1
Changes
4
Expand
0
0
Merge request reports
Compare
dev
dev (base)
and
latest version
latest version
56e0d636
19 commits,
1 year ago
4 files
+
324
−
32
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Some changes are not shown
For a faster browsing experience, some files are collapsed by default.
Expand all files
Files
4
Search (e.g. *.vue) (Ctrl+P)
.gitlab-ci.yml
+
63
−
23
Options
# You can override the included template(s) by including variable overrides
# SAST customization: https://docs.gitlab.com/ee/user/application_security/sast/#customizing-the-sast-settings
# Secret Detection customization: https://docs.gitlab.com/ee/user/application_security/secret_detection/pipeline/#customization
# Dependency Scanning customization: https://docs.gitlab.com/ee/user/application_security/dependency_scanning/#customizing-the-dependency-scanning-settings
# Container Scanning customization: https://docs.gitlab.com/ee/user/application_security/container_scanning/#customizing-the-container-scanning-settings
# Note that environment variables can be set in several places
# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
image
:
node:latest
stages
:
-
build
-
test
-
deploy
-
review
-
dast
-
staging
-
canary
-
production
-
incremental rollout 10%
-
incremental rollout 25%
-
incremental rollout 50%
-
incremental rollout 100%
-
performance
-
cleanup
sast
:
-
install
-
lint_and_format
-
build
-
test
-
security_scan
cache
:
key
:
${CI_COMMIT_REF_SLUG}
paths
:
-
node_modules/
install
:
stage
:
install
script
:
-
npm install
artifacts
:
paths
:
-
node_modules/
format-code
:
stage
:
lint_and_format
script
:
-
npm run format
lint-code
:
stage
:
lint_and_format
script
:
-
npm run lint
type-check
:
stage
:
build
script
:
-
npm run type-check
-
npm run build
unit-tests
:
stage
:
test
script
:
-
npm run test:unit
test:e2e
:
image
:
cypress/browsers:node16.14.2-slim-chrome100-ff99-edge
stage
:
test
script
:
-
npm ci --cache .npm --prefer-offline
-
npx cypress verify
-
npm run test:e2e
dependencies
:
-
install
test-coverage
:
stage
:
test
script
:
-
npm run test:coverage
include
:
-
template
:
Auto-DevOps.gitlab-ci.yml
-
template
:
SAST.gitlab-ci.yml
sast
:
stage
:
security_scan
script
:
-
echo "Running SAST..."
Loading