local Pipeline(name, image) = { kind: "pipeline", name: name, platform: { "arch": "arm64" }, steps: [ { name: "test", image: image, commands: [ "apt-get install -yqq --no-install-recommends libpq-dev", "pip install -r requirements.txt", "python manage.py migrate", "python manage.py test" ] } ] }; [ Pipeline("python-3-6", "python:3.6"), Pipeline("python-3-7", "python:3.7"), Pipeline("python-3-8", "python:3.8"), Pipeline("python-3-9", "python:3.9"), ]