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
4300a7ec
Commit
4300a7ec
authored
1 year ago
by
Wakefield, Rob
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into 'production'
Master See merge request
!15
parents
73a7a89d
64ccc609
No related branches found
No related tags found
4 merge requests
!53
Cv upload
,
!49
Master
,
!35
Create pages from mockups and link with Prisma
,
!15
Master
Pipeline
#419847
passed
1 year ago
Stage: build
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.prod-ci.yml
+4
-4
4 additions, 4 deletions
.prod-ci.yml
src/app/studentDashboard/page.js
+2
-2
2 additions, 2 deletions
src/app/studentDashboard/page.js
with
6 additions
and
6 deletions
.prod-ci.yml
+
4
−
4
View file @
4300a7ec
...
...
@@ -18,26 +18,26 @@ build-job: # This job runs in the build stage, which runs first.
-
npm run build
-
chmod u+x node_modules
tags
:
-
pro
d-runner
# Use the runner with correct tag to run this pipeline
-
buil
d-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
:
-
prod
-runner
# Use the runner with correct tag to run this pipeline
-
test
-runner
# Use the runner with correct tag to run this pipeline
deploy-job
:
# This job runs in the deploy stage.
stage
:
deploy
# It only runs when *all* jobs in the test stage complete successfully.
environment
:
production
script
:
-
export PORT=80
-
touch ./next.log
-
export PORT=80
-
sudo fuser -k $PORT/tcp ||
true
# Kill any process running on $PORT
-
sudo npm run start $PORT > ./next.log 2>&1 &
# Run the web app
artifacts
:
paths
:
-
next.log
# Keep output from deploy as artifact
tags
:
-
prod
-runner
# Use the runner with correct tag to run this pipeline
-
deploy
-runner
# Use the runner with correct tag to run this pipeline
This diff is collapsed.
Click to expand it.
src/app/studentDashboard/page.js
+
2
−
2
View file @
4300a7ec
...
...
@@ -11,7 +11,7 @@ function studentDashboard() {
<
main
className
=
"
studentDashboard
"
>
<
Nav
fill
className
=
"
justify-content-center
"
activeKey
=
"
/home
"
>
<
Nav
.
Item
>
<
h6
>
3
Requirement
Matched
<
/h6
>
<
h6
>
3
Requirement
s
Matched
<
/h6
>
<
/Nav.Item
>
<
Nav
.
Item
>
<
h4
>
Your
Application
<
/h4
>
...
...
@@ -53,4 +53,4 @@ function studentDashboard() {
);
}
export
default
studentDashboard
;
\ No newline at end of file
export
default
studentDashboard
;
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