Commit ea3aabcd authored by Builder Robot's avatar Builder Robot

update gitlab-ci.yml from epmp list

parent 8e3e7fa1
Pipeline #17070 passed with stages
in 258 minutes 12 seconds
prepare:
stage: build
# AUTOGENERATED BY gen-ci.sh
stages:
- download_test
- publish_download_logs
- test
- summary
variables:
CI_USE_IPFS: "1"
download_all_p11:
stage: download_test
allow_failure: true
image: alt:p11
tags:
- access
before_script:
- ./bin/epm -y repo set etersoft
- ./bin/epm update
- ./bin/epm -y install wget glibc-pthread file patool
- ./bin/epm play --auto --ipfs kubo
script:
- apt-get update && apt-get install -y git wget
- bash ci/gen-ci.sh > .gitlab-ci.yml
- git config user.name "builder-robot"
- git config user.email "builder-robot@etersoft.ru"
- |
if [ -n "$FULL_TEST" ]; then
CI_GENERATED_BRANCH="ci-generated-full-test"
elif [ -n "$GET_VERSION" ]; then
CI_GENERATED_BRANCH="ci-generated-get-version"
else
CI_GENERATED_BRANCH="ci-generated"
fi
echo "Using generated branch: ${CI_GENERATED_BRANCH}"
git checkout -B "${CI_GENERATED_BRANCH}"
- git add .gitlab-ci.yml
- git commit -m "update gitlab-ci.yml from epmp list" --allow-empty
- git remote set-url origin https://builder-robot:$CI_PUSH_TOKEN@gitlab.eterfund.ru/builder-robot/eepm.git
- git push -f origin "${CI_GENERATED_BRANCH}" 2>/dev/null
only:
- schedules
- mkdir -p ipfs/logs ipfs/errors
- echo "NOTE detailed download output is hidden see artifacts ipfs/logs and ipfs/errors"
- echo "Sleep 90s before download 1c-connect"
- sleep 90
- if ! bash ./ci/prepare_ipfs.sh 1c-connect >/dev/null 2>&1; then echo "WARN download failed 1c-connect, see ipfs/errors/1c-connect-download.log"; else echo "OK download 1c-connect"; fi
- echo "Sleep 90s before download 64gram"
- sleep 90
- if ! bash ./ci/prepare_ipfs.sh 64gram >/dev/null 2>&1; then echo "WARN download failed 64gram, see ipfs/errors/64gram-download.log"; else echo "OK download 64gram"; fi
- echo "Sleep 90s before download affine"
- sleep 90
- if ! bash ./ci/prepare_ipfs.sh affine >/dev/null 2>&1; then echo "WARN download failed affine, see ipfs/errors/affine-download.log"; else echo "OK download affine"; fi
- echo "Sleep 90s before download ahk_x11"
- sleep 90
- if ! bash ./ci/prepare_ipfs.sh ahk_x11 >/dev/null 2>&1; then echo "WARN download failed ahk_x11, see ipfs/errors/ahk_x11-download.log"; else echo "OK download ahk_x11"; fi
- echo "Sleep 90s before download aimp"
- sleep 90
- if ! bash ./ci/prepare_ipfs.sh aimp >/dev/null 2>&1; then echo "WARN download failed aimp, see ipfs/errors/aimp-download.log"; else echo "OK download aimp"; fi
- echo "Sleep 90s before download aksusbd"
- sleep 90
- if ! bash ./ci/prepare_ipfs.sh aksusbd >/dev/null 2>&1; then echo "WARN download failed aksusbd, see ipfs/errors/aksusbd-download.log"; else echo "OK download aksusbd"; fi
- echo "Sleep 90s before download alivecolors"
- sleep 90
- if ! bash ./ci/prepare_ipfs.sh alivecolors >/dev/null 2>&1; then echo "WARN download failed alivecolors, see ipfs/errors/alivecolors-download.log"; else echo "OK download alivecolors"; fi
- echo "Sleep 90s before download alteroffice"
- sleep 90
- if ! bash ./ci/prepare_ipfs.sh alteroffice >/dev/null 2>&1; then echo "WARN download failed alteroffice, see ipfs/errors/alteroffice-download.log"; else echo "OK download alteroffice"; fi
artifacts:
when: always
expire_in: 7 days
paths:
- ipfs
publish_download_logs:
stage: publish_download_logs
image: alt:p11
tags:
- access
when: always
dependencies:
- download_all_p11
before_script:
- ./bin/epm -y repo set etersoft
- ./bin/epm update
- ./bin/epm -y install git rsync
script:
- echo "Publishing logs and IPFS DB"
- echo "IPFS files $(find ipfs -type f | wc -l)"
- du -sh ipfs || true
- bash ./ci/push-ipfs-db.sh
artifacts:
when: always
expire_in: 7 days
paths:
- ipfs
# YAML anchors for test jobs and system-specific setup.
.test_template: &test_template
stage: test
allow_failure: true
tags:
- access
artifacts:
when: always
expire_in: 7 days
paths:
- epm-results
.test_alt_ipfs: &test_alt_ipfs
before_script:
- ./bin/epm -y repo set etersoft
- ./bin/epm update
- ./bin/epm -y install wget glibc-pthread file
- mkdir -p /var/lib/eepm
- cp ipfs/eget-ipfs-db.txt /var/lib/eepm/eget-ipfs-db.txt
.test_alt_latest: &test_alt_latest
before_script:
- ./bin/epm -y repo set etersoft
- ./bin/epm update
- ./bin/epm -y install wget glibc-pthread file
- mkdir -p /var/lib/eepm
.test_debian_ipfs: &test_debian_ipfs
before_script:
- ./bin/epm update
- ./bin/epm install -y bash wget ca-certificates coreutils file
- mkdir -p /var/lib/eepm
- cp ipfs/eget-ipfs-db.txt /var/lib/eepm/eget-ipfs-db.txt
.test_debian_latest: &test_debian_latest
before_script:
- ./bin/epm update
- ./bin/epm install -y bash wget ca-certificates coreutils file
- mkdir -p /var/lib/eepm
.test_default_ipfs: &test_default_ipfs
before_script:
- ./bin/epm -y install wget file bash
- mkdir -p /var/lib/eepm
- cp ipfs/eget-ipfs-db.txt /var/lib/eepm/eget-ipfs-db.txt
.test_default_latest: &test_default_latest
before_script:
- ./bin/epm -y install wget file bash
- mkdir -p /var/lib/eepm
1c_connect_alt_sisyphus_test:
<<: [*test_template, *test_alt_ipfs]
image: alt:sisyphus
dependencies:
- publish_download_logs
script:
- bash ./ci/run_one_ci.sh 1c-connect
1c_connect_debian_bookworm_test:
<<: [*test_template, *test_debian_ipfs]
image: debian:bookworm
dependencies:
- publish_download_logs
script:
- bash ./ci/run_one_ci.sh 1c-connect
1c_connect_fedora_latest_test:
<<: [*test_template, *test_default_ipfs]
image: fedora:latest
dependencies:
- publish_download_logs
script:
- bash ./ci/run_one_ci.sh 1c-connect
64gram_alt_sisyphus_test:
<<: [*test_template, *test_alt_ipfs]
image: alt:sisyphus
dependencies:
- publish_download_logs
script:
- bash ./ci/run_one_ci.sh 64gram
64gram_debian_bookworm_test:
<<: [*test_template, *test_debian_ipfs]
image: debian:bookworm
dependencies:
- publish_download_logs
script:
- bash ./ci/run_one_ci.sh 64gram
64gram_fedora_latest_test:
<<: [*test_template, *test_default_ipfs]
image: fedora:latest
dependencies:
- publish_download_logs
script:
- bash ./ci/run_one_ci.sh 64gram
affine_alt_sisyphus_test:
<<: [*test_template, *test_alt_ipfs]
image: alt:sisyphus
dependencies:
- publish_download_logs
script:
- bash ./ci/run_one_ci.sh affine
affine_debian_bookworm_test:
<<: [*test_template, *test_debian_ipfs]
image: debian:bookworm
dependencies:
- publish_download_logs
script:
- bash ./ci/run_one_ci.sh affine
affine_fedora_latest_test:
<<: [*test_template, *test_default_ipfs]
image: fedora:latest
dependencies:
- publish_download_logs
script:
- bash ./ci/run_one_ci.sh affine
ahk_x11_alt_sisyphus_test:
<<: [*test_template, *test_alt_ipfs]
image: alt:sisyphus
dependencies:
- publish_download_logs
script:
- bash ./ci/run_one_ci.sh ahk_x11
ahk_x11_debian_bookworm_test:
<<: [*test_template, *test_debian_ipfs]
image: debian:bookworm
dependencies:
- publish_download_logs
script:
- bash ./ci/run_one_ci.sh ahk_x11
ahk_x11_fedora_latest_test:
<<: [*test_template, *test_default_ipfs]
image: fedora:latest
dependencies:
- publish_download_logs
script:
- bash ./ci/run_one_ci.sh ahk_x11
aimp_alt_sisyphus_test:
<<: [*test_template, *test_alt_ipfs]
image: alt:sisyphus
dependencies:
- publish_download_logs
script:
- bash ./ci/run_one_ci.sh aimp
aimp_debian_bookworm_test:
<<: [*test_template, *test_debian_ipfs]
image: debian:bookworm
dependencies:
- publish_download_logs
script:
- bash ./ci/run_one_ci.sh aimp
aimp_fedora_latest_test:
<<: [*test_template, *test_default_ipfs]
image: fedora:latest
dependencies:
- publish_download_logs
script:
- bash ./ci/run_one_ci.sh aimp
aksusbd_alt_sisyphus_test:
<<: [*test_template, *test_alt_ipfs]
image: alt:sisyphus
dependencies:
- publish_download_logs
script:
- bash ./ci/run_one_ci.sh aksusbd
aksusbd_debian_bookworm_test:
<<: [*test_template, *test_debian_ipfs]
image: debian:bookworm
dependencies:
- publish_download_logs
script:
- bash ./ci/run_one_ci.sh aksusbd
aksusbd_fedora_latest_test:
<<: [*test_template, *test_default_ipfs]
image: fedora:latest
dependencies:
- publish_download_logs
script:
- bash ./ci/run_one_ci.sh aksusbd
alivecolors_alt_sisyphus_test:
<<: [*test_template, *test_alt_ipfs]
image: alt:sisyphus
dependencies:
- publish_download_logs
script:
- bash ./ci/run_one_ci.sh alivecolors
alivecolors_debian_bookworm_test:
<<: [*test_template, *test_debian_ipfs]
image: debian:bookworm
dependencies:
- publish_download_logs
script:
- bash ./ci/run_one_ci.sh alivecolors
alivecolors_fedora_latest_test:
<<: [*test_template, *test_default_ipfs]
image: fedora:latest
dependencies:
- publish_download_logs
script:
- bash ./ci/run_one_ci.sh alivecolors
alteroffice_alt_sisyphus_test:
<<: [*test_template, *test_alt_ipfs]
image: alt:sisyphus
dependencies:
- publish_download_logs
script:
- bash ./ci/run_one_ci.sh alteroffice
alteroffice_debian_bookworm_test:
<<: [*test_template, *test_debian_ipfs]
image: debian:bookworm
dependencies:
- publish_download_logs
script:
- bash ./ci/run_one_ci.sh alteroffice
alteroffice_fedora_latest_test:
<<: [*test_template, *test_default_ipfs]
image: fedora:latest
dependencies:
- publish_download_logs
script:
- bash ./ci/run_one_ci.sh alteroffice
summary_ci:
stage: summary
image: alt:p11
tags:
- access
when: always
variables:
CI_RESULTS_DIR: "epm-results"
CI_RESULTS_LABEL: "full-test"
before_script:
- ./bin/epm -y repo set etersoft
- ./bin/epm update
- ./bin/epm -y install git rsync
script:
- bash ./ci/push-results-ci.sh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment