Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WX-1579 gunicorn security update #794

Merged
merged 3 commits into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion TERRA_QUICKSTART.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ $ export CROMWELL_URL="http://192.XXX.Y.ZZZ:8000/api/workflows/v1"
```
or the one-liner:
```
$ export CROMWELL_URL="http://$(ifconfig | grep inet | grep broadcast | cut -d ' ' -f 2):8000/api/workflows/v1"
$ export CROMWELL_URL="http://$(ifconfig | grep inet | grep broadcast | head -n 1 | cut -d ' ' -f 2):8000/api/workflows/v1"
```

### Start JobManager
Expand Down
18 changes: 0 additions & 18 deletions servers/cromwell/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -371,21 +371,3 @@ To run unit and integration tests on the python-flask app, install
cd servers/cromwell
tox -- -s
```

## Generating `requirements.txt`

`requirements.txt` is autogenerated from `requirements-to-freeze.txt`. The
latter lists only direct dependencies. To regenerate run:
```
virtualenv --python=/usr/bin/python2 /tmp/cromwell-server-requirements
source /tmp/cromwell-server-requirements/bin/activate
```
Then, from the cromwell directory in this repo:
```
pip install -r requirements-to-freeze.txt
pip freeze | sort -f | sed 's/^jm-utils.*/\.\.\/jm_utils/g' > requirements.txt
deactivate
```

The sed command above replaces jm-utils=x.y.z with ../jm_utils, which is required
to allow pip to install from the local jm_utils directory.
7 changes: 0 additions & 7 deletions servers/cromwell/requirements-to-freeze.txt

This file was deleted.

2 changes: 1 addition & 1 deletion servers/cromwell/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ connexion==2.14.1
Flask==2.2.5
gevent==23.9
greenlet==2.0.2
gunicorn==20.1.0
gunicorn==22.0.0
idna==2.7
inflection==0.3.1
itsdangerous==2.1.2
Expand Down
15 changes: 0 additions & 15 deletions servers/jm_utils/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,3 @@ To run unit tests, install
cd servers/jm_utils
tox -- -s
```

## Generating `requirements.txt`

`requirements.txt` is autogenerated from `requirements-to-freeze.txt`. The
latter lists only direct dependencies. To regenerate, run:
```
virtualenv --python=/usr/bin/python2 /tmp/jm-utils-requirements
source /tmp/jm-utils-requirements/bin/activate
pip install -r servers/jm_utils/requirements-to-freeze.txt
pip freeze > servers/jm_utils/requirements.txt
deactivate
```

Any library dependencies also need to be added to the `REQUIRES` list in
`setup.py`
1 change: 0 additions & 1 deletion servers/jm_utils/requirements-to-freeze.txt

This file was deleted.

Loading