Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TDAT2004Task8
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
Container 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
Even Gultvedt
TDAT2004Task8
Commits
c962f9fe
Commit
c962f9fe
authored
5 years ago
by
Even Gultvedt
Browse files
Options
Downloads
Patches
Plain Diff
Final version
parent
76155746
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#80007
passed
5 years ago
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+17
-17
17 additions, 17 deletions
.gitlab-ci.yml
with
17 additions
and
17 deletions
.gitlab-ci.yml
+
17
−
17
View file @
c962f9fe
...
@@ -5,25 +5,25 @@ stages:
...
@@ -5,25 +5,25 @@ stages:
-
test
# Jobs placed in tets-stage will run after build-jobs
-
test
# Jobs placed in tets-stage will run after build-jobs
-
deploy
# Jobs placed in build-stage will run last after test-jobs
-
deploy
# Jobs placed in build-stage will run last after test-jobs
#
install:
install
:
#
stage: build
stage
:
build
#
script:
script
:
#
- npm install
-
npm install
#
# Keep node_modules-folder for the following stages:
# Keep node_modules-folder for the following stages:
#
artifacts:
artifacts
:
#
paths:
paths
:
#
- node_modules
-
node_modules
#
test:
test
:
#
stage: test # Job test will run in parallel with the job flow
stage
:
test
# Job test will run in parallel with the job flow
#
script:
script
:
#
- npm test
-
npm test
#
flow:
flow
:
#
stage: test # Job flow will run in parallel with the job test
stage
:
test
# Job flow will run in parallel with the job test
#
script:
script
:
#
- npm install --global flow-bin
-
npm install --global flow-bin
#
- flow check
-
flow check
deploy
:
deploy
:
stage
:
deploy
stage
:
deploy
...
...
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