Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
1
1-tracer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container 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
SO2
1-tracer
Commits
39e73a0e
Commit
39e73a0e
authored
2 years ago
by
Dragoș-Iulian ARGINT (94922)
Browse files
Options
Downloads
Patches
Plain Diff
Update checker.sh and pipeline
Signed-off-by:
Dragos Iulian ARGINT
<
dragos.argint@stud.acs.upb.ro
>
parent
ae716999
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-1
2 additions, 1 deletion
.gitlab-ci.yml
checker/checker.sh
+9
-3
9 additions, 3 deletions
checker/checker.sh
with
11 additions
and
4 deletions
.gitlab-ci.yml
+
2
−
1
View file @
39e73a0e
...
...
@@ -10,6 +10,7 @@ variables:
CONTAINER_RELEASE_IMAGE
:
$CI_REGISTRY_IMAGE:latest
DOCKER_HOST
:
tcp://docker:2375
DOCKER_TLS_CERTDIR
:
"
"
ASSIGNMENT
:
0-list
build
:
...
...
@@ -28,4 +29,4 @@ checker:
image
:
name
:
gitlab.cs.pub.ro:5050/so2/0-list
script
:
-
echo ""
-
./checker/checker.sh $ASSIGNMENT
This diff is collapsed.
Click to expand it.
checker/checker.sh
+
9
−
3
View file @
39e73a0e
...
...
@@ -32,10 +32,16 @@ run_checker()
local
module_path
=
"
${
assignment_dir
}
/
${
assignment_mod
}
"
echo
"Copying the contents of src/ into
$assignment_dir
"
cp
src/
*
$assignment_dir
echo
"Checking if
$assignment_mod
exists before build"
if
[
-f
$module_path
]
;
then
echo
"
$assignment_mod
shouldn't exists. Removing
${
module_path
}
"
rm
$module_path
fi
pushd
/linux/tools/labs
if
[
-f
$module_path
]
;
then
echo
"Removing
${
module_path
}
"
fi
if
[
-f
$output
]
;
then
echo
"Removing
$output
"
rm
$output
&> /dev/null
...
...
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