diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a749eec..ba97b45 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -5,7 +5,7 @@ on: branches: ["main"] env: - PYTHON_VERSION: "3.9.1" + PYTHON_VERSION: "3.10" jobs: shfmt: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 963bfb8..45e60b2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,12 +5,15 @@ on: branches: ["main"] env: - PYTHON_VERSION: "3.9.1" + PYTHON_VERSION: "3.10" jobs: test: name: Pytest runs-on: ubuntu-latest + strategy: + matrix: + python-version: [ "3.6", "3.7", "3.8", "3.9", "3.10" ] steps: - name: Check out code uses: actions/checkout@v2.4.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d8e59a..6b95b3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.2.1] - 2021-11-28 + +### Added + +Inline Docker + ## [0.2.0] - 2021-09-12 ### Added @@ -15,4 +21,3 @@ Inline Docker ### Added Initial Release - diff --git a/docker-compose.yaml b/docker-compose.yaml index d7ca847..1faad74 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -24,9 +24,9 @@ services: volumes: - "./hooks:/plugin" - bigquery-buildkite-plugin: &bigquery-buildkite-plugin + bigquery-buildkite-plugin: build: - dockerfile: "docker/service.dockerfile" + dockerfile: "docker/devbox.dockerfile" context: . args: *build_args image: wayfairossdev/bigquery-buildkite-plugin:${IMAGE_VERSION:-latest} @@ -52,7 +52,7 @@ services: command: "docker/run_tests.sh --format-code" lock-requirements: - <<: *bigquery-buildkite-plugin + <<: *devbox entrypoint: "/bin/bash" user: root command: "docker/lock_requirements.sh" diff --git a/plugin_scripts/requirements.lock b/plugin_scripts/requirements.lock index 8b6d5c6..3e30588 100644 --- a/plugin_scripts/requirements.lock +++ b/plugin_scripts/requirements.lock @@ -1,31 +1,31 @@ # THIS IS AN AUTOGENERATED LOCKFILE. DO NOT EDIT MANUALLY. -cachetools==4.2.2 -certifi==2021.5.30 -cffi==1.14.6 -charset-normalizer==2.0.4 -gbq==0.2.0 -google-api-core==2.0.1 -google-auth==2.0.2 -google-cloud-bigquery==2.26.0 -google-cloud-core==2.0.0 -google-crc32c==1.1.2 -google-resumable-media==2.0.2 +cachetools==4.2.4 +certifi==2021.10.8 +charset-normalizer==2.0.8 +gbq==0.4.0 +google-api-core==2.2.2 +google-auth==2.3.3 +google-cloud-bigquery==2.30.1 +google-cloud-core==2.2.1 +google-crc32c==1.3.0 +google-resumable-media==2.1.0 googleapis-common-protos==1.53.0 -grpcio==1.40.0 -idna==3.2 -packaging==21.0 -pip==21.0.1 -proto-plus==1.19.0 -protobuf==3.17.3 +grpcio==1.42.0 +grpcio-status==1.42.0 +idna==3.3 +packaging==21.3 +pip==21.2.4 +proto-plus==1.19.8 +protobuf==3.19.1 pyasn1==0.4.8 pyasn1-modules==0.2.8 -pycparser==2.20 pydantic==1.8.2 -pyparsing==2.4.7 +pyparsing==3.0.6 +python-dateutil==2.8.2 requests==2.26.0 -rsa==4.7.2 -setuptools==53.0.0 +rsa==4.8 +setuptools==57.5.0 six==1.16.0 -typing-extensions==3.10.0.2 -urllib3==1.26.6 -wheel==0.36.2 +typing_extensions==4.0.0 +urllib3==1.26.7 +wheel==0.37.0 diff --git a/requirements-test.txt b/requirements-test.txt index 110d1c2..e5c7aaf 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -5,4 +5,4 @@ isort==5.10.1 mypy==0.910 pytest==6.2.5 pytest-cov==3.0.0 -pytest-mock==3.6.1 \ No newline at end of file +pytest-mock==3.6.1 diff --git a/requirements.txt b/requirements.txt index cf0ef15..7ba7af4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,30 @@ -gbq==0.3.0 \ No newline at end of file +cachetools==4.2.4 +certifi==2021.10.8 +charset-normalizer==2.0.8 +gbq==0.4.0 +google-api-core==2.2.2 +google-auth==2.3.3 +google-cloud-bigquery==2.30.1 +google-cloud-core==2.2.1 +google-crc32c==1.3.0 +google-resumable-media==2.1.0 +googleapis-common-protos==1.53.0 +grpcio==1.42.0 +grpcio-status==1.42.0 +idna==3.3 +packaging==21.3 +pip==21.2.4 +proto-plus==1.19.8 +protobuf==3.19.1 +pyasn1==0.4.8 +pyasn1-modules==0.2.8 +pydantic==1.8.2 +pyparsing==3.0.6 +python-dateutil==2.8.2 +requests==2.26.0 +rsa==4.8 +setuptools==57.5.0 +six==1.16.0 +typing_extensions==4.0.0 +urllib3==1.26.7 +wheel==0.37.0