Skip to content

Commit 134afa2

Browse files
authored
Remove performance check pipeline git diff step and git submodule (#2441)
1 parent 1d4947a commit 134afa2

File tree

4 files changed

+3
-20
lines changed

4 files changed

+3
-20
lines changed

.buildkite/perf/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/ClimaCoupler.jl

.buildkite/perf/ClimaCoupler.jl

Lines changed: 0 additions & 1 deletion
This file was deleted.

.buildkite/perf/pipeline.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,17 @@ env:
1010
GKSwstype: 100
1111
SLURM_KILL_BAD_EXIT: 1
1212
COUPLER_PATH: ".buildkite/perf/ClimaCoupler.jl"
13+
COUPLER_COMMIT: "74e724d8d86c216b90f0bd4dbaf2ec8d0eb63c36"
1314
CONFIG_PATH: "$COUPLER_PATH/config/nightly_configs"
1415
BENCHMARK_CONFIG_PATH: "$COUPLER_PATH/config/benchmark_configs"
1516

1617
timeout_in_minutes: 840
1718

1819
steps:
19-
- label: "Check if pipeline should run :mag:"
20-
key: "check_changes"
21-
soft_fail: true
22-
command:
23-
- git submodule update --init --recursive .buildkite/perf/ClimaCoupler.jl
24-
- |
25-
# Check if files in src, ext, or .buildkite/perf have changed
26-
if git diff --quiet origin/main...HEAD -- src ext .buildkite/perf; then
27-
echo "⏭️ No relevant changes detected, skipping downstream checks"
28-
exit 1
29-
else
30-
echo "✅ Relevant changes detected, running downstream checks"
31-
exit 0
32-
fi
33-
3420
- label: "init :GPU:"
3521
key: "init_gpu_env"
36-
depends_on: "check_changes"
3722
command:
23+
- git clone https://github.com/CliMA/ClimaCoupler.jl.git $COUPLER_PATH && bash -c "cd $COUPLER_PATH && git checkout $COUPLER_COMMIT"
3824
- "echo $$JULIA_DEPOT_PATH"
3925
- echo "--- Instantiate AMIP env"
4026
# Instantiate and dev install ClimaCore

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
[submodule ".buildkite/perf/ClimaCoupler.jl"]
2-
path = .buildkite/perf/ClimaCoupler.jl
3-
url = https://github.com/CliMA/ClimaCoupler.jl.git

0 commit comments

Comments
 (0)