From c5a59ab10b9d4505ee28774ba3648091fb71cc1f Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Wed, 7 Apr 2021 08:43:29 +0200 Subject: [PATCH] Delete some obsolete leftovers --- scripts/make_ci_conf.py | 48 ----------------------------------------- scripts/tests.template | 21 ------------------ 2 files changed, 69 deletions(-) delete mode 100755 scripts/make_ci_conf.py delete mode 100644 scripts/tests.template diff --git a/scripts/make_ci_conf.py b/scripts/make_ci_conf.py deleted file mode 100755 index a56c6b1..0000000 --- a/scripts/make_ci_conf.py +++ /dev/null @@ -1,48 +0,0 @@ -#!/usr/bin/env python -from pathlib import Path - -REPO_ROOT = Path(__file__).parent.parent - -builds = [ - { - "BUILD": "style", - "REQUIREMENTS": "release", - "DAV_SERVER": "skip", - }, - { - "ETESYNC_TESTS": "true", - "BUILD": "test", - "REQUIREMENTS": "release", - "DAV_SERVER": "skip", - }, -] - -# XXX: Use `devel` here for recent python versions: -for requirements in ("release", "minimal"): - # XXX: `fastmail` has been left out here: - dav_servers = ("radicale", "xandikos") - - builds.append( - { - "BUILD": "test", - "REQUIREMENTS": requirements, - "DAV_SERVER": "skip", - }, - ) - - for dav_server in dav_servers: - job = { - "BUILD": "test-storage", - "REQUIREMENTS": requirements, - "DAV_SERVER": dav_server, - } - - -with open(REPO_ROOT / "scripts" / "tests.template") as f: - template = f.read() - -# TODO: Delete previous ones... - -for i, build in enumerate(builds): - with open(REPO_ROOT / ".builds" / f"{i}.yaml", "w") as f: - f.write(template.format(**build)) diff --git a/scripts/tests.template b/scripts/tests.template deleted file mode 100644 index 71181be..0000000 --- a/scripts/tests.template +++ /dev/null @@ -1,21 +0,0 @@ -# vim: ft=yaml - -image: archlinux -packages: - - docker - - python-pip -sources: - - https://github.com/pimutils/vdirsyncer -environment: - BUILD: {BUILD} - REQUIREMENTS: {REQUIREMENTS} - DAV_SERVER: {DAV_SERVER} -tasks: - - setup: | - cd vdirsyncer - make -e install-$BUILD - - test: | - cd vdirsyncer - # Non-system python is used for packages: - export PATH=$PATH:~/.local/bin/ - make -e $BUILD