Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
Microbenchmarks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Jira
Code
Merge requests
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
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mattia Mancini
Microbenchmarks
Commits
a51b14c1
Commit
a51b14c1
authored
May 10, 2024
by
Mattia Mancini
Browse files
Options
Downloads
Patches
Plain Diff
Only run build if docker compose is changed
parent
32ad4d1c
No related branches found
No related tags found
1 merge request
!3
Add test for matrix
Pipeline
#81442
passed
May 10, 2024
Stage: prepare
Stage: build
Stage: test
Stage: benchmark
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+4
-4
4 additions, 4 deletions
.gitlab-ci.yml
with
4 additions
and
4 deletions
.gitlab-ci.yml
+
4
−
4
View file @
a51b14c1
...
@@ -19,6 +19,9 @@ docker-base:
...
@@ -19,6 +19,9 @@ docker-base:
-
cd docker
-
cd docker
-
docker build --pull -t "$CI_REGISTRY_IMAGE:latest" .
-
docker build --pull -t "$CI_REGISTRY_IMAGE:latest" .
-
docker push "$CI_REGISTRY_IMAGE:latest"
-
docker push "$CI_REGISTRY_IMAGE:latest"
except
:
changes
:
-
docker/Dockerfile
.build_das6
:
.build_das6
:
before_script
:
before_script
:
...
@@ -36,7 +39,6 @@ docker-base:
...
@@ -36,7 +39,6 @@ docker-base:
-
make -C build -j
-
make -C build -j
-
build/microbenchmarks --benchmark_out=results-generic.json --benchmark_out_format=json
-
build/microbenchmarks --benchmark_out=results-generic.json --benchmark_out_format=json
build-job
:
# This job runs in the build stage, which runs first.
build-job
:
# This job runs in the build stage, which runs first.
stage
:
build
stage
:
build
image
:
"
$CI_REGISTRY_IMAGE:latest"
image
:
"
$CI_REGISTRY_IMAGE:latest"
...
@@ -57,8 +59,6 @@ collect-performance: # This job runs in the test stage.
...
@@ -57,8 +59,6 @@ collect-performance: # This job runs in the test stage.
tags
:
tags
:
-
das6-gpu
-
das6-gpu
stage
:
benchmark
# It only starts when the job in the build stage completes successfully.
stage
:
benchmark
# It only starts when the job in the build stage completes successfully.
dependencies
:
-
build-job
extends
:
extends
:
-
.build_das6
-
.build_das6
script
:
script
:
...
...
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