runners: global: env: - name: A value: A - name: B value: B - name: C value: C workdir: . python: env: - name: A value: D dependencies: - flake8 - build docker: credentials: username: D password: D jobs: - name: env type: python changes: branch: origin/master paths: - "docs" - "alice-ci" env: - name: B value: E commands: - "-c \"from os import environ; assert environ['A'] == 'D'; assert environ['B'] == 'E'; assert environ['C'] == 'C'; print('Assertions passed')\"" - name: lint type: python workdir: alice-ci/src commands: - "-m flake8 --ignore E501" - name: pkg type: pypi workdir: . upload: false fail_if_exists: false # TODO: currently unused repo: uri: example.com username: from_env: PYPIUSER password: from_env: PYPIPASS packages: - alice-ci - name: "image" type: docker credentials: username: A #password: B image: build: dir: ci-examples/images/hello #dockerfile: ci-examples/images/hello/Dockerfile dockerfile: Dockerfile name: "sssss" args: - name: CIPASS value: NONE #pull: #name: python:latest #credentials: #username: PASS #password: WORD env: - name: VAR value: CHAR commands: - which python3 - /usr/bin/python3 --version - date - env tag: publish: false name: repo.example.com/test/na credentials: username: B password: B - name: pypi_init type: pypirepo enabled: true port: 8888 container_name: pypiserver pipelines: default: - lint - env - pkg