From c89bfc3c1d960452a852546f91eddf2530ee57f4 Mon Sep 17 00:00:00 2001 From: Yen-Sen Lu Date: Fri, 31 May 2024 14:39:23 +0200 Subject: [PATCH 1/9] adding the yaml file for esm-buildbot --- .esm-buildbot.yaml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .esm-buildbot.yaml diff --git a/.esm-buildbot.yaml b/.esm-buildbot.yaml new file mode 100644 index 000000000..2ec5317d6 --- /dev/null +++ b/.esm-buildbot.yaml @@ -0,0 +1,46 @@ +title : esm-bb for buildbot +builder: MPTRAC_ESMBB +worker: ESM_JUWELS +scheduler: + - FORCE + - CHANGE +branch: master +poll-interval: 3600 +time-out: 3600 +steps: + - name: remove the external setup files + cmd: rm -fr builder + env: + work_dir: build + - name: clone the setup files + cmd: git sparse-checkout init --cone + env: + work_dir: build + - name: git sparse-checkout init + cmd: git sparse-checkout set BUILDER_MPTRAC_ESMBB + env: + work_dir: build/builder + - name: git sparse-checkout folder + cmd: git sparse-checkout set BUILDER_MPTRAC_GPU + env: + work_dir: build/builder + - name: git sparse-checkout the files + cmd: git checkout @ + env: + work_dir: build/builder + - name: move files + cmd: mv BUILDER_MPTRAC_GPU/{prebuild,build.sh,test.sh} ../. + env: + work_dir: build/builder + - name: pre-build for the external libraries" + cmd: sh prebuild.sh + env: + work_dir: build + - name: build mptrac + cmd: sh build.sh + env: + work_dir: + - name: test mptrac + cmd: sh test.sh + env: + work_dir: From b46580a3f4f4f3825c0f1d202aaa0f2d98d7eb22 Mon Sep 17 00:00:00 2001 From: "Y.-S. Lu" <6347935+hydrogencl@users.noreply.github.com> Date: Thu, 20 Jun 2024 11:02:01 +0200 Subject: [PATCH 2/9] Update .esm-buildbot.yaml for using a list of branch --- .esm-buildbot.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.esm-buildbot.yaml b/.esm-buildbot.yaml index 2ec5317d6..298e6f8bd 100644 --- a/.esm-buildbot.yaml +++ b/.esm-buildbot.yaml @@ -4,7 +4,8 @@ worker: ESM_JUWELS scheduler: - FORCE - CHANGE -branch: master +branch: + - master poll-interval: 3600 time-out: 3600 steps: From 9e44ded8a126c3879dea05edcdd36481e63bc3f3 Mon Sep 17 00:00:00 2001 From: "Y.-S. Lu" <6347935+hydrogencl@users.noreply.github.com> Date: Thu, 20 Jun 2024 11:27:50 +0200 Subject: [PATCH 3/9] adding back git-repo for .esm-buildbot.yaml --- .esm-buildbot.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.esm-buildbot.yaml b/.esm-buildbot.yaml index 298e6f8bd..a1a192c3b 100644 --- a/.esm-buildbot.yaml +++ b/.esm-buildbot.yaml @@ -1,4 +1,5 @@ title : esm-bb for buildbot +git-repository: https://github.com/slcs-jsc/mptrac.git builder: MPTRAC_ESMBB worker: ESM_JUWELS scheduler: From 9c8d8b736a3d607a7315ebe99ab4ecd7e62a2246 Mon Sep 17 00:00:00 2001 From: "Y.-S. Lu" <6347935+hydrogencl@users.noreply.github.com> Date: Thu, 20 Jun 2024 13:05:31 +0200 Subject: [PATCH 4/9] Update .esm-buildbot.yaml --- .esm-buildbot.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.esm-buildbot.yaml b/.esm-buildbot.yaml index a1a192c3b..8511c16ea 100644 --- a/.esm-buildbot.yaml +++ b/.esm-buildbot.yaml @@ -2,6 +2,7 @@ title : esm-bb for buildbot git-repository: https://github.com/slcs-jsc/mptrac.git builder: MPTRAC_ESMBB worker: ESM_JUWELS +project: MPTRAC scheduler: - FORCE - CHANGE From 355064d98b716f16c6232b386d52fd4937dc359e Mon Sep 17 00:00:00 2001 From: "Y.-S. Lu" <6347935+hydrogencl@users.noreply.github.com> Date: Thu, 20 Jun 2024 13:12:31 +0200 Subject: [PATCH 5/9] Update .esm-buildbot.yaml --- .esm-buildbot.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.esm-buildbot.yaml b/.esm-buildbot.yaml index 8511c16ea..83615cd7d 100644 --- a/.esm-buildbot.yaml +++ b/.esm-buildbot.yaml @@ -20,11 +20,11 @@ steps: env: work_dir: build - name: git sparse-checkout init - cmd: git sparse-checkout set BUILDER_MPTRAC_ESMBB + cmd: git sparse-checkout set BUILDER_MPTRAC_CPU env: work_dir: build/builder - name: git sparse-checkout folder - cmd: git sparse-checkout set BUILDER_MPTRAC_GPU + cmd: git sparse-checkout set BUILDER_MPTRAC_CPU env: work_dir: build/builder - name: git sparse-checkout the files From 13dd12f1cea8890fd093e87ad02128bbda190481 Mon Sep 17 00:00:00 2001 From: "Y.-S. Lu" <6347935+hydrogencl@users.noreply.github.com> Date: Thu, 20 Jun 2024 13:22:29 +0200 Subject: [PATCH 6/9] Update .esm-buildbot.yaml --- .esm-buildbot.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.esm-buildbot.yaml b/.esm-buildbot.yaml index 83615cd7d..f967e0a3e 100644 --- a/.esm-buildbot.yaml +++ b/.esm-buildbot.yaml @@ -32,7 +32,7 @@ steps: env: work_dir: build/builder - name: move files - cmd: mv BUILDER_MPTRAC_GPU/{prebuild,build.sh,test.sh} ../. + cmd: mv BUILDER_MPTRAC_CPU/{prebuild,build.sh,test.sh} ../. env: work_dir: build/builder - name: pre-build for the external libraries" From f290943d4b5df820f00e90b6e72ce55963955154 Mon Sep 17 00:00:00 2001 From: "ye.lu" Date: Thu, 20 Jun 2024 13:31:47 +0200 Subject: [PATCH 7/9] updating the yaml steps --- .esm-buildbot.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.esm-buildbot.yaml b/.esm-buildbot.yaml index f967e0a3e..8e60db882 100644 --- a/.esm-buildbot.yaml +++ b/.esm-buildbot.yaml @@ -16,11 +16,11 @@ steps: env: work_dir: build - name: clone the setup files - cmd: git sparse-checkout init --cone + cmd: git clone --no-checkout https://jugit.fz-juelich.de/esm-buildbot/ESMBuildbot.git builder env: work_dir: build - - name: git sparse-checkout init - cmd: git sparse-checkout set BUILDER_MPTRAC_CPU + - name: clone the setup files + cmd: git sparse-checkout init --cone env: work_dir: build/builder - name: git sparse-checkout folder From e69bf6582834fedbcab5ebaafa9a0b29a4ee8383 Mon Sep 17 00:00:00 2001 From: "ye.lu" Date: Thu, 20 Jun 2024 13:40:14 +0200 Subject: [PATCH 8/9] modified the build script --- .esm-buildbot.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.esm-buildbot.yaml b/.esm-buildbot.yaml index 8e60db882..04157eb31 100644 --- a/.esm-buildbot.yaml +++ b/.esm-buildbot.yaml @@ -32,7 +32,7 @@ steps: env: work_dir: build/builder - name: move files - cmd: mv BUILDER_MPTRAC_CPU/{prebuild,build.sh,test.sh} ../. + cmd: cp BUILDER_MPTRAC_CPU/build.sh ../. env: work_dir: build/builder - name: pre-build for the external libraries" From 7f49f54de2491730794604950498a5c3b9a44e5c Mon Sep 17 00:00:00 2001 From: "ye.lu" Date: Thu, 20 Jun 2024 13:46:55 +0200 Subject: [PATCH 9/9] updating the steps --- .esm-buildbot.yaml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.esm-buildbot.yaml b/.esm-buildbot.yaml index 04157eb31..643c1c113 100644 --- a/.esm-buildbot.yaml +++ b/.esm-buildbot.yaml @@ -35,15 +35,7 @@ steps: cmd: cp BUILDER_MPTRAC_CPU/build.sh ../. env: work_dir: build/builder - - name: pre-build for the external libraries" - cmd: sh prebuild.sh - env: - work_dir: build - name: build mptrac cmd: sh build.sh env: work_dir: - - name: test mptrac - cmd: sh test.sh - env: - work_dir: