Skip to content

Commit

Permalink
enable caching of test container
Browse files Browse the repository at this point in the history
  • Loading branch information
cabeaulac committed Feb 13, 2024
1 parent 5e0b389 commit cd7bec0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/weekly_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- '*'
env:
LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
CACHE_TYPE: gha

jobs:
test:
Expand Down
6 changes: 6 additions & 0 deletions devops-tooling/docker-compose.ci_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ services:
build:
context: ..
dockerfile: devops-tooling/ci/Dockerfile
cache_to:
- type=${CACHE_TYPE},mode=max
cache_from:
- type=${CACHE_TYPE}

environment:
- MAPPING_DIR_NAME=${MAPPING_DIR_NAME}
- CI_TEST_NAME=${CI_TEST_NAME}
Expand All @@ -18,6 +23,7 @@ services:
- ../makefile:${MAPPING_DIR_NAME}/makefile
- ../run-lambdas.sh:${MAPPING_DIR_NAME}/run-lambdas.sh
- ../src:${MAPPING_DIR_NAME}/src
- ../ui:${MAPPING_DIR_NAME}/ui
depends_on:
- localhost.localstack.cloud
network_mode: "service:localhost.localstack.cloud"

0 comments on commit cd7bec0

Please sign in to comment.