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