From f02421e179586b0c0f83a6c617dfa3378255ec0c Mon Sep 17 00:00:00 2001 From: bytemaster Date: Fri, 1 Mar 2019 13:16:50 +0800 Subject: [PATCH 1/5] rm failed pipelines --- .buildkite/pipeline.yml | 932 ++++++++++++++++++++-------------------- 1 file changed, 466 insertions(+), 466 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 1cd49460163..07856686298 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -1,30 +1,30 @@ steps: - - command: | - echo "--- Creating symbolic link to job directory :file_folder:" && \ - sleep 5 && ln -s "$(pwd)" /data/job && cd /data/job && \ - echo "+++ Building :hammer:" && \ - echo 1 | ./eosio_build.sh && \ - echo "--- Compressing build directory :compression:" && \ - tar -pczf build.tar.gz build/ - label: ":darwin: High Sierra Build" - agents: - - "role=macos-builder" - artifact_paths: "build.tar.gz" - timeout: 60 + # - command: | + # echo "--- Creating symbolic link to job directory :file_folder:" && \ + # sleep 5 && ln -s "$(pwd)" /data/job && cd /data/job && \ + # echo "+++ Building :hammer:" && \ + # echo 1 | ./eosio_build.sh && \ + # echo "--- Compressing build directory :compression:" && \ + # tar -pczf build.tar.gz build/ + # label: ":darwin: High Sierra Build" + # agents: + # - "role=macos-builder" + # artifact_paths: "build.tar.gz" + # timeout: 60 - - command: | - echo "--- Creating symbolic link to job directory :file_folder:" && \ - sleep 5 && ln -s "$(pwd)" /data/job && cd /data/job && \ - echo "+++ Building :hammer:" && \ - echo 1 | ./eosio_build.sh && \ - echo "--- Compressing build directory :compression:" && \ - tar -pczf build.tar.gz build/ - label: ":darwin: Mojave Build" - agents: - - "role=builder" - - "os=mojave" - artifact_paths: "build.tar.gz" - timeout: 60 + # - command: | + # echo "--- Creating symbolic link to job directory :file_folder:" && \ + # sleep 5 && ln -s "$(pwd)" /data/job && cd /data/job && \ + # echo "+++ Building :hammer:" && \ + # echo 1 | ./eosio_build.sh && \ + # echo "--- Compressing build directory :compression:" && \ + # tar -pczf build.tar.gz build/ + # label: ":darwin: Mojave Build" + # agents: + # - "role=builder" + # - "os=mojave" + # artifact_paths: "build.tar.gz" + # timeout: 60 - command: | echo "+++ :hammer: Building" && \ @@ -41,469 +41,469 @@ steps: workdir: /data/job timeout: 60 - - command: | - echo "+++ :hammer: Building" && \ - echo 1 | ./eosio_build.sh && \ - echo "--- :compression: Compressing build directory" && \ - tar -pczf build.tar.gz build/ - label: ":ubuntu: 18.04 Build" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: "build.tar.gz" - plugins: - docker#v1.4.0: - image: "eosio/ci:ubuntu18" - workdir: /data/job - timeout: 60 + # - command: | + # echo "+++ :hammer: Building" && \ + # echo 1 | ./eosio_build.sh && \ + # echo "--- :compression: Compressing build directory" && \ + # tar -pczf build.tar.gz build/ + # label: ":ubuntu: 18.04 Build" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: "build.tar.gz" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:ubuntu18" + # workdir: /data/job + # timeout: 60 - - command: | - echo "+++ :hammer: Building" && \ - echo 1 | ./eosio_build.sh && \ - echo "--- :compression: Compressing build directory" && \ - tar -pczf build.tar.gz build/ - label: ":fedora: Build" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: "build.tar.gz" - plugins: - docker#v1.4.0: - image: "eosio/ci:fedora" - workdir: /data/job - timeout: 60 + # - command: | + # echo "+++ :hammer: Building" && \ + # echo 1 | ./eosio_build.sh && \ + # echo "--- :compression: Compressing build directory" && \ + # tar -pczf build.tar.gz build/ + # label: ":fedora: Build" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: "build.tar.gz" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:fedora" + # workdir: /data/job + # timeout: 60 - - command: | - echo "+++ :hammer: Building" && \ - echo 1 | ./eosio_build.sh && \ - echo "--- :compression: Compressing build directory" && \ - tar -pczf build.tar.gz build/ - label: ":centos: Build" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: "build.tar.gz" - plugins: - docker#v1.4.0: - image: "eosio/ci:centos" - workdir: /data/job - timeout: 60 + # - command: | + # echo "+++ :hammer: Building" && \ + # echo 1 | ./eosio_build.sh && \ + # echo "--- :compression: Compressing build directory" && \ + # tar -pczf build.tar.gz build/ + # label: ":centos: Build" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: "build.tar.gz" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:centos" + # workdir: /data/job + # timeout: 60 - - command: | - echo "+++ :hammer: Building" && \ - echo 1 | ./eosio_build.sh && \ - echo "--- :compression: Compressing build directory" && \ - tar -pczf build.tar.gz build/ - label: ":aws: Build" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: "build.tar.gz" - plugins: - docker#v1.4.0: - image: "eosio/ci:amazonlinux" - workdir: /data/job - timeout: 60 + # - command: | + # echo "+++ :hammer: Building" && \ + # echo 1 | ./eosio_build.sh && \ + # echo "--- :compression: Compressing build directory" && \ + # tar -pczf build.tar.gz build/ + # label: ":aws: Build" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: "build.tar.gz" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:amazonlinux" + # workdir: /data/job + # timeout: 60 - - wait + # - wait - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - label: ":darwin: High Sierra Tests" - agents: - - "role=macos-tester" - - "os=high-sierra" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + # label: ":darwin: High Sierra Tests" + # agents: + # - "role=macos-tester" + # - "os=high-sierra" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - label: ":darwin: High Sierra NP Tests" - agents: - - "role=macos-tester" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + # label: ":darwin: High Sierra NP Tests" + # agents: + # - "role=macos-tester" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - label: ":darwin: Mojave Tests" - agents: - - "role=tester" - - "os=mojave" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + # label: ":darwin: Mojave Tests" + # agents: + # - "role=tester" + # - "os=mojave" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - label: ":darwin: Mojave NP Tests" - agents: - - "role=tester" - - "os=mojave" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + # label: ":darwin: Mojave NP Tests" + # agents: + # - "role=tester" + # - "os=mojave" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - label: ":ubuntu: Tests" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - plugins: - docker#v1.4.0: - image: "eosio/ci:ubuntu" - workdir: /data/job - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + # label: ":ubuntu: Tests" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:ubuntu" + # workdir: /data/job + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - label: ":ubuntu: NP Tests" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - plugins: - docker#v1.4.0: - image: "eosio/ci:ubuntu" - workdir: /data/job - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + # label: ":ubuntu: NP Tests" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:ubuntu" + # workdir: /data/job + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - label: ":ubuntu: 18.04 Tests" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - plugins: - docker#v1.4.0: - image: "eosio/ci:ubuntu18" - workdir: /data/job - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + # label: ":ubuntu: 18.04 Tests" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:ubuntu18" + # workdir: /data/job + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - label: ":ubuntu: 18.04 NP Tests" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - plugins: - docker#v1.4.0: - image: "eosio/ci:ubuntu18" - workdir: /data/job - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + # label: ":ubuntu: 18.04 NP Tests" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:ubuntu18" + # workdir: /data/job + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":fedora: Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - label: ":fedora: Tests" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - plugins: - docker#v1.4.0: - image: "eosio/ci:fedora" - workdir: /data/job - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":fedora: Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + # label: ":fedora: Tests" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:fedora" + # workdir: /data/job + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":fedora: Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - label: ":fedora: NP Tests" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - plugins: - docker#v1.4.0: - image: "eosio/ci:fedora" - workdir: /data/job - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":fedora: Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + # label: ":fedora: NP Tests" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:fedora" + # workdir: /data/job + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":centos: Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - label: ":centos: Tests" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - plugins: - docker#v1.4.0: - image: "eosio/ci:centos" - workdir: /data/job - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":centos: Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + # label: ":centos: Tests" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:centos" + # workdir: /data/job + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":centos: Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - label: ":centos: NP Tests" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - plugins: - docker#v1.4.0: - image: "eosio/ci:centos" - workdir: /data/job - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":centos: Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + # label: ":centos: NP Tests" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:centos" + # workdir: /data/job + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":aws: Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - label: ":aws: Tests" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - plugins: - docker#v1.4.0: - image: "eosio/ci:amazonlinux" - workdir: /data/job - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":aws: Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + # label: ":aws: Tests" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:amazonlinux" + # workdir: /data/job + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":aws: Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - label: ":aws: NP Tests" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - plugins: - docker#v1.4.0: - image: "eosio/ci:amazonlinux" - workdir: /data/job - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":aws: Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + # label: ":aws: NP Tests" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:amazonlinux" + # workdir: /data/job + # timeout: 60 - - wait + # - wait - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ - tar -zxf build.tar.gz && \ - echo "+++ :microscope: Starting package build" && \ - ln -s "$(pwd)" /data/job && cd /data/job/build/packages && bash generate_package.sh brew - label: ":darwin: High Sierra Package Builder" - agents: - - "role=macos-builder" - - "os=high-sierra" - artifact_paths: - - "build/packages/*.tar.gz" - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ + # tar -zxf build.tar.gz && \ + # echo "+++ :microscope: Starting package build" && \ + # ln -s "$(pwd)" /data/job && cd /data/job/build/packages && bash generate_package.sh brew + # label: ":darwin: High Sierra Package Builder" + # agents: + # - "role=macos-builder" + # - "os=high-sierra" + # artifact_paths: + # - "build/packages/*.tar.gz" + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ - tar -zxf build.tar.gz && \ - echo "+++ :microscope: Starting package build" && \ - ln -s "$(pwd)" /data/job && cd /data/job/build/packages && bash generate_package.sh brew - label: ":darwin: Mojave Package Builder" - agents: - - "role=builder" - - "os=mojave" - artifact_paths: - - "build/packages/*.tar.gz" - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ + # tar -zxf build.tar.gz && \ + # echo "+++ :microscope: Starting package build" && \ + # ln -s "$(pwd)" /data/job && cd /data/job/build/packages && bash generate_package.sh brew + # label: ":darwin: Mojave Package Builder" + # agents: + # - "role=builder" + # - "os=mojave" + # artifact_paths: + # - "build/packages/*.tar.gz" + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: Build" && \ - tar -zxf build.tar.gz && \ - echo "+++ :microscope: Starting package build" && \ - cd /data/job/build/packages && bash generate_package.sh deb - label: ":ubuntu: Package builder" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: - - "build/packages/*.deb" - plugins: - docker#v1.4.0: - image: "eosio/ci:ubuntu" - workdir: /data/job - env: - OS: "ubuntu-16.04" - PKGTYPE: "deb" - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: Build" && \ + # tar -zxf build.tar.gz && \ + # echo "+++ :microscope: Starting package build" && \ + # cd /data/job/build/packages && bash generate_package.sh deb + # label: ":ubuntu: Package builder" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: + # - "build/packages/*.deb" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:ubuntu" + # workdir: /data/job + # env: + # OS: "ubuntu-16.04" + # PKGTYPE: "deb" + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \ - tar -zxf build.tar.gz && \ - echo "+++ :microscope: Starting package build" && \ - cd /data/job/build/packages && bash generate_package.sh deb - label: ":ubuntu: 18.04 Package builder" - agents: - - "role=linux-builder" - artifact_paths: - - "build/packages/*.deb" - plugins: - docker#v1.4.0: - image: "eosio/ci:ubuntu18" - workdir: /data/job - env: - OS: "ubuntu-18.04" - PKGTYPE: "deb" - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \ + # tar -zxf build.tar.gz && \ + # echo "+++ :microscope: Starting package build" && \ + # cd /data/job/build/packages && bash generate_package.sh deb + # label: ":ubuntu: 18.04 Package builder" + # agents: + # - "role=linux-builder" + # artifact_paths: + # - "build/packages/*.deb" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:ubuntu18" + # workdir: /data/job + # env: + # OS: "ubuntu-18.04" + # PKGTYPE: "deb" + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":fedora: Build" && \ - tar -zxf build.tar.gz && \ - echo "+++ :microscope: Starting package build" && \ - yum install -y rpm-build && \ - mkdir -p /root/rpmbuild/BUILD && \ - mkdir -p /root/rpmbuild/BUILDROOT && \ - mkdir -p /root/rpmbuild/RPMS && \ - mkdir -p /root/rpmbuild/SOURCES && \ - mkdir -p /root/rpmbuild/SPECS && \ - mkdir -p /root/rpmbuild/SRPMS && \ - cd /data/job/build/packages && bash generate_package.sh rpm - label: ":fedora: Package builder" - agents: - - "role=linux-builder" - artifact_paths: - - "build/packages/x86_64/*.rpm" - plugins: - docker#v1.4.0: - image: "eosio/ci:fedora" - workdir: /data/job - env: - OS: "fc27" - PKGTYPE: "rpm" - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":fedora: Build" && \ + # tar -zxf build.tar.gz && \ + # echo "+++ :microscope: Starting package build" && \ + # yum install -y rpm-build && \ + # mkdir -p /root/rpmbuild/BUILD && \ + # mkdir -p /root/rpmbuild/BUILDROOT && \ + # mkdir -p /root/rpmbuild/RPMS && \ + # mkdir -p /root/rpmbuild/SOURCES && \ + # mkdir -p /root/rpmbuild/SPECS && \ + # mkdir -p /root/rpmbuild/SRPMS && \ + # cd /data/job/build/packages && bash generate_package.sh rpm + # label: ":fedora: Package builder" + # agents: + # - "role=linux-builder" + # artifact_paths: + # - "build/packages/x86_64/*.rpm" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:fedora" + # workdir: /data/job + # env: + # OS: "fc27" + # PKGTYPE: "rpm" + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":centos: Build" && \ - tar -zxf build.tar.gz && \ - echo "+++ :microscope: Starting package build" && \ - yum install -y rpm-build && \ - mkdir -p /root/rpmbuild/BUILD && \ - mkdir -p /root/rpmbuild/BUILDROOT && \ - mkdir -p /root/rpmbuild/RPMS && \ - mkdir -p /root/rpmbuild/SOURCES && \ - mkdir -p /root/rpmbuild/SPECS && \ - mkdir -p /root/rpmbuild/SRPMS && \ - cd /data/job/build/packages && bash generate_package.sh rpm - label: ":centos: Package builder" - agents: - - "role=linux-builder" - artifact_paths: - - "build/packages/x86_64/*.rpm" - plugins: - docker#v1.4.0: - image: "eosio/ci:centos" - workdir: /data/job - env: - OS: "el7" - PKGTYPE: "rpm" - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":centos: Build" && \ + # tar -zxf build.tar.gz && \ + # echo "+++ :microscope: Starting package build" && \ + # yum install -y rpm-build && \ + # mkdir -p /root/rpmbuild/BUILD && \ + # mkdir -p /root/rpmbuild/BUILDROOT && \ + # mkdir -p /root/rpmbuild/RPMS && \ + # mkdir -p /root/rpmbuild/SOURCES && \ + # mkdir -p /root/rpmbuild/SPECS && \ + # mkdir -p /root/rpmbuild/SRPMS && \ + # cd /data/job/build/packages && bash generate_package.sh rpm + # label: ":centos: Package builder" + # agents: + # - "role=linux-builder" + # artifact_paths: + # - "build/packages/x86_64/*.rpm" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:centos" + # workdir: /data/job + # env: + # OS: "el7" + # PKGTYPE: "rpm" + # timeout: 60 From 97aa0627c084fb7a0013eff260555633d477bc73 Mon Sep 17 00:00:00 2001 From: michelin Date: Mon, 4 Mar 2019 12:36:02 +0800 Subject: [PATCH 2/5] macos role test --- .buildkite/pipeline.yml | 932 ++++++++++++++++++++-------------------- 1 file changed, 466 insertions(+), 466 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 07856686298..1cd49460163 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -1,30 +1,30 @@ steps: - # - command: | - # echo "--- Creating symbolic link to job directory :file_folder:" && \ - # sleep 5 && ln -s "$(pwd)" /data/job && cd /data/job && \ - # echo "+++ Building :hammer:" && \ - # echo 1 | ./eosio_build.sh && \ - # echo "--- Compressing build directory :compression:" && \ - # tar -pczf build.tar.gz build/ - # label: ":darwin: High Sierra Build" - # agents: - # - "role=macos-builder" - # artifact_paths: "build.tar.gz" - # timeout: 60 + - command: | + echo "--- Creating symbolic link to job directory :file_folder:" && \ + sleep 5 && ln -s "$(pwd)" /data/job && cd /data/job && \ + echo "+++ Building :hammer:" && \ + echo 1 | ./eosio_build.sh && \ + echo "--- Compressing build directory :compression:" && \ + tar -pczf build.tar.gz build/ + label: ":darwin: High Sierra Build" + agents: + - "role=macos-builder" + artifact_paths: "build.tar.gz" + timeout: 60 - # - command: | - # echo "--- Creating symbolic link to job directory :file_folder:" && \ - # sleep 5 && ln -s "$(pwd)" /data/job && cd /data/job && \ - # echo "+++ Building :hammer:" && \ - # echo 1 | ./eosio_build.sh && \ - # echo "--- Compressing build directory :compression:" && \ - # tar -pczf build.tar.gz build/ - # label: ":darwin: Mojave Build" - # agents: - # - "role=builder" - # - "os=mojave" - # artifact_paths: "build.tar.gz" - # timeout: 60 + - command: | + echo "--- Creating symbolic link to job directory :file_folder:" && \ + sleep 5 && ln -s "$(pwd)" /data/job && cd /data/job && \ + echo "+++ Building :hammer:" && \ + echo 1 | ./eosio_build.sh && \ + echo "--- Compressing build directory :compression:" && \ + tar -pczf build.tar.gz build/ + label: ":darwin: Mojave Build" + agents: + - "role=builder" + - "os=mojave" + artifact_paths: "build.tar.gz" + timeout: 60 - command: | echo "+++ :hammer: Building" && \ @@ -41,469 +41,469 @@ steps: workdir: /data/job timeout: 60 - # - command: | - # echo "+++ :hammer: Building" && \ - # echo 1 | ./eosio_build.sh && \ - # echo "--- :compression: Compressing build directory" && \ - # tar -pczf build.tar.gz build/ - # label: ":ubuntu: 18.04 Build" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: "build.tar.gz" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:ubuntu18" - # workdir: /data/job - # timeout: 60 + - command: | + echo "+++ :hammer: Building" && \ + echo 1 | ./eosio_build.sh && \ + echo "--- :compression: Compressing build directory" && \ + tar -pczf build.tar.gz build/ + label: ":ubuntu: 18.04 Build" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: "build.tar.gz" + plugins: + docker#v1.4.0: + image: "eosio/ci:ubuntu18" + workdir: /data/job + timeout: 60 - # - command: | - # echo "+++ :hammer: Building" && \ - # echo 1 | ./eosio_build.sh && \ - # echo "--- :compression: Compressing build directory" && \ - # tar -pczf build.tar.gz build/ - # label: ":fedora: Build" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: "build.tar.gz" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:fedora" - # workdir: /data/job - # timeout: 60 + - command: | + echo "+++ :hammer: Building" && \ + echo 1 | ./eosio_build.sh && \ + echo "--- :compression: Compressing build directory" && \ + tar -pczf build.tar.gz build/ + label: ":fedora: Build" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: "build.tar.gz" + plugins: + docker#v1.4.0: + image: "eosio/ci:fedora" + workdir: /data/job + timeout: 60 - # - command: | - # echo "+++ :hammer: Building" && \ - # echo 1 | ./eosio_build.sh && \ - # echo "--- :compression: Compressing build directory" && \ - # tar -pczf build.tar.gz build/ - # label: ":centos: Build" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: "build.tar.gz" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:centos" - # workdir: /data/job - # timeout: 60 + - command: | + echo "+++ :hammer: Building" && \ + echo 1 | ./eosio_build.sh && \ + echo "--- :compression: Compressing build directory" && \ + tar -pczf build.tar.gz build/ + label: ":centos: Build" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: "build.tar.gz" + plugins: + docker#v1.4.0: + image: "eosio/ci:centos" + workdir: /data/job + timeout: 60 - # - command: | - # echo "+++ :hammer: Building" && \ - # echo 1 | ./eosio_build.sh && \ - # echo "--- :compression: Compressing build directory" && \ - # tar -pczf build.tar.gz build/ - # label: ":aws: Build" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: "build.tar.gz" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:amazonlinux" - # workdir: /data/job - # timeout: 60 + - command: | + echo "+++ :hammer: Building" && \ + echo 1 | ./eosio_build.sh && \ + echo "--- :compression: Compressing build directory" && \ + tar -pczf build.tar.gz build/ + label: ":aws: Build" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: "build.tar.gz" + plugins: + docker#v1.4.0: + image: "eosio/ci:amazonlinux" + workdir: /data/job + timeout: 60 - # - wait + - wait - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - # label: ":darwin: High Sierra Tests" - # agents: - # - "role=macos-tester" - # - "os=high-sierra" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + label: ":darwin: High Sierra Tests" + agents: + - "role=macos-tester" + - "os=high-sierra" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - # label: ":darwin: High Sierra NP Tests" - # agents: - # - "role=macos-tester" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + label: ":darwin: High Sierra NP Tests" + agents: + - "role=macos-tester" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - # label: ":darwin: Mojave Tests" - # agents: - # - "role=tester" - # - "os=mojave" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + label: ":darwin: Mojave Tests" + agents: + - "role=tester" + - "os=mojave" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - # label: ":darwin: Mojave NP Tests" - # agents: - # - "role=tester" - # - "os=mojave" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + label: ":darwin: Mojave NP Tests" + agents: + - "role=tester" + - "os=mojave" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - # label: ":ubuntu: Tests" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:ubuntu" - # workdir: /data/job - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + label: ":ubuntu: Tests" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + plugins: + docker#v1.4.0: + image: "eosio/ci:ubuntu" + workdir: /data/job + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - # label: ":ubuntu: NP Tests" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:ubuntu" - # workdir: /data/job - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + label: ":ubuntu: NP Tests" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + plugins: + docker#v1.4.0: + image: "eosio/ci:ubuntu" + workdir: /data/job + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - # label: ":ubuntu: 18.04 Tests" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:ubuntu18" - # workdir: /data/job - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + label: ":ubuntu: 18.04 Tests" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + plugins: + docker#v1.4.0: + image: "eosio/ci:ubuntu18" + workdir: /data/job + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - # label: ":ubuntu: 18.04 NP Tests" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:ubuntu18" - # workdir: /data/job - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + label: ":ubuntu: 18.04 NP Tests" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + plugins: + docker#v1.4.0: + image: "eosio/ci:ubuntu18" + workdir: /data/job + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":fedora: Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - # label: ":fedora: Tests" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:fedora" - # workdir: /data/job - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":fedora: Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + label: ":fedora: Tests" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + plugins: + docker#v1.4.0: + image: "eosio/ci:fedora" + workdir: /data/job + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":fedora: Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - # label: ":fedora: NP Tests" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:fedora" - # workdir: /data/job - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":fedora: Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + label: ":fedora: NP Tests" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + plugins: + docker#v1.4.0: + image: "eosio/ci:fedora" + workdir: /data/job + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":centos: Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - # label: ":centos: Tests" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:centos" - # workdir: /data/job - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":centos: Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + label: ":centos: Tests" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + plugins: + docker#v1.4.0: + image: "eosio/ci:centos" + workdir: /data/job + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":centos: Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - # label: ":centos: NP Tests" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:centos" - # workdir: /data/job - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":centos: Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + label: ":centos: NP Tests" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + plugins: + docker#v1.4.0: + image: "eosio/ci:centos" + workdir: /data/job + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":aws: Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - # label: ":aws: Tests" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:amazonlinux" - # workdir: /data/job - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":aws: Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + label: ":aws: Tests" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + plugins: + docker#v1.4.0: + image: "eosio/ci:amazonlinux" + workdir: /data/job + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":aws: Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - # label: ":aws: NP Tests" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:amazonlinux" - # workdir: /data/job - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":aws: Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + label: ":aws: NP Tests" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + plugins: + docker#v1.4.0: + image: "eosio/ci:amazonlinux" + workdir: /data/job + timeout: 60 - # - wait + - wait - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ - # tar -zxf build.tar.gz && \ - # echo "+++ :microscope: Starting package build" && \ - # ln -s "$(pwd)" /data/job && cd /data/job/build/packages && bash generate_package.sh brew - # label: ":darwin: High Sierra Package Builder" - # agents: - # - "role=macos-builder" - # - "os=high-sierra" - # artifact_paths: - # - "build/packages/*.tar.gz" - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ + tar -zxf build.tar.gz && \ + echo "+++ :microscope: Starting package build" && \ + ln -s "$(pwd)" /data/job && cd /data/job/build/packages && bash generate_package.sh brew + label: ":darwin: High Sierra Package Builder" + agents: + - "role=macos-builder" + - "os=high-sierra" + artifact_paths: + - "build/packages/*.tar.gz" + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ - # tar -zxf build.tar.gz && \ - # echo "+++ :microscope: Starting package build" && \ - # ln -s "$(pwd)" /data/job && cd /data/job/build/packages && bash generate_package.sh brew - # label: ":darwin: Mojave Package Builder" - # agents: - # - "role=builder" - # - "os=mojave" - # artifact_paths: - # - "build/packages/*.tar.gz" - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ + tar -zxf build.tar.gz && \ + echo "+++ :microscope: Starting package build" && \ + ln -s "$(pwd)" /data/job && cd /data/job/build/packages && bash generate_package.sh brew + label: ":darwin: Mojave Package Builder" + agents: + - "role=builder" + - "os=mojave" + artifact_paths: + - "build/packages/*.tar.gz" + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: Build" && \ - # tar -zxf build.tar.gz && \ - # echo "+++ :microscope: Starting package build" && \ - # cd /data/job/build/packages && bash generate_package.sh deb - # label: ":ubuntu: Package builder" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: - # - "build/packages/*.deb" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:ubuntu" - # workdir: /data/job - # env: - # OS: "ubuntu-16.04" - # PKGTYPE: "deb" - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: Build" && \ + tar -zxf build.tar.gz && \ + echo "+++ :microscope: Starting package build" && \ + cd /data/job/build/packages && bash generate_package.sh deb + label: ":ubuntu: Package builder" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: + - "build/packages/*.deb" + plugins: + docker#v1.4.0: + image: "eosio/ci:ubuntu" + workdir: /data/job + env: + OS: "ubuntu-16.04" + PKGTYPE: "deb" + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \ - # tar -zxf build.tar.gz && \ - # echo "+++ :microscope: Starting package build" && \ - # cd /data/job/build/packages && bash generate_package.sh deb - # label: ":ubuntu: 18.04 Package builder" - # agents: - # - "role=linux-builder" - # artifact_paths: - # - "build/packages/*.deb" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:ubuntu18" - # workdir: /data/job - # env: - # OS: "ubuntu-18.04" - # PKGTYPE: "deb" - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \ + tar -zxf build.tar.gz && \ + echo "+++ :microscope: Starting package build" && \ + cd /data/job/build/packages && bash generate_package.sh deb + label: ":ubuntu: 18.04 Package builder" + agents: + - "role=linux-builder" + artifact_paths: + - "build/packages/*.deb" + plugins: + docker#v1.4.0: + image: "eosio/ci:ubuntu18" + workdir: /data/job + env: + OS: "ubuntu-18.04" + PKGTYPE: "deb" + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":fedora: Build" && \ - # tar -zxf build.tar.gz && \ - # echo "+++ :microscope: Starting package build" && \ - # yum install -y rpm-build && \ - # mkdir -p /root/rpmbuild/BUILD && \ - # mkdir -p /root/rpmbuild/BUILDROOT && \ - # mkdir -p /root/rpmbuild/RPMS && \ - # mkdir -p /root/rpmbuild/SOURCES && \ - # mkdir -p /root/rpmbuild/SPECS && \ - # mkdir -p /root/rpmbuild/SRPMS && \ - # cd /data/job/build/packages && bash generate_package.sh rpm - # label: ":fedora: Package builder" - # agents: - # - "role=linux-builder" - # artifact_paths: - # - "build/packages/x86_64/*.rpm" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:fedora" - # workdir: /data/job - # env: - # OS: "fc27" - # PKGTYPE: "rpm" - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":fedora: Build" && \ + tar -zxf build.tar.gz && \ + echo "+++ :microscope: Starting package build" && \ + yum install -y rpm-build && \ + mkdir -p /root/rpmbuild/BUILD && \ + mkdir -p /root/rpmbuild/BUILDROOT && \ + mkdir -p /root/rpmbuild/RPMS && \ + mkdir -p /root/rpmbuild/SOURCES && \ + mkdir -p /root/rpmbuild/SPECS && \ + mkdir -p /root/rpmbuild/SRPMS && \ + cd /data/job/build/packages && bash generate_package.sh rpm + label: ":fedora: Package builder" + agents: + - "role=linux-builder" + artifact_paths: + - "build/packages/x86_64/*.rpm" + plugins: + docker#v1.4.0: + image: "eosio/ci:fedora" + workdir: /data/job + env: + OS: "fc27" + PKGTYPE: "rpm" + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":centos: Build" && \ - # tar -zxf build.tar.gz && \ - # echo "+++ :microscope: Starting package build" && \ - # yum install -y rpm-build && \ - # mkdir -p /root/rpmbuild/BUILD && \ - # mkdir -p /root/rpmbuild/BUILDROOT && \ - # mkdir -p /root/rpmbuild/RPMS && \ - # mkdir -p /root/rpmbuild/SOURCES && \ - # mkdir -p /root/rpmbuild/SPECS && \ - # mkdir -p /root/rpmbuild/SRPMS && \ - # cd /data/job/build/packages && bash generate_package.sh rpm - # label: ":centos: Package builder" - # agents: - # - "role=linux-builder" - # artifact_paths: - # - "build/packages/x86_64/*.rpm" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:centos" - # workdir: /data/job - # env: - # OS: "el7" - # PKGTYPE: "rpm" - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":centos: Build" && \ + tar -zxf build.tar.gz && \ + echo "+++ :microscope: Starting package build" && \ + yum install -y rpm-build && \ + mkdir -p /root/rpmbuild/BUILD && \ + mkdir -p /root/rpmbuild/BUILDROOT && \ + mkdir -p /root/rpmbuild/RPMS && \ + mkdir -p /root/rpmbuild/SOURCES && \ + mkdir -p /root/rpmbuild/SPECS && \ + mkdir -p /root/rpmbuild/SRPMS && \ + cd /data/job/build/packages && bash generate_package.sh rpm + label: ":centos: Package builder" + agents: + - "role=linux-builder" + artifact_paths: + - "build/packages/x86_64/*.rpm" + plugins: + docker#v1.4.0: + image: "eosio/ci:centos" + workdir: /data/job + env: + OS: "el7" + PKGTYPE: "rpm" + timeout: 60 From f17f2ea0387d2362aac2e0777fa9a459ad1c5511 Mon Sep 17 00:00:00 2001 From: bytemaster Date: Mon, 4 Mar 2019 13:01:06 +0800 Subject: [PATCH 3/5] rm comments on buildkite --- .buildkite/pipeline.yml | 932 ++++++++++++++++++++-------------------- 1 file changed, 466 insertions(+), 466 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 07856686298..1cd49460163 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -1,30 +1,30 @@ steps: - # - command: | - # echo "--- Creating symbolic link to job directory :file_folder:" && \ - # sleep 5 && ln -s "$(pwd)" /data/job && cd /data/job && \ - # echo "+++ Building :hammer:" && \ - # echo 1 | ./eosio_build.sh && \ - # echo "--- Compressing build directory :compression:" && \ - # tar -pczf build.tar.gz build/ - # label: ":darwin: High Sierra Build" - # agents: - # - "role=macos-builder" - # artifact_paths: "build.tar.gz" - # timeout: 60 + - command: | + echo "--- Creating symbolic link to job directory :file_folder:" && \ + sleep 5 && ln -s "$(pwd)" /data/job && cd /data/job && \ + echo "+++ Building :hammer:" && \ + echo 1 | ./eosio_build.sh && \ + echo "--- Compressing build directory :compression:" && \ + tar -pczf build.tar.gz build/ + label: ":darwin: High Sierra Build" + agents: + - "role=macos-builder" + artifact_paths: "build.tar.gz" + timeout: 60 - # - command: | - # echo "--- Creating symbolic link to job directory :file_folder:" && \ - # sleep 5 && ln -s "$(pwd)" /data/job && cd /data/job && \ - # echo "+++ Building :hammer:" && \ - # echo 1 | ./eosio_build.sh && \ - # echo "--- Compressing build directory :compression:" && \ - # tar -pczf build.tar.gz build/ - # label: ":darwin: Mojave Build" - # agents: - # - "role=builder" - # - "os=mojave" - # artifact_paths: "build.tar.gz" - # timeout: 60 + - command: | + echo "--- Creating symbolic link to job directory :file_folder:" && \ + sleep 5 && ln -s "$(pwd)" /data/job && cd /data/job && \ + echo "+++ Building :hammer:" && \ + echo 1 | ./eosio_build.sh && \ + echo "--- Compressing build directory :compression:" && \ + tar -pczf build.tar.gz build/ + label: ":darwin: Mojave Build" + agents: + - "role=builder" + - "os=mojave" + artifact_paths: "build.tar.gz" + timeout: 60 - command: | echo "+++ :hammer: Building" && \ @@ -41,469 +41,469 @@ steps: workdir: /data/job timeout: 60 - # - command: | - # echo "+++ :hammer: Building" && \ - # echo 1 | ./eosio_build.sh && \ - # echo "--- :compression: Compressing build directory" && \ - # tar -pczf build.tar.gz build/ - # label: ":ubuntu: 18.04 Build" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: "build.tar.gz" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:ubuntu18" - # workdir: /data/job - # timeout: 60 + - command: | + echo "+++ :hammer: Building" && \ + echo 1 | ./eosio_build.sh && \ + echo "--- :compression: Compressing build directory" && \ + tar -pczf build.tar.gz build/ + label: ":ubuntu: 18.04 Build" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: "build.tar.gz" + plugins: + docker#v1.4.0: + image: "eosio/ci:ubuntu18" + workdir: /data/job + timeout: 60 - # - command: | - # echo "+++ :hammer: Building" && \ - # echo 1 | ./eosio_build.sh && \ - # echo "--- :compression: Compressing build directory" && \ - # tar -pczf build.tar.gz build/ - # label: ":fedora: Build" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: "build.tar.gz" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:fedora" - # workdir: /data/job - # timeout: 60 + - command: | + echo "+++ :hammer: Building" && \ + echo 1 | ./eosio_build.sh && \ + echo "--- :compression: Compressing build directory" && \ + tar -pczf build.tar.gz build/ + label: ":fedora: Build" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: "build.tar.gz" + plugins: + docker#v1.4.0: + image: "eosio/ci:fedora" + workdir: /data/job + timeout: 60 - # - command: | - # echo "+++ :hammer: Building" && \ - # echo 1 | ./eosio_build.sh && \ - # echo "--- :compression: Compressing build directory" && \ - # tar -pczf build.tar.gz build/ - # label: ":centos: Build" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: "build.tar.gz" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:centos" - # workdir: /data/job - # timeout: 60 + - command: | + echo "+++ :hammer: Building" && \ + echo 1 | ./eosio_build.sh && \ + echo "--- :compression: Compressing build directory" && \ + tar -pczf build.tar.gz build/ + label: ":centos: Build" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: "build.tar.gz" + plugins: + docker#v1.4.0: + image: "eosio/ci:centos" + workdir: /data/job + timeout: 60 - # - command: | - # echo "+++ :hammer: Building" && \ - # echo 1 | ./eosio_build.sh && \ - # echo "--- :compression: Compressing build directory" && \ - # tar -pczf build.tar.gz build/ - # label: ":aws: Build" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: "build.tar.gz" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:amazonlinux" - # workdir: /data/job - # timeout: 60 + - command: | + echo "+++ :hammer: Building" && \ + echo 1 | ./eosio_build.sh && \ + echo "--- :compression: Compressing build directory" && \ + tar -pczf build.tar.gz build/ + label: ":aws: Build" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: "build.tar.gz" + plugins: + docker#v1.4.0: + image: "eosio/ci:amazonlinux" + workdir: /data/job + timeout: 60 - # - wait + - wait - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - # label: ":darwin: High Sierra Tests" - # agents: - # - "role=macos-tester" - # - "os=high-sierra" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + label: ":darwin: High Sierra Tests" + agents: + - "role=macos-tester" + - "os=high-sierra" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - # label: ":darwin: High Sierra NP Tests" - # agents: - # - "role=macos-tester" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + label: ":darwin: High Sierra NP Tests" + agents: + - "role=macos-tester" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - # label: ":darwin: Mojave Tests" - # agents: - # - "role=tester" - # - "os=mojave" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + label: ":darwin: Mojave Tests" + agents: + - "role=tester" + - "os=mojave" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - # label: ":darwin: Mojave NP Tests" - # agents: - # - "role=tester" - # - "os=mojave" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + label: ":darwin: Mojave NP Tests" + agents: + - "role=tester" + - "os=mojave" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - # label: ":ubuntu: Tests" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:ubuntu" - # workdir: /data/job - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + label: ":ubuntu: Tests" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + plugins: + docker#v1.4.0: + image: "eosio/ci:ubuntu" + workdir: /data/job + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - # label: ":ubuntu: NP Tests" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:ubuntu" - # workdir: /data/job - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + label: ":ubuntu: NP Tests" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + plugins: + docker#v1.4.0: + image: "eosio/ci:ubuntu" + workdir: /data/job + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - # label: ":ubuntu: 18.04 Tests" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:ubuntu18" - # workdir: /data/job - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + label: ":ubuntu: 18.04 Tests" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + plugins: + docker#v1.4.0: + image: "eosio/ci:ubuntu18" + workdir: /data/job + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - # label: ":ubuntu: 18.04 NP Tests" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:ubuntu18" - # workdir: /data/job - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + label: ":ubuntu: 18.04 NP Tests" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + plugins: + docker#v1.4.0: + image: "eosio/ci:ubuntu18" + workdir: /data/job + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":fedora: Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - # label: ":fedora: Tests" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:fedora" - # workdir: /data/job - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":fedora: Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + label: ":fedora: Tests" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + plugins: + docker#v1.4.0: + image: "eosio/ci:fedora" + workdir: /data/job + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":fedora: Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - # label: ":fedora: NP Tests" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:fedora" - # workdir: /data/job - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":fedora: Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + label: ":fedora: NP Tests" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + plugins: + docker#v1.4.0: + image: "eosio/ci:fedora" + workdir: /data/job + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":centos: Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - # label: ":centos: Tests" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:centos" - # workdir: /data/job - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":centos: Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + label: ":centos: Tests" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + plugins: + docker#v1.4.0: + image: "eosio/ci:centos" + workdir: /data/job + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":centos: Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - # label: ":centos: NP Tests" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:centos" - # workdir: /data/job - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":centos: Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + label: ":centos: NP Tests" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + plugins: + docker#v1.4.0: + image: "eosio/ci:centos" + workdir: /data/job + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":aws: Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - # label: ":aws: Tests" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:amazonlinux" - # workdir: /data/job - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":aws: Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + label: ":aws: Tests" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + plugins: + docker#v1.4.0: + image: "eosio/ci:amazonlinux" + workdir: /data/job + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":aws: Build" && \ - # tar -zxf build.tar.gz && \ - # echo "--- :m: Starting MongoDB" && \ - # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - # echo "+++ :microscope: Running tests" && \ - # cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - # label: ":aws: NP Tests" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: - # - "mongod.log" - # - "build/genesis.json" - # - "build/config.ini" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:amazonlinux" - # workdir: /data/job - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":aws: Build" && \ + tar -zxf build.tar.gz && \ + echo "--- :m: Starting MongoDB" && \ + $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + echo "+++ :microscope: Running tests" && \ + cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + label: ":aws: NP Tests" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: + - "mongod.log" + - "build/genesis.json" + - "build/config.ini" + plugins: + docker#v1.4.0: + image: "eosio/ci:amazonlinux" + workdir: /data/job + timeout: 60 - # - wait + - wait - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ - # tar -zxf build.tar.gz && \ - # echo "+++ :microscope: Starting package build" && \ - # ln -s "$(pwd)" /data/job && cd /data/job/build/packages && bash generate_package.sh brew - # label: ":darwin: High Sierra Package Builder" - # agents: - # - "role=macos-builder" - # - "os=high-sierra" - # artifact_paths: - # - "build/packages/*.tar.gz" - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ + tar -zxf build.tar.gz && \ + echo "+++ :microscope: Starting package build" && \ + ln -s "$(pwd)" /data/job && cd /data/job/build/packages && bash generate_package.sh brew + label: ":darwin: High Sierra Package Builder" + agents: + - "role=macos-builder" + - "os=high-sierra" + artifact_paths: + - "build/packages/*.tar.gz" + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ - # tar -zxf build.tar.gz && \ - # echo "+++ :microscope: Starting package build" && \ - # ln -s "$(pwd)" /data/job && cd /data/job/build/packages && bash generate_package.sh brew - # label: ":darwin: Mojave Package Builder" - # agents: - # - "role=builder" - # - "os=mojave" - # artifact_paths: - # - "build/packages/*.tar.gz" - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ + tar -zxf build.tar.gz && \ + echo "+++ :microscope: Starting package build" && \ + ln -s "$(pwd)" /data/job && cd /data/job/build/packages && bash generate_package.sh brew + label: ":darwin: Mojave Package Builder" + agents: + - "role=builder" + - "os=mojave" + artifact_paths: + - "build/packages/*.tar.gz" + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: Build" && \ - # tar -zxf build.tar.gz && \ - # echo "+++ :microscope: Starting package build" && \ - # cd /data/job/build/packages && bash generate_package.sh deb - # label: ":ubuntu: Package builder" - # agents: - # queue: "automation-large-builder-fleet" - # artifact_paths: - # - "build/packages/*.deb" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:ubuntu" - # workdir: /data/job - # env: - # OS: "ubuntu-16.04" - # PKGTYPE: "deb" - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: Build" && \ + tar -zxf build.tar.gz && \ + echo "+++ :microscope: Starting package build" && \ + cd /data/job/build/packages && bash generate_package.sh deb + label: ":ubuntu: Package builder" + agents: + queue: "automation-large-builder-fleet" + artifact_paths: + - "build/packages/*.deb" + plugins: + docker#v1.4.0: + image: "eosio/ci:ubuntu" + workdir: /data/job + env: + OS: "ubuntu-16.04" + PKGTYPE: "deb" + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \ - # tar -zxf build.tar.gz && \ - # echo "+++ :microscope: Starting package build" && \ - # cd /data/job/build/packages && bash generate_package.sh deb - # label: ":ubuntu: 18.04 Package builder" - # agents: - # - "role=linux-builder" - # artifact_paths: - # - "build/packages/*.deb" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:ubuntu18" - # workdir: /data/job - # env: - # OS: "ubuntu-18.04" - # PKGTYPE: "deb" - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \ + tar -zxf build.tar.gz && \ + echo "+++ :microscope: Starting package build" && \ + cd /data/job/build/packages && bash generate_package.sh deb + label: ":ubuntu: 18.04 Package builder" + agents: + - "role=linux-builder" + artifact_paths: + - "build/packages/*.deb" + plugins: + docker#v1.4.0: + image: "eosio/ci:ubuntu18" + workdir: /data/job + env: + OS: "ubuntu-18.04" + PKGTYPE: "deb" + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":fedora: Build" && \ - # tar -zxf build.tar.gz && \ - # echo "+++ :microscope: Starting package build" && \ - # yum install -y rpm-build && \ - # mkdir -p /root/rpmbuild/BUILD && \ - # mkdir -p /root/rpmbuild/BUILDROOT && \ - # mkdir -p /root/rpmbuild/RPMS && \ - # mkdir -p /root/rpmbuild/SOURCES && \ - # mkdir -p /root/rpmbuild/SPECS && \ - # mkdir -p /root/rpmbuild/SRPMS && \ - # cd /data/job/build/packages && bash generate_package.sh rpm - # label: ":fedora: Package builder" - # agents: - # - "role=linux-builder" - # artifact_paths: - # - "build/packages/x86_64/*.rpm" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:fedora" - # workdir: /data/job - # env: - # OS: "fc27" - # PKGTYPE: "rpm" - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":fedora: Build" && \ + tar -zxf build.tar.gz && \ + echo "+++ :microscope: Starting package build" && \ + yum install -y rpm-build && \ + mkdir -p /root/rpmbuild/BUILD && \ + mkdir -p /root/rpmbuild/BUILDROOT && \ + mkdir -p /root/rpmbuild/RPMS && \ + mkdir -p /root/rpmbuild/SOURCES && \ + mkdir -p /root/rpmbuild/SPECS && \ + mkdir -p /root/rpmbuild/SRPMS && \ + cd /data/job/build/packages && bash generate_package.sh rpm + label: ":fedora: Package builder" + agents: + - "role=linux-builder" + artifact_paths: + - "build/packages/x86_64/*.rpm" + plugins: + docker#v1.4.0: + image: "eosio/ci:fedora" + workdir: /data/job + env: + OS: "fc27" + PKGTYPE: "rpm" + timeout: 60 - # - command: | - # echo "--- :arrow_down: Downloading build directory" && \ - # buildkite-agent artifact download "build.tar.gz" . --step ":centos: Build" && \ - # tar -zxf build.tar.gz && \ - # echo "+++ :microscope: Starting package build" && \ - # yum install -y rpm-build && \ - # mkdir -p /root/rpmbuild/BUILD && \ - # mkdir -p /root/rpmbuild/BUILDROOT && \ - # mkdir -p /root/rpmbuild/RPMS && \ - # mkdir -p /root/rpmbuild/SOURCES && \ - # mkdir -p /root/rpmbuild/SPECS && \ - # mkdir -p /root/rpmbuild/SRPMS && \ - # cd /data/job/build/packages && bash generate_package.sh rpm - # label: ":centos: Package builder" - # agents: - # - "role=linux-builder" - # artifact_paths: - # - "build/packages/x86_64/*.rpm" - # plugins: - # docker#v1.4.0: - # image: "eosio/ci:centos" - # workdir: /data/job - # env: - # OS: "el7" - # PKGTYPE: "rpm" - # timeout: 60 + - command: | + echo "--- :arrow_down: Downloading build directory" && \ + buildkite-agent artifact download "build.tar.gz" . --step ":centos: Build" && \ + tar -zxf build.tar.gz && \ + echo "+++ :microscope: Starting package build" && \ + yum install -y rpm-build && \ + mkdir -p /root/rpmbuild/BUILD && \ + mkdir -p /root/rpmbuild/BUILDROOT && \ + mkdir -p /root/rpmbuild/RPMS && \ + mkdir -p /root/rpmbuild/SOURCES && \ + mkdir -p /root/rpmbuild/SPECS && \ + mkdir -p /root/rpmbuild/SRPMS && \ + cd /data/job/build/packages && bash generate_package.sh rpm + label: ":centos: Package builder" + agents: + - "role=linux-builder" + artifact_paths: + - "build/packages/x86_64/*.rpm" + plugins: + docker#v1.4.0: + image: "eosio/ci:centos" + workdir: /data/job + env: + OS: "el7" + PKGTYPE: "rpm" + timeout: 60 From de47fe28c31219cbf2437a874ddfcbda2d98ae83 Mon Sep 17 00:00:00 2001 From: msmic Date: Mon, 4 Mar 2019 15:07:53 +0800 Subject: [PATCH 4/5] add comments to mac build of .buildkite/pipeline.yml --- .buildkite/pipeline.yml | 236 ++++++++++++++++++++-------------------- 1 file changed, 118 insertions(+), 118 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 1cd49460163..e64f7854f43 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -1,30 +1,30 @@ steps: - - command: | - echo "--- Creating symbolic link to job directory :file_folder:" && \ - sleep 5 && ln -s "$(pwd)" /data/job && cd /data/job && \ - echo "+++ Building :hammer:" && \ - echo 1 | ./eosio_build.sh && \ - echo "--- Compressing build directory :compression:" && \ - tar -pczf build.tar.gz build/ - label: ":darwin: High Sierra Build" - agents: - - "role=macos-builder" - artifact_paths: "build.tar.gz" - timeout: 60 + # - command: | + # echo "--- Creating symbolic link to job directory :file_folder:" && \ + # sleep 5 && ln -s "$(pwd)" /data/job && cd /data/job && \ + # echo "+++ Building :hammer:" && \ + # echo 1 | ./eosio_build.sh && \ + # echo "--- Compressing build directory :compression:" && \ + # tar -pczf build.tar.gz build/ + # label: ":darwin: High Sierra Build" + # agents: + # - "role=macos-builder" + # artifact_paths: "build.tar.gz" + # timeout: 60 - - command: | - echo "--- Creating symbolic link to job directory :file_folder:" && \ - sleep 5 && ln -s "$(pwd)" /data/job && cd /data/job && \ - echo "+++ Building :hammer:" && \ - echo 1 | ./eosio_build.sh && \ - echo "--- Compressing build directory :compression:" && \ - tar -pczf build.tar.gz build/ - label: ":darwin: Mojave Build" - agents: - - "role=builder" - - "os=mojave" - artifact_paths: "build.tar.gz" - timeout: 60 + # - command: | + # echo "--- Creating symbolic link to job directory :file_folder:" && \ + # sleep 5 && ln -s "$(pwd)" /data/job && cd /data/job && \ + # echo "+++ Building :hammer:" && \ + # echo 1 | ./eosio_build.sh && \ + # echo "--- Compressing build directory :compression:" && \ + # tar -pczf build.tar.gz build/ + # label: ":darwin: Mojave Build" + # agents: + # - "role=builder" + # - "os=mojave" + # artifact_paths: "build.tar.gz" + # timeout: 60 - command: | echo "+++ :hammer: Building" && \ @@ -103,76 +103,76 @@ steps: - wait - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - label: ":darwin: High Sierra Tests" - agents: - - "role=macos-tester" - - "os=high-sierra" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + # label: ":darwin: High Sierra Tests" + # agents: + # - "role=macos-tester" + # - "os=high-sierra" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - label: ":darwin: High Sierra NP Tests" - agents: - - "role=macos-tester" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + # label: ":darwin: High Sierra NP Tests" + # agents: + # - "role=macos-tester" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - label: ":darwin: Mojave Tests" - agents: - - "role=tester" - - "os=mojave" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + # label: ":darwin: Mojave Tests" + # agents: + # - "role=tester" + # - "os=mojave" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - label: ":darwin: Mojave NP Tests" - agents: - - "role=tester" - - "os=mojave" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + # label: ":darwin: Mojave NP Tests" + # agents: + # - "role=tester" + # - "os=mojave" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # timeout: 60 - command: | echo "--- :arrow_down: Downloading build directory" && \ @@ -386,33 +386,33 @@ steps: - wait - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ - tar -zxf build.tar.gz && \ - echo "+++ :microscope: Starting package build" && \ - ln -s "$(pwd)" /data/job && cd /data/job/build/packages && bash generate_package.sh brew - label: ":darwin: High Sierra Package Builder" - agents: - - "role=macos-builder" - - "os=high-sierra" - artifact_paths: - - "build/packages/*.tar.gz" - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ + # tar -zxf build.tar.gz && \ + # echo "+++ :microscope: Starting package build" && \ + # ln -s "$(pwd)" /data/job && cd /data/job/build/packages && bash generate_package.sh brew + # label: ":darwin: High Sierra Package Builder" + # agents: + # - "role=macos-builder" + # - "os=high-sierra" + # artifact_paths: + # - "build/packages/*.tar.gz" + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ - tar -zxf build.tar.gz && \ - echo "+++ :microscope: Starting package build" && \ - ln -s "$(pwd)" /data/job && cd /data/job/build/packages && bash generate_package.sh brew - label: ":darwin: Mojave Package Builder" - agents: - - "role=builder" - - "os=mojave" - artifact_paths: - - "build/packages/*.tar.gz" - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ + # tar -zxf build.tar.gz && \ + # echo "+++ :microscope: Starting package build" && \ + # ln -s "$(pwd)" /data/job && cd /data/job/build/packages && bash generate_package.sh brew + # label: ":darwin: Mojave Package Builder" + # agents: + # - "role=builder" + # - "os=mojave" + # artifact_paths: + # - "build/packages/*.tar.gz" + # timeout: 60 - command: | echo "--- :arrow_down: Downloading build directory" && \ From 74d760c9dc0e65dc304732a369a0eab7ed599bac Mon Sep 17 00:00:00 2001 From: bytemaster Date: Tue, 12 Mar 2019 14:40:42 +0800 Subject: [PATCH 5/5] update buildkite ci --- .buildkite/pipeline.yml | 814 ++++++++++++++++++++-------------------- 1 file changed, 407 insertions(+), 407 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 1cd49460163..5dec8769f02 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -1,30 +1,30 @@ steps: - - command: | - echo "--- Creating symbolic link to job directory :file_folder:" && \ - sleep 5 && ln -s "$(pwd)" /data/job && cd /data/job && \ - echo "+++ Building :hammer:" && \ - echo 1 | ./eosio_build.sh && \ - echo "--- Compressing build directory :compression:" && \ - tar -pczf build.tar.gz build/ - label: ":darwin: High Sierra Build" - agents: - - "role=macos-builder" - artifact_paths: "build.tar.gz" - timeout: 60 + # - command: | + # echo "--- Creating symbolic link to job directory :file_folder:" && \ + # sleep 5 && ln -s "$(pwd)" /data/job && cd /data/job && \ + # echo "+++ Building :hammer:" && \ + # echo 1 | ./eosio_build.sh && \ + # echo "--- Compressing build directory :compression:" && \ + # tar -pczf build.tar.gz build/ + # label: ":darwin: High Sierra Build" + # agents: + # - "role=macos-builder" + # artifact_paths: "build.tar.gz" + # timeout: 60 - - command: | - echo "--- Creating symbolic link to job directory :file_folder:" && \ - sleep 5 && ln -s "$(pwd)" /data/job && cd /data/job && \ - echo "+++ Building :hammer:" && \ - echo 1 | ./eosio_build.sh && \ - echo "--- Compressing build directory :compression:" && \ - tar -pczf build.tar.gz build/ - label: ":darwin: Mojave Build" - agents: - - "role=builder" - - "os=mojave" - artifact_paths: "build.tar.gz" - timeout: 60 + # - command: | + # echo "--- Creating symbolic link to job directory :file_folder:" && \ + # sleep 5 && ln -s "$(pwd)" /data/job && cd /data/job && \ + # echo "+++ Building :hammer:" && \ + # echo 1 | ./eosio_build.sh && \ + # echo "--- Compressing build directory :compression:" && \ + # tar -pczf build.tar.gz build/ + # label: ":darwin: Mojave Build" + # agents: + # - "role=builder" + # - "os=mojave" + # artifact_paths: "build.tar.gz" + # timeout: 60 - command: | echo "+++ :hammer: Building" && \ @@ -41,138 +41,138 @@ steps: workdir: /data/job timeout: 60 - - command: | - echo "+++ :hammer: Building" && \ - echo 1 | ./eosio_build.sh && \ - echo "--- :compression: Compressing build directory" && \ - tar -pczf build.tar.gz build/ - label: ":ubuntu: 18.04 Build" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: "build.tar.gz" - plugins: - docker#v1.4.0: - image: "eosio/ci:ubuntu18" - workdir: /data/job - timeout: 60 + # - command: | + # echo "+++ :hammer: Building" && \ + # echo 1 | ./eosio_build.sh && \ + # echo "--- :compression: Compressing build directory" && \ + # tar -pczf build.tar.gz build/ + # label: ":ubuntu: 18.04 Build" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: "build.tar.gz" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:ubuntu18" + # workdir: /data/job + # timeout: 60 - - command: | - echo "+++ :hammer: Building" && \ - echo 1 | ./eosio_build.sh && \ - echo "--- :compression: Compressing build directory" && \ - tar -pczf build.tar.gz build/ - label: ":fedora: Build" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: "build.tar.gz" - plugins: - docker#v1.4.0: - image: "eosio/ci:fedora" - workdir: /data/job - timeout: 60 + # - command: | + # echo "+++ :hammer: Building" && \ + # echo 1 | ./eosio_build.sh && \ + # echo "--- :compression: Compressing build directory" && \ + # tar -pczf build.tar.gz build/ + # label: ":fedora: Build" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: "build.tar.gz" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:fedora" + # workdir: /data/job + # timeout: 60 - - command: | - echo "+++ :hammer: Building" && \ - echo 1 | ./eosio_build.sh && \ - echo "--- :compression: Compressing build directory" && \ - tar -pczf build.tar.gz build/ - label: ":centos: Build" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: "build.tar.gz" - plugins: - docker#v1.4.0: - image: "eosio/ci:centos" - workdir: /data/job - timeout: 60 + # - command: | + # echo "+++ :hammer: Building" && \ + # echo 1 | ./eosio_build.sh && \ + # echo "--- :compression: Compressing build directory" && \ + # tar -pczf build.tar.gz build/ + # label: ":centos: Build" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: "build.tar.gz" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:centos" + # workdir: /data/job + # timeout: 60 - - command: | - echo "+++ :hammer: Building" && \ - echo 1 | ./eosio_build.sh && \ - echo "--- :compression: Compressing build directory" && \ - tar -pczf build.tar.gz build/ - label: ":aws: Build" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: "build.tar.gz" - plugins: - docker#v1.4.0: - image: "eosio/ci:amazonlinux" - workdir: /data/job - timeout: 60 + # - command: | + # echo "+++ :hammer: Building" && \ + # echo 1 | ./eosio_build.sh && \ + # echo "--- :compression: Compressing build directory" && \ + # tar -pczf build.tar.gz build/ + # label: ":aws: Build" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: "build.tar.gz" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:amazonlinux" + # workdir: /data/job + # timeout: 60 - - wait + # - wait - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - label: ":darwin: High Sierra Tests" - agents: - - "role=macos-tester" - - "os=high-sierra" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + # label: ":darwin: High Sierra Tests" + # agents: + # - "role=macos-tester" + # - "os=high-sierra" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - label: ":darwin: High Sierra NP Tests" - agents: - - "role=macos-tester" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + # label: ":darwin: High Sierra NP Tests" + # agents: + # - "role=macos-tester" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - label: ":darwin: Mojave Tests" - agents: - - "role=tester" - - "os=mojave" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + # label: ":darwin: Mojave Tests" + # agents: + # - "role=tester" + # - "os=mojave" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - label: ":darwin: Mojave NP Tests" - agents: - - "role=tester" - - "os=mojave" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + # label: ":darwin: Mojave NP Tests" + # agents: + # - "role=tester" + # - "os=mojave" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # timeout: 60 - command: | echo "--- :arrow_down: Downloading build directory" && \ @@ -216,203 +216,203 @@ steps: workdir: /data/job timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - label: ":ubuntu: 18.04 Tests" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - plugins: - docker#v1.4.0: - image: "eosio/ci:ubuntu18" - workdir: /data/job - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + # label: ":ubuntu: 18.04 Tests" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:ubuntu18" + # workdir: /data/job + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - label: ":ubuntu: 18.04 NP Tests" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - plugins: - docker#v1.4.0: - image: "eosio/ci:ubuntu18" - workdir: /data/job - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + # label: ":ubuntu: 18.04 NP Tests" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:ubuntu18" + # workdir: /data/job + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":fedora: Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - label: ":fedora: Tests" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - plugins: - docker#v1.4.0: - image: "eosio/ci:fedora" - workdir: /data/job - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":fedora: Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + # label: ":fedora: Tests" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:fedora" + # workdir: /data/job + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":fedora: Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - label: ":fedora: NP Tests" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - plugins: - docker#v1.4.0: - image: "eosio/ci:fedora" - workdir: /data/job - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":fedora: Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + # label: ":fedora: NP Tests" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:fedora" + # workdir: /data/job + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":centos: Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - label: ":centos: Tests" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - plugins: - docker#v1.4.0: - image: "eosio/ci:centos" - workdir: /data/job - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":centos: Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + # label: ":centos: Tests" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:centos" + # workdir: /data/job + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":centos: Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - label: ":centos: NP Tests" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - plugins: - docker#v1.4.0: - image: "eosio/ci:centos" - workdir: /data/job - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":centos: Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + # label: ":centos: NP Tests" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:centos" + # workdir: /data/job + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":aws: Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - cd /data/job/build && ctest -j8 -LE _tests --output-on-failure - label: ":aws: Tests" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - plugins: - docker#v1.4.0: - image: "eosio/ci:amazonlinux" - workdir: /data/job - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":aws: Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # cd /data/job/build && ctest -j8 -LE _tests --output-on-failure + # label: ":aws: Tests" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:amazonlinux" + # workdir: /data/job + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":aws: Build" && \ - tar -zxf build.tar.gz && \ - echo "--- :m: Starting MongoDB" && \ - $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ - echo "+++ :microscope: Running tests" && \ - cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure - label: ":aws: NP Tests" - agents: - queue: "automation-large-builder-fleet" - artifact_paths: - - "mongod.log" - - "build/genesis.json" - - "build/config.ini" - plugins: - docker#v1.4.0: - image: "eosio/ci:amazonlinux" - workdir: /data/job - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":aws: Build" && \ + # tar -zxf build.tar.gz && \ + # echo "--- :m: Starting MongoDB" && \ + # $(which mongod) --fork --logpath "$(pwd)"/mongod.log && \ + # echo "+++ :microscope: Running tests" && \ + # cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure + # label: ":aws: NP Tests" + # agents: + # queue: "automation-large-builder-fleet" + # artifact_paths: + # - "mongod.log" + # - "build/genesis.json" + # - "build/config.ini" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:amazonlinux" + # workdir: /data/job + # timeout: 60 - - wait + # - wait - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ - tar -zxf build.tar.gz && \ - echo "+++ :microscope: Starting package build" && \ - ln -s "$(pwd)" /data/job && cd /data/job/build/packages && bash generate_package.sh brew - label: ":darwin: High Sierra Package Builder" - agents: - - "role=macos-builder" - - "os=high-sierra" - artifact_paths: - - "build/packages/*.tar.gz" - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \ + # tar -zxf build.tar.gz && \ + # echo "+++ :microscope: Starting package build" && \ + # ln -s "$(pwd)" /data/job && cd /data/job/build/packages && bash generate_package.sh brew + # label: ":darwin: High Sierra Package Builder" + # agents: + # - "role=macos-builder" + # - "os=high-sierra" + # artifact_paths: + # - "build/packages/*.tar.gz" + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ - tar -zxf build.tar.gz && \ - echo "+++ :microscope: Starting package build" && \ - ln -s "$(pwd)" /data/job && cd /data/job/build/packages && bash generate_package.sh brew - label: ":darwin: Mojave Package Builder" - agents: - - "role=builder" - - "os=mojave" - artifact_paths: - - "build/packages/*.tar.gz" - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \ + # tar -zxf build.tar.gz && \ + # echo "+++ :microscope: Starting package build" && \ + # ln -s "$(pwd)" /data/job && cd /data/job/build/packages && bash generate_package.sh brew + # label: ":darwin: Mojave Package Builder" + # agents: + # - "role=builder" + # - "os=mojave" + # artifact_paths: + # - "build/packages/*.tar.gz" + # timeout: 60 - command: | echo "--- :arrow_down: Downloading build directory" && \ @@ -434,76 +434,76 @@ steps: PKGTYPE: "deb" timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \ - tar -zxf build.tar.gz && \ - echo "+++ :microscope: Starting package build" && \ - cd /data/job/build/packages && bash generate_package.sh deb - label: ":ubuntu: 18.04 Package builder" - agents: - - "role=linux-builder" - artifact_paths: - - "build/packages/*.deb" - plugins: - docker#v1.4.0: - image: "eosio/ci:ubuntu18" - workdir: /data/job - env: - OS: "ubuntu-18.04" - PKGTYPE: "deb" - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \ + # tar -zxf build.tar.gz && \ + # echo "+++ :microscope: Starting package build" && \ + # cd /data/job/build/packages && bash generate_package.sh deb + # label: ":ubuntu: 18.04 Package builder" + # agents: + # - "role=linux-builder" + # artifact_paths: + # - "build/packages/*.deb" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:ubuntu18" + # workdir: /data/job + # env: + # OS: "ubuntu-18.04" + # PKGTYPE: "deb" + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":fedora: Build" && \ - tar -zxf build.tar.gz && \ - echo "+++ :microscope: Starting package build" && \ - yum install -y rpm-build && \ - mkdir -p /root/rpmbuild/BUILD && \ - mkdir -p /root/rpmbuild/BUILDROOT && \ - mkdir -p /root/rpmbuild/RPMS && \ - mkdir -p /root/rpmbuild/SOURCES && \ - mkdir -p /root/rpmbuild/SPECS && \ - mkdir -p /root/rpmbuild/SRPMS && \ - cd /data/job/build/packages && bash generate_package.sh rpm - label: ":fedora: Package builder" - agents: - - "role=linux-builder" - artifact_paths: - - "build/packages/x86_64/*.rpm" - plugins: - docker#v1.4.0: - image: "eosio/ci:fedora" - workdir: /data/job - env: - OS: "fc27" - PKGTYPE: "rpm" - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":fedora: Build" && \ + # tar -zxf build.tar.gz && \ + # echo "+++ :microscope: Starting package build" && \ + # yum install -y rpm-build && \ + # mkdir -p /root/rpmbuild/BUILD && \ + # mkdir -p /root/rpmbuild/BUILDROOT && \ + # mkdir -p /root/rpmbuild/RPMS && \ + # mkdir -p /root/rpmbuild/SOURCES && \ + # mkdir -p /root/rpmbuild/SPECS && \ + # mkdir -p /root/rpmbuild/SRPMS && \ + # cd /data/job/build/packages && bash generate_package.sh rpm + # label: ":fedora: Package builder" + # agents: + # - "role=linux-builder" + # artifact_paths: + # - "build/packages/x86_64/*.rpm" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:fedora" + # workdir: /data/job + # env: + # OS: "fc27" + # PKGTYPE: "rpm" + # timeout: 60 - - command: | - echo "--- :arrow_down: Downloading build directory" && \ - buildkite-agent artifact download "build.tar.gz" . --step ":centos: Build" && \ - tar -zxf build.tar.gz && \ - echo "+++ :microscope: Starting package build" && \ - yum install -y rpm-build && \ - mkdir -p /root/rpmbuild/BUILD && \ - mkdir -p /root/rpmbuild/BUILDROOT && \ - mkdir -p /root/rpmbuild/RPMS && \ - mkdir -p /root/rpmbuild/SOURCES && \ - mkdir -p /root/rpmbuild/SPECS && \ - mkdir -p /root/rpmbuild/SRPMS && \ - cd /data/job/build/packages && bash generate_package.sh rpm - label: ":centos: Package builder" - agents: - - "role=linux-builder" - artifact_paths: - - "build/packages/x86_64/*.rpm" - plugins: - docker#v1.4.0: - image: "eosio/ci:centos" - workdir: /data/job - env: - OS: "el7" - PKGTYPE: "rpm" - timeout: 60 + # - command: | + # echo "--- :arrow_down: Downloading build directory" && \ + # buildkite-agent artifact download "build.tar.gz" . --step ":centos: Build" && \ + # tar -zxf build.tar.gz && \ + # echo "+++ :microscope: Starting package build" && \ + # yum install -y rpm-build && \ + # mkdir -p /root/rpmbuild/BUILD && \ + # mkdir -p /root/rpmbuild/BUILDROOT && \ + # mkdir -p /root/rpmbuild/RPMS && \ + # mkdir -p /root/rpmbuild/SOURCES && \ + # mkdir -p /root/rpmbuild/SPECS && \ + # mkdir -p /root/rpmbuild/SRPMS && \ + # cd /data/job/build/packages && bash generate_package.sh rpm + # label: ":centos: Package builder" + # agents: + # - "role=linux-builder" + # artifact_paths: + # - "build/packages/x86_64/*.rpm" + # plugins: + # docker#v1.4.0: + # image: "eosio/ci:centos" + # workdir: /data/job + # env: + # OS: "el7" + # PKGTYPE: "rpm" + # timeout: 60