diff --git a/.esm-buildbot.yaml b/.esm-buildbot.yaml new file mode 100644 index 000000000..643c1c113 --- /dev/null +++ b/.esm-buildbot.yaml @@ -0,0 +1,41 @@ +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 +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 clone --no-checkout https://jugit.fz-juelich.de/esm-buildbot/ESMBuildbot.git builder + env: + work_dir: build + - name: clone the setup files + cmd: git sparse-checkout init --cone + env: + work_dir: build/builder + - name: git sparse-checkout folder + cmd: git sparse-checkout set BUILDER_MPTRAC_CPU + env: + work_dir: build/builder + - name: git sparse-checkout the files + cmd: git checkout @ + env: + work_dir: build/builder + - name: move files + cmd: cp BUILDER_MPTRAC_CPU/build.sh ../. + env: + work_dir: build/builder + - name: build mptrac + cmd: sh build.sh + env: + work_dir: