mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
another try fixing run id
This commit is contained in:
parent
4d61163868
commit
b1feca35d6
12
.github/workflows/test-backend.yml
vendored
12
.github/workflows/test-backend.yml
vendored
@ -40,7 +40,7 @@ jobs:
|
|||||||
uses: actions/cache/save@v3.3.1
|
uses: actions/cache/save@v3.3.1
|
||||||
with:
|
with:
|
||||||
path: /tmp/neo4j.tar
|
path: /tmp/neo4j.tar
|
||||||
key: backend-neo4j-cache-$GITHUB_RUN_NUMBER
|
key: backend-neo4j-cache-${{github.run_id}}
|
||||||
|
|
||||||
build_test_backend:
|
build_test_backend:
|
||||||
name: Docker Build Test - Backend
|
name: Docker Build Test - Backend
|
||||||
@ -61,7 +61,7 @@ jobs:
|
|||||||
uses: actions/cache/save@v3.3.1
|
uses: actions/cache/save@v3.3.1
|
||||||
with:
|
with:
|
||||||
path: /tmp/backend.tar
|
path: /tmp/backend.tar
|
||||||
key: backend-cache-$GITHUB_RUN_NUMBER
|
key: backend-cache-${{github.run_id}}
|
||||||
|
|
||||||
lint_backend:
|
lint_backend:
|
||||||
name: Lint Backend
|
name: Lint Backend
|
||||||
@ -90,14 +90,14 @@ jobs:
|
|||||||
uses: actions/cache/restore@v3.3.1
|
uses: actions/cache/restore@v3.3.1
|
||||||
with:
|
with:
|
||||||
path: /tmp/neo4j.tar
|
path: /tmp/neo4j.tar
|
||||||
key: backend-neo4j-cache-$GITHUB_RUN_NUMBER
|
key: backend-neo4j-cache-${{github.run_id}}
|
||||||
fail-on-cache-miss: true
|
fail-on-cache-miss: true
|
||||||
|
|
||||||
- name: Restore Backend cache
|
- name: Restore Backend cache
|
||||||
uses: actions/cache/restore@v3.3.1
|
uses: actions/cache/restore@v3.3.1
|
||||||
with:
|
with:
|
||||||
path: /tmp/backend.tar
|
path: /tmp/backend.tar
|
||||||
key: backend-cache-$GITHUB_RUN_NUMBER
|
key: backend-cache-${{github.run_id}}
|
||||||
fail-on-cache-miss: true
|
fail-on-cache-miss: true
|
||||||
|
|
||||||
- name: Load Docker Images
|
- name: Load Docker Images
|
||||||
@ -134,7 +134,7 @@ jobs:
|
|||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
gh extension install actions/gh-actions-cache
|
gh extension install actions/gh-actions-cache
|
||||||
KEY="backend-neo4j-cache-$GITHUB_RUN_NUMBER"
|
KEY="backend-neo4j-cache-$(($GITHUB_RUN_NUMBER))"
|
||||||
gh actions-cache delete $KEY -R Ocelot-Social-Community/Ocelot-Social --confirm
|
gh actions-cache delete $KEY -R Ocelot-Social-Community/Ocelot-Social --confirm
|
||||||
KEY="backend-cache-$GITHUB_RUN_NUMBER"
|
KEY="backend-cache-$(($GITHUB_RUN_NUMBER))"
|
||||||
gh actions-cache delete $KEY -R Ocelot-Social-Community/Ocelot-Social --confirm
|
gh actions-cache delete $KEY -R Ocelot-Social-Community/Ocelot-Social --confirm
|
||||||
|
|||||||
6
.github/workflows/test-e2e.yml
vendored
6
.github/workflows/test-e2e.yml
vendored
@ -42,7 +42,7 @@ jobs:
|
|||||||
/home/runner/.cache/Cypress
|
/home/runner/.cache/Cypress
|
||||||
/home/runner/work/Ocelot-Social/Ocelot-Social
|
/home/runner/work/Ocelot-Social/Ocelot-Social
|
||||||
/tmp/images/
|
/tmp/images/
|
||||||
key: e2e-preparation-cache-$GITHUB_RUN_NUMBER
|
key: e2e-preparation-cache-${{github.run_id}}
|
||||||
|
|
||||||
fullstack_tests:
|
fullstack_tests:
|
||||||
name: Fullstack tests
|
name: Fullstack tests
|
||||||
@ -65,7 +65,7 @@ jobs:
|
|||||||
/home/runner/.cache/Cypress
|
/home/runner/.cache/Cypress
|
||||||
/home/runner/work/Ocelot-Social/Ocelot-Social
|
/home/runner/work/Ocelot-Social/Ocelot-Social
|
||||||
/tmp/images/
|
/tmp/images/
|
||||||
key: e2e-preparation-cache-$GITHUB_RUN_NUMBER
|
key: e2e-preparation-cache-${{github.run_id}}
|
||||||
fail-on-cache-miss: true
|
fail-on-cache-miss: true
|
||||||
|
|
||||||
- name: Boot up test system | docker-compose
|
- name: Boot up test system | docker-compose
|
||||||
@ -108,5 +108,5 @@ jobs:
|
|||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
gh extension install actions/gh-actions-cache
|
gh extension install actions/gh-actions-cache
|
||||||
KEY="e2e-preparation-cache-$GITHUB_RUN_NUMBER"
|
KEY="e2e-preparation-cache-$(($GITHUB_RUN_NUMBER))"
|
||||||
gh actions-cache delete $KEY -R Ocelot-Social-Community/Ocelot-Social --confirm
|
gh actions-cache delete $KEY -R Ocelot-Social-Community/Ocelot-Social --confirm
|
||||||
6
.github/workflows/test-webapp.yml
vendored
6
.github/workflows/test-webapp.yml
vendored
@ -53,7 +53,7 @@ jobs:
|
|||||||
uses: actions/cache/save@v3.3.1
|
uses: actions/cache/save@v3.3.1
|
||||||
with:
|
with:
|
||||||
path: /tmp/webapp.tar
|
path: /tmp/webapp.tar
|
||||||
key: webapp-cache-$GITHUB_RUN_NUMBER
|
key: "webapp-cache-${{ github.run_id }}"
|
||||||
|
|
||||||
lint_webapp:
|
lint_webapp:
|
||||||
name: Lint Webapp
|
name: Lint Webapp
|
||||||
@ -82,7 +82,7 @@ jobs:
|
|||||||
uses: actions/cache/restore@v3.3.1
|
uses: actions/cache/restore@v3.3.1
|
||||||
with:
|
with:
|
||||||
path: /tmp/webapp.tar
|
path: /tmp/webapp.tar
|
||||||
key: webapp-cache-$GITHUB_RUN_NUMBER
|
key: "webapp-cache-${{ github.run_id }}"
|
||||||
|
|
||||||
- name: Load Docker Image
|
- name: Load Docker Image
|
||||||
run: docker load < /tmp/webapp.tar
|
run: docker load < /tmp/webapp.tar
|
||||||
@ -110,6 +110,6 @@ jobs:
|
|||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
gh extension install actions/gh-actions-cache
|
gh extension install actions/gh-actions-cache
|
||||||
KEY="webapp-cache-$GITHUB_RUN_NUMBER"
|
KEY="webapp-cache-$(($GITHUB_RUN_NUMBER))"
|
||||||
gh actions-cache delete $KEY -R Ocelot-Social-Community/Ocelot-Social --confirm
|
gh actions-cache delete $KEY -R Ocelot-Social-Community/Ocelot-Social --confirm
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user