Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DRP_45
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
Service Desk
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
Wakefield, Rob
DRP_45
Commits
bfe1e6eb
Commit
bfe1e6eb
authored
1 year ago
by
Wakefield, Rob
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into 'production'
Add shared runner dev CI See merge request
!9
parents
bbd5fefb
70c79e00
No related branches found
No related tags found
5 merge requests
!53
Cv upload
,
!49
Master
,
!35
Create pages from mockups and link with Prisma
,
!14
Separate build/test and deploy stage of production pipeline
,
!9
Add shared runner dev CI
Pipeline
#419246
passed
1 year ago
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.dev-ci.yml
+2
-4
2 additions, 4 deletions
.dev-ci.yml
with
2 additions
and
4 deletions
.dev-ci.yml
+
2
−
4
View file @
bfe1e6eb
...
...
@@ -4,6 +4,8 @@ cache: # Cache persists between pipelines
-
node_modules/
-
.next/
image
:
node:latest
stages
:
# List of stages for jobs, and their order of execution
-
build
-
test
...
...
@@ -14,13 +16,9 @@ build-job: # This job runs in the build stage, which runs first.
-
npm install
-
npm run build
-
chmod u+x node_modules
tags
:
-
dev-runner
# Use the runner with correct tag to run this pipeline
unit-test-job
:
# This job runs in the test stage.
stage
:
test
# It only starts when the job in the build stage completes successfully.
script
:
-
echo "Running unit tests..."
tags
:
-
dev-runner
# Use the runner with correct tag to run this pipeline
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