ci: build workflow - deploy to legacy sandbox (wip)
This commit is contained in:
parent
6fe0c513d2
commit
7a801c3c75
19
.github/workflows/build.yml
vendored
19
.github/workflows/build.yml
vendored
|
@ -512,8 +512,27 @@ jobs:
|
|||
DEBIAN_FRONTEND: noninteractive
|
||||
working-directory: /a/www/ietf-datatracker/main.dev.${{ github.run_number }}
|
||||
run: |
|
||||
echo "Copying settings from previous deploy..."
|
||||
cp ../web/ietf/settings_local.py ietf/
|
||||
echo "Installing Python dependencies..."
|
||||
python3.9 -mvenv env
|
||||
source env/bin/activate
|
||||
pip install -r requirements.txt
|
||||
pip freeze > frozen-requirements.txt
|
||||
echo "Collecting static..."
|
||||
ietf/manage.py collectstatic
|
||||
echo "Running checks..."
|
||||
ietf/manage.py check
|
||||
|
||||
- name: Update Docker Containers
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
working-directory: /a/docker/datatracker
|
||||
run: |
|
||||
echo "Pulling latest docker images..."
|
||||
docker image tag ghcr.io/ietf-tools/datatracker-celery:latest datatracker-celery-fallback
|
||||
docker image tag ghcr.io/ietf-tools/datatracker-mq:latest datatracker-mq-fallback
|
||||
docker-compose pull
|
||||
# echo "Shutting down containers..."
|
||||
# docker-compose down -t 300
|
||||
|
||||
|
|
Loading…
Reference in a new issue