Commit fafdfd40 authored by Ivan Mazhukin's avatar Ivan Mazhukin

epm: add periodic gitlab CI (eterbug #18412)

parent 48514a65
stages:
- build
generate_ci:
stage: build
tags:
- access
script:
- apt-get update && apt-get install -y git wget
- bash gen-ci.sh > .gitlab-ci.yml
- git config user.name "CI Bot"
- git config user.email "ci@etersoft.ru"
- git checkout -B ci-generated
- git add .gitlab-ci.yml
- git commit -m "update gitlab-ci.yml from epmp list"
- git remote set-url origin https://vanomj:$CI_PUSH_TOKEN@gitlab.eterfund.ru/vanomj/eepm.git
- git push -f origin ci-generated
only:
refs:
- schedules
\ No newline at end of file
#!/bin/bash
set -e
echo "# AUTOGENERATED BY gen-ci.sh"
echo "stages:"
echo " - test"
echo ""
apps=$(./bin/epmp --short 2>/dev/null || true)
for app in $apps; do
job_name="test_${app//[^a-zA-Z0-9_]/_}"
echo "${job_name}:"
echo " stage: test"
echo " image: alt:p11"
echo " tags:"
echo " - access"
echo " script:"
echo " - cd bin"
echo " - ./epmu"
echo " - ./epmi -y wget glibc-pthread"
echo " - ./epm play --auto --verbose --ipfs $app"
echo ""
done
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