55 branches :
66 - ' **'
77 tags-ignore :
8- - ' **'
9- paths-ignore : # Don't trigger on files that are updated by the CI
10- - ' pyproject.toml' # Note changes to poetry.lock will still build
11- - ' setup.py'
12- - ' README.rst'
8+ - ' *.*'
139
1410jobs :
1511
@@ -19,61 +15,55 @@ jobs:
1915 - uses : actions/checkout@v1
2016 - name : Perform housekeeping checks
2117 env :
22- GCLOUD_CONTAINER_AUTH : ${{ secrets.GCLOUD_CONTAINER_AUTH }}
2318 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2419 run : |
2520 source <(curl -sL http://ci.q-ctrl.com)
2621 ./ci vault login -r ${{ secrets.VAULT_ROLE_ID }} -s ${{ secrets.VAULT_SECRET_ID }}
27- ./ci docker run asia.gcr.io/q-ctrl-api-development/ python-37 /scripts/housekeeping.sh
22+ ./ci docker run qctrl/ python-build:3.7 /scripts/housekeeping.sh
2823
2924 linting :
3025 runs-on : ubuntu-latest
3126 steps :
3227 - uses : actions/checkout@v1
3328 - name : Install Python dependencies
34- env :
35- GCLOUD_CONTAINER_AUTH : ${{ secrets.GCLOUD_CONTAINER_AUTH }}
3629 run : |
3730 source <(curl -sL http://ci.q-ctrl.com)
3831 ./ci vault login -r ${{ secrets.VAULT_ROLE_ID }} -s ${{ secrets.VAULT_SECRET_ID }}
39- ./ci docker run asia.gcr.io/q-ctrl-api-development/ python-37 /scripts/install-python-dependencies.sh
32+ ./ci docker run qctrl/ python-build:3.7 /scripts/install-python-dependencies.sh
4033 - name : Run Pylint
4134 run : |
42- ./ci docker run asia.gcr.io/q-ctrl-api-development/ python-37 poetry run pylint_runner || true
35+ ./ci docker run qctrl/ python-build:3.7 poetry run pylint_runner || true
4336 - name : Run Pylama
4437 run : |
45- ./ci docker run asia.gcr.io/q-ctrl-api-development/ python-37 poetry run pylama || true
38+ ./ci docker run qctrl/ python-build:3.7 poetry run pylama || true
4639 - name : Run Markdownlint
4740 run : |
48- ./ci docker run asia.gcr.io/q-ctrl-api-development/ python-37 mdl -- -ig . || true
41+ ./ci docker run qctrl/ python-build:3.7 mdl -- -ig . || true
4942
5043 pytest :
5144 runs-on : ubuntu-latest
5245 strategy :
5346 matrix :
54- python : [36, 37 ]
47+ python : [3.6, 3.7 ]
5548 steps :
5649 - uses : actions/checkout@v1
5750 - name : Install Python dependencies
58- env :
59- GCLOUD_CONTAINER_AUTH : ${{ secrets.GCLOUD_CONTAINER_AUTH }}
6051 run : |
6152 source <(curl -sL http://ci.q-ctrl.com)
6253 ./ci vault login -r ${{ secrets.VAULT_ROLE_ID }} -s ${{ secrets.VAULT_SECRET_ID }}
63- ./ci docker run asia.gcr.io/q-ctrl-api-development/ python-${{ matrix.python }} /scripts/install-python-dependencies.sh
54+ ./ci docker run qctrl/ python-build: ${{ matrix.python }} /scripts/install-python-dependencies.sh
6455 - name : Run Pytest
6556 run : |
66- ./ci docker run asia.gcr.io/q-ctrl-api-development/ python-${{ matrix.python }} /scripts/pytest.sh
57+ ./ci docker run qctrl/ python-build: ${{ matrix.python }} /scripts/pytest.sh
6758
6859 publish_internally :
6960 runs-on : ubuntu-latest
7061 steps :
7162 - uses : actions/checkout@v1
7263 - name : Publish development version
7364 env :
74- GCLOUD_CONTAINER_AUTH : ${{ secrets.GCLOUD_CONTAINER_AUTH }}
7565 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7666 run : |
7767 source <(curl -sL http://ci.q-ctrl.com)
7868 ./ci vault login -r ${{ secrets.VAULT_ROLE_ID }} -s ${{ secrets.VAULT_SECRET_ID }}
79- ./ci docker run asia.gcr.io/q-ctrl-api-development/ python-37 /scripts/publish-dev-version.sh
69+ ./ci docker run qctrl/ python-build:3.7 /scripts/publish-dev-version.sh
0 commit comments