Skip to content

Commit

Permalink
Cleanup requirements.txt and dev-requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Mar 2, 2022
1 parent 138693a commit c976eb9
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 16 deletions.
1 change: 0 additions & 1 deletion .github/actions/deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ runs:
- name: Setup dependencies
run: |
python3 -m pip install -r requirements.txt
python3 -m pip install -r dev-requirements.txt
shell: bash
- name: Deploy support components
run: |
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/deploy-grafana-dashboards.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
- name: Setup dependencies
run: |
python3 -m pip install -r requirements.txt
python3 -m pip install -r dev-requirements.txt
sudo apt install jsonnet
- name: Setup gcloud
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/deploy-hubs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ jobs:
- "deployer/**"
- "helm-charts/**"
- "requirements.txt"
- "dev-requirements.txt"
- "config/secrets.yaml"
- ".github/workflows/deploy-hubs.yaml"
- ".github/actions/deploy/*"
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/doc-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
# chartpress is used by doc/conf.py,
# and requires information about the latest tagged commit, which
# requires the git history.
fetch-depth: 0

- name: Install environment
uses: conda-incubator/setup-miniconda@v2
Expand Down
14 changes: 11 additions & 3 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
pytest
pytest-asyncio
# These requirements represents the needs for doing various tasks in this git
# repo besides using the deployer script.
#

# chartpress is relevant to build and push helm-charts/images/hub/Dockerfile and
# update basehub's default values to reference the new image.
chartpress

# requests is used by extra_scripts/rsync-active-users.py
requests
beautifulsoup4

# rich is used by extra_scripts/count-auth0-apps.py
rich
1 change: 0 additions & 1 deletion docs/reference/ci-cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ following paths are modified:
- deployer/**
- helm-charts/**
- requirements.txt
- dev-requirements.txt
- config/secrets.yaml
- config/clusters/**
- .github/workflows/deploy-hubs.yaml
Expand Down
19 changes: 15 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
backoff
chartpress
six # temp workaround for docker==5.0.0, used by chartpress, that failed to depend on six
# This file represents the needs for the deployer script to function, while the
# dev-requirements.txt file represents the needs in this repo in general.
#

# ruamel.yaml is used to read and write .yaml files.
ruamel.yaml

# auth0 is used to communicate with Auth0's REST API that we integrate with in
# various ways.
auth0-python
jhub-client==0.1.4

# jsonschema is used for validating cluster.yaml configurations
jsonschema

# jhub_client, pytest, and pytest_asyncio are used for our health checks
jhub-client==0.1.4
pytest
pytest-asyncio

0 comments on commit c976eb9

Please sign in to comment.