Skip to content

Commit

Permalink
fleshed out code deploy, Dockerfile test
Browse files Browse the repository at this point in the history
  • Loading branch information
Michele Fabbri committed Apr 12, 2022
1 parent 575aafe commit 57e64ee
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,19 @@ jobs:
mv alyx/settings_ci.py alyx/settings.py
coverage run manage.py test -n
coveralls --service=github
cd ..
env:
DJANGO_SETTINGS_MODULE: alyx.settings
PYTHONPATH: $HOME/builds/cortexlab/alyx
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Flake
run: |
cd alyx/alyx
cd alyx
flake8 .
cd ../..
- name: Generate pip freeze requirements.txt
run: |
echo "The current directory: "
pwd
ls
pip freeze > requirements_frozen.txt
echo ">>> Contents of requirements_frozen.txt <<<"
cat requirements_frozen.txt
Expand All @@ -81,7 +82,8 @@ jobs:
aws s3 cp requirements_frozen.txt s3://$aws_s3_bucket/github_actions/
echo "The current directory: "
pwd
aws s3 cp /scripts/deployment_examples/alyx-docker/000-default-conf* s3://$aws_s3_bucket/github_actions/
ls
aws s3 cp ../scripts/deployment_examples/alyx-docker/000-default-conf* s3://$aws_s3_bucket/github_actions/
# aws s3 cp scripts/deployment_examples/alyx-docker/apache-conf* s3://$aws_s3_bucket/github_actions/
# aws s3 cp scripts/deployment_examples/alyx-docker/cloudwatch_config.json* s3://$aws_s3_bucket/github_actions/
# aws s3 cp scripts/deployment_examples/alyx-docker/Dockerfile.ibl s3://$aws_s3_bucket/github_actions/
Expand Down

0 comments on commit 57e64ee

Please sign in to comment.