caching not a good idea for the distance traveled
All checks were successful
/ Renovate (push) Successful in 7m44s
All checks were successful
/ Renovate (push) Successful in 7m44s
This commit is contained in:
parent
74f4ffd53c
commit
32098e16cd
1 changed files with 0 additions and 35 deletions
|
@ -26,23 +26,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
show-progress: false
|
show-progress: false
|
||||||
|
|
||||||
- name: Restore renovate repo cache
|
|
||||||
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
/tmp/renovate/cache/renovate/repository
|
|
||||||
key: repo-cache-${{ github.run_id }}
|
|
||||||
restore-keys: |
|
|
||||||
repo-cache-
|
|
||||||
- name: Restore renovate package cache
|
|
||||||
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
/tmp/renovate/cache/renovate/renovate-cache-sqlite
|
|
||||||
key: package-cache-${{ github.run_id }}
|
|
||||||
restore-keys: |
|
|
||||||
package-cache-
|
|
||||||
|
|
||||||
- name: Renovate
|
- name: Renovate
|
||||||
run: |
|
run: |
|
||||||
renovate ${{ env.INPUT_ARGS }}
|
renovate ${{ env.INPUT_ARGS }}
|
||||||
|
@ -51,7 +34,6 @@ jobs:
|
||||||
LOG_LEVEL: debug
|
LOG_LEVEL: debug
|
||||||
RENOVATE_ENDPOINT: ${{ github.server_url }}
|
RENOVATE_ENDPOINT: ${{ github.server_url }}
|
||||||
RENOVATE_PLATFORM: gitea
|
RENOVATE_PLATFORM: gitea
|
||||||
RENOVATE_REPOSITORY_CACHE: 'enabled'
|
|
||||||
RENOVATE_TOKEN: ${{ github.repository == 'jahanson/renovate-config' && secrets.TOKEN || secrets.GITHUB_TOKEN }}
|
RENOVATE_TOKEN: ${{ github.repository == 'jahanson/renovate-config' && secrets.TOKEN || secrets.GITHUB_TOKEN }}
|
||||||
RENOVATE_GIT_AUTHOR: 'Renovate Bot <smeagol@hsn.dev>'
|
RENOVATE_GIT_AUTHOR: 'Renovate Bot <smeagol@hsn.dev>'
|
||||||
RENOVATE_HOST_RULES: |-
|
RENOVATE_HOST_RULES: |-
|
||||||
|
@ -60,25 +42,8 @@ jobs:
|
||||||
{"matchHost":"ghcr.io","hostType":"docker","username":"${{ sec.github-username }}","password":"${{ inputs.github-token }}"},
|
{"matchHost":"ghcr.io","hostType":"docker","username":"${{ sec.github-username }}","password":"${{ inputs.github-token }}"},
|
||||||
{"matchHost":"git.hsn.dev","username":"${{ secrets.DOCKER_USERNAME }}", "token":"${{ secrets.MIRROR_TOKEN }}"}
|
{"matchHost":"git.hsn.dev","username":"${{ secrets.DOCKER_USERNAME }}", "token":"${{ secrets.MIRROR_TOKEN }}"}
|
||||||
]
|
]
|
||||||
RENOVATE_X_SQLITE_PACKAGE_CACHE: true
|
|
||||||
GIT_AUTHOR_NAME: 'Renovate Bot'
|
GIT_AUTHOR_NAME: 'Renovate Bot'
|
||||||
GIT_AUTHOR_EMAIL: 'smeagol@hsn.dev'
|
GIT_AUTHOR_EMAIL: 'smeagol@hsn.dev'
|
||||||
GIT_COMMITTER_NAME: 'Renovate Bot'
|
GIT_COMMITTER_NAME: 'Renovate Bot'
|
||||||
GIT_COMMITTER_EMAIL: 'smeagol@hsn.dev'
|
GIT_COMMITTER_EMAIL: 'smeagol@hsn.dev'
|
||||||
INPUT_ARGS: ${{ inputs.args || (github.repository != 'jahanson/renovate-config' && github.repository) || '--autodiscover' }}
|
INPUT_ARGS: ${{ inputs.args || (github.repository != 'jahanson/renovate-config' && github.repository) || '--autodiscover' }}
|
||||||
|
|
||||||
- name: Save renovate repo cache
|
|
||||||
if: always() && env.RENOVATE_DRY_RUN != 'full'
|
|
||||||
uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
/tmp/renovate/cache/renovate/repository
|
|
||||||
key: repo-cache-${{ inputs.endpoint }}-${{ github.run_id }}
|
|
||||||
|
|
||||||
- name: Save renovate package cache
|
|
||||||
if: always() && env.RENOVATE_DRY_RUN != 'full'
|
|
||||||
uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
/tmp/renovate/cache/renovate/renovate-cache-sqlite
|
|
||||||
key: package-cache-${{ github.run_id }}
|
|
||||||
|
|
Loading…
Reference in a new issue