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

feat: implement new cache system for Docker #152

Closed
wants to merge 54 commits into from
Closed
Show file tree
Hide file tree
Changes from 52 commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
9847934
fix: first change
olehbairak Jan 19, 2024
20fad8a
fix: new try
olehbairak Jan 19, 2024
ca105d1
fix: new version
olehbairak Jan 19, 2024
8551462
fix: check dockers
olehbairak Jan 22, 2024
4c87374
fix: new one
olehbairak Jan 22, 2024
93dca47
fix: new steps
olehbairak Jan 23, 2024
0db89f8
fix: new one
olehbairak Jan 23, 2024
2fdc3e9
fix: new
olehbairak Jan 23, 2024
8c688b1
fix: clean
olehbairak Jan 24, 2024
ec45d1d
fix: check dirs
olehbairak Jan 24, 2024
70bca70
fix: new version
olehbairak Jan 24, 2024
ae4c49e
fix: clean
olehbairak Jan 24, 2024
cd2b510
fix: new
olehbairak Jan 24, 2024
a138ce3
fix: new way
olehbairak Jan 24, 2024
edfdabe
fix: new one
olehbairak Jan 24, 2024
98540c8
fix: new one
olehbairak Jan 24, 2024
2195310
fix: check
olehbairak Jan 24, 2024
11781af
fix: new one
olehbairak Jan 24, 2024
92c043e
fix: new one
olehbairak Jan 24, 2024
2dd469a
fix: new version
olehbairak Jan 24, 2024
d059350
fix: new one
olehbairak Jan 24, 2024
e764f5a
fix: new one
olehbairak Jan 24, 2024
5334628
fix: new one
olehbairak Jan 24, 2024
88c4839
fix: new one
olehbairak Jan 24, 2024
e55db19
fix: new one
olehbairak Jan 24, 2024
ab33a92
fix: new
olehbairak Jan 24, 2024
2290d35
fix: new one old prev
olehbairak Jan 24, 2024
c90456b
fix: new
olehbairak Jan 24, 2024
ddf6ba8
fix: mew
olehbairak Jan 24, 2024
79220e8
fix: new one
olehbairak Jan 24, 2024
652a66f
fix: new one
olehbairak Jan 24, 2024
92813b6
fix: new one
olehbairak Jan 24, 2024
2f6ac38
fix: new one
olehbairak Jan 24, 2024
22d04a7
fix: new one
olehbairak Jan 25, 2024
6f9387e
fix: new one
olehbairak Jan 25, 2024
b7480ab
fix: new
olehbairak Jan 25, 2024
1285c46
fix: new one
olehbairak Jan 25, 2024
0c1afde
fix: new one
olehbairak Jan 25, 2024
f9ecf18
fix: new one thought google repo
olehbairak Jan 25, 2024
a1842eb
fix: new one
olehbairak Jan 25, 2024
4a9d450
fix: test
olehbairak Jan 26, 2024
1d003a2
fix: new one
olehbairak Jan 26, 2024
089a845
fix: retry
olehbairak Jan 29, 2024
3bd97d7
fix: new one
olehbairak Jan 29, 2024
3f3f60f
fix: new one
olehbairak Jan 29, 2024
adeef4e
fix: add if statement
olehbairak Jan 30, 2024
769da5a
Update integration-tests-api.yml
olehbairak Jan 30, 2024
3336a18
Update docker-compose.yaml
olehbairak Jan 30, 2024
089b0c4
Update docker-compose.yaml
olehbairak Jan 30, 2024
4f9df7c
Update docker-compose.yaml
olehbairak Jan 30, 2024
4a5415f
Update docker-compose.yaml
olehbairak Jan 30, 2024
e40924e
Update README.md
olehbairak Jan 30, 2024
b26215d
fix: check docker storage version
olehbairak Jan 30, 2024
8b2277d
fix: check Docker storage version
olehbairak Jan 30, 2024
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
7 changes: 7 additions & 0 deletions .github/workflows/api-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
run: |
docker-compose -f "docker-compose.e2e.yaml" up -d --build

- name: Print Working Directory
run: |
pwd

- name: Setup Node.js
uses: actions/setup-node@v3
with:
Expand All @@ -41,6 +45,9 @@ jobs:
run: |
npm ci --ignore-scripts

- name: List running containers
run: docker ps

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This changes will be removed, before the approve.
I used them in order to receive important information for new feature implementation.

- name: Run e2e tests
run: |
npm run test:e2e
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/integration-tests-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ jobs:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Cache Docker images.
uses: ScribeMD/[email protected]
if: steps.cache.outputs.cache-hit != 'true'
with:
key: docker-${{ runner.os }}-${{ hashFiles('docker-compose.yaml') }}

- name: Start docker containers
run: |
docker-compose -f "docker-compose.yaml" up -d --build
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,4 @@ volumes:
geth:
postgres:
zksync-config:
zksync-data:
zksync-data:
Loading