Skip to content

Commit

Permalink
Adjust CI for teleport's needs.
Browse files Browse the repository at this point in the history
We no longer publish to pypi, or run tests against a live AWS account.
  • Loading branch information
wadells committed Sep 20, 2023
1 parent 2acffce commit f2662c6
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/teleport-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ on:
pull_request:
branches:
- teleport
- master
push:
branches:
- teleport
- master
tags:
- "*"

Expand All @@ -21,15 +19,10 @@ jobs:
python-version: "3.8"
- name: install
run: pip install .
- name: run all checks
if: ${{ false }}
run: aws-quota-checker check all
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: eu-central-1
- name: build package
run: python setup.py bdist_wheel

publish:
release:
runs-on: ubuntu-latest
needs: test
if: success() && github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
Expand All @@ -46,11 +39,6 @@ jobs:
run: python tools/extract-changelog-entry.py ${GITHUB_REF#refs/tags/} > changelog_entry
- name: build package
run: python setup.py bdist_wheel
- name: publish package
uses: pypa/gh-action-pypi-publish@b7f401de30cb6434a1e19f805ff006643653240e # v1.8.10
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
- name: create Release
uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1
env:
Expand Down

0 comments on commit f2662c6

Please sign in to comment.