update caching
Some checks failed
Build and Deploy API Server / deploy (push) Blocked by required conditions
Build and Deploy API Server / build (push) Has been cancelled

This commit is contained in:
Farid Siddiqi 2025-12-23 18:33:51 -08:00
parent bf3f30530b
commit 535512dd56
2 changed files with 12 additions and 0 deletions

View File

@ -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

View File

@ -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)