Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DojoAssignmentChecker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External 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
Dojo Project (HES-SO)
Projects
Pipelines
DojoAssignmentChecker
Commits
8f57a242
Commit
8f57a242
authored
1 year ago
by
michael.minelli
Browse files
Options
Downloads
Patches
Plain Diff
CI/CD => Rename executable for test
parent
0525ab6b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#27044
passed
1 year ago
Stage: code_quality
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
AssignmentChecker/.gitlab-ci/01_functions.yml
+6
-0
6 additions, 0 deletions
AssignmentChecker/.gitlab-ci/01_functions.yml
with
6 additions
and
0 deletions
AssignmentChecker/.gitlab-ci/01_functions.yml
+
6
−
0
View file @
8f57a242
...
@@ -61,6 +61,12 @@
...
@@ -61,6 +61,12 @@
fi
fi
-
cd ..
-
cd ..
# Rename executable for test
-
|
if [[ $IS_TEST == true ]]; then
sed -i -r "s%dojo_assignment_checker%dojo-test_assignment_checker%g" $DOCKERFILE
fi
# Need to build for each platform separately because of multi-stage builds (docker buildx don't use cache same way as docker build)
# Need to build for each platform separately because of multi-stage builds (docker buildx don't use cache same way as docker build)
-
>
-
>
platform_array=$(echo $DOCKER_PLATFORMS | tr "," "\n");
platform_array=$(echo $DOCKER_PLATFORMS | tr "," "\n");
...
...
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