update caching
This commit is contained in:
parent
bf3f30530b
commit
535512dd56
@ -39,6 +39,8 @@ jobs:
|
||||
|
||||
- name: Cache Go modules
|
||||
uses: actions/cache@v3
|
||||
timeout-minutes: 2
|
||||
continue-on-error: true
|
||||
with:
|
||||
path: |
|
||||
~/.cache/go-build
|
||||
|
||||
@ -86,6 +86,8 @@
|
||||
- "{{ gitea_home }}/data"
|
||||
- "{{ gitea_home }}/log"
|
||||
- "{{ gitea_home }}/repositories"
|
||||
- "{{ gitea_home }}/data/actions_artifacts"
|
||||
- "{{ gitea_home }}/data/actions_cache"
|
||||
|
||||
- name: Download gitea binary
|
||||
ansible.builtin.get_url:
|
||||
@ -195,6 +197,13 @@
|
||||
[actions]
|
||||
ENABLED = true
|
||||
|
||||
[actions.artifacts]
|
||||
STORAGE_TYPE = local
|
||||
MINIO_BASE_PATH = actions_artifacts/
|
||||
|
||||
[actions.artifacts.local]
|
||||
PATH = {{ gitea_home }}/data/actions_artifacts
|
||||
|
||||
[log]
|
||||
MODE = file
|
||||
LEVEL = info
|
||||
@ -351,6 +360,7 @@
|
||||
daemon_reload: true
|
||||
name: "gitea-runner-{{ item }}"
|
||||
enabled: true
|
||||
state: started
|
||||
loop: "{{ range(1, runner_count + 1) | list }}"
|
||||
|
||||
- name: Configure nginx reverse proxy (HTTP only for now)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user