From 07352442dbe98fd843c423900f49859553a1e930 Mon Sep 17 00:00:00 2001 From: Jan Michael Auer Date: Thu, 19 Oct 2017 15:51:52 +0200 Subject: [PATCH 1/4] ci(travis): Deploy tags to S3 --- .travis.yml | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index f5c28e3f0..cebfb5cad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -123,17 +123,21 @@ jobs: python: 3.6 env: TOXENV=py36-lambda -# - stage: deploy -# script: skip -# deploy: -# provider: pypi -# user: sentry -# distributions: "sdist--formats=gztar bdist_wheel" -# on: -# tags: true -# repo: getsentry/raven-python -# password: -# secure: cG4yO9C+42ljfMlCfIJEgmySUPDCmGht358UaaCum4qchpVaFrjPAvm2sUpr3cFhUmMH+ueUr7LBW2c+lriJyT7wwJlU7vwtECzr5aayUuSwwPpFu98lz8kwQny3KF2caMD15rbjXkDRjh1QXw4ztiuBZq9dLb5WDx3pIKVLLbQ= + - stage: deploy + script: ./setup.py sdist --formats=gztar bdist_wheel + if: tag IS present + deploy: + provider: s3 + access_key_id: AKIAJKYWAF3QS7SFL75Q + secret_access_key: + secure: HFlh3wzzYIbkIYRt+Qu60ak0U1+RFagr3nI+EqX/9KJH0zwLg/Xv1Gfx4vZZ+0VZkeJIbZZC5l4HxUzFwkROepxPh0Foifqm7hRKL4HUBdvIONcW+h3Ilanvyj/0tIyRdFPK5pZ22qc+1nsARy0eYEtz/YQeEhiEohvNxbhOuUQ= + skip_cleanup: true + acl: public_read + bucket: getsentry-builds + upload-dir: $TRAVIS_REPO_SLUG/$TRAVIS_COMMIT + local_dir: build + on: + tags: true script: tox install: From 52e036068d0d527f8a5a791f9357f57fcaf2736a Mon Sep 17 00:00:00 2001 From: Jan Michael Auer Date: Thu, 19 Oct 2017 15:53:27 +0200 Subject: [PATCH 2/4] ci(release): Activate the release bot --- .github/release.yml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .github/release.yml diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 000000000..9fe7023b6 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,3 @@ +targets: + - github + - pypi From 9ad56d82d13a545a4ca980790ddd878fd33a6738 Mon Sep 17 00:00:00 2001 From: Jan Michael Auer Date: Thu, 19 Oct 2017 15:54:23 +0200 Subject: [PATCH 3/4] meta(changelog): Move the changelog to the standard location --- CHANGES => CHANGELOG.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename CHANGES => CHANGELOG.md (100%) diff --git a/CHANGES b/CHANGELOG.md similarity index 100% rename from CHANGES rename to CHANGELOG.md From 83078a18c733cae490d767123a39e4d2dc83f09b Mon Sep 17 00:00:00 2001 From: Jan Michael Auer Date: Thu, 19 Oct 2017 15:57:06 +0200 Subject: [PATCH 4/4] ci(travis): Set python version explicitly on deploy --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index cebfb5cad..0ff228f1e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -126,6 +126,7 @@ jobs: - stage: deploy script: ./setup.py sdist --formats=gztar bdist_wheel if: tag IS present + python: 2.7 deploy: provider: s3 access_key_id: AKIAJKYWAF3QS7SFL75Q