Skip to content

Commit

Permalink
Merge pull request #748 from mikaylathompson/disable-e2e-test-docker-…
Browse files Browse the repository at this point in the history
…image-caching
  • Loading branch information
peternied authored Jun 19, 2024
2 parents f91e12d + 0501b56 commit e805ed7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,10 @@ jobs:
cd test
chmod +x ./tests.py
pytest tests.py --unique_id="testindex"
- name: Clean up migrations docker images before caching
run: |
docker stop $(docker ps -q) && docker rm $(docker ps -aq)
docker image ls --format '{{.Repository}}:{{.Tag}}' | grep '^migrations/' | grep -v '<none>' | xargs -I {} docker image rm {}
cdk-tests:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions FetchMigration/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ RUN apt -y update
RUN apt -y install python3 python3-pip
RUN pip3 install --user -r requirements.txt


ENV FM_CODE_PATH /code
WORKDIR $FM_CODE_PATH
# Copy only source code
Expand Down

0 comments on commit e805ed7

Please sign in to comment.