mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Revert "make workflows fail to stress test github cache deletion"
This reverts commit 09e887fc3c86e21258d7e697daae68c292ddb4d8.
This commit is contained in:
parent
09e887fc3c
commit
f348e18ce2
@ -1,24 +0,0 @@
|
|||||||
name: ocelot.social cache cleanup on pr closing
|
|
||||||
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
types:
|
|
||||||
- closed
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
clean-branch-cache:
|
|
||||||
name: Clean branch cache
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
continue-on-error: true
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name:
|
|
||||||
env:
|
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
run: |
|
|
||||||
gh extension install actions/gh-actions-cache
|
|
||||||
gh actions-cache list --branch TODO:this_current_branch --order desc --sort created-at
|
|
||||||
# gh actions-cache delete -R Ocelot-Social-Community/Ocelot-Social --confirm
|
|
||||||
2
.github/workflows/test-backend.yml
vendored
2
.github/workflows/test-backend.yml
vendored
@ -92,7 +92,7 @@ jobs:
|
|||||||
- name: Restore Neo4J cache
|
- name: Restore Neo4J cache
|
||||||
uses: actions/cache/restore@v3.3.1
|
uses: actions/cache/restore@v3.3.1
|
||||||
with:
|
with:
|
||||||
path: /tmp/neo4j.tarTEST
|
path: /tmp/neo4j.tar
|
||||||
key: ${{ github.run_id }}-backend-neo4j-cache
|
key: ${{ github.run_id }}-backend-neo4j-cache
|
||||||
fail-on-cache-miss: true
|
fail-on-cache-miss: true
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/test-e2e.yml
vendored
2
.github/workflows/test-e2e.yml
vendored
@ -61,7 +61,7 @@ jobs:
|
|||||||
id: cache
|
id: cache
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/opt/cucumber-json-formatterTEST
|
/opt/cucumber-json-formatter
|
||||||
/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/
|
||||||
|
|||||||
2
.github/workflows/test-webapp.yml
vendored
2
.github/workflows/test-webapp.yml
vendored
@ -84,7 +84,7 @@ jobs:
|
|||||||
- name: Restore webapp cache
|
- name: Restore webapp cache
|
||||||
uses: actions/cache/restore@v3.3.1
|
uses: actions/cache/restore@v3.3.1
|
||||||
with:
|
with:
|
||||||
path: /tmp/webapp.tarTEST
|
path: /tmp/webapp.tar
|
||||||
key: ${{ github.run_id }}-webapp-cache
|
key: ${{ github.run_id }}-webapp-cache
|
||||||
|
|
||||||
- name: Load Docker Image
|
- name: Load Docker Image
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user