Compare commits
2 Commits
bd2bd26ecf
...
068bb751a7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
068bb751a7 | ||
|
|
cd7f8f56d8 |
@@ -34,6 +34,7 @@ make migrate # run DB migrations
|
|||||||
- View which container images are running: `docker ps --format 'table {{.Names}}\t{{.Image}}'`
|
- View which container images are running: `docker ps --format 'table {{.Names}}\t{{.Image}}'`
|
||||||
- Flush all redis cache: `docker compose exec -T mvp-redis sh -lc "redis-cli FLUSHALL"`
|
- Flush all redis cache: `docker compose exec -T mvp-redis sh -lc "redis-cli FLUSHALL"`
|
||||||
- Flush all backup data on staging before restoring: `docker compose exec mvp-postgres psql -U postgres -d motovaultpro -c "TRUNCATE TABLE backup_history, backup_schedules, backup_settings RESTART IDENTITY CASCADE;"`
|
- Flush all backup data on staging before restoring: `docker compose exec mvp-postgres psql -U postgres -d motovaultpro -c "TRUNCATE TABLE backup_history, backup_schedules, backup_settings RESTART IDENTITY CASCADE;"`
|
||||||
|
- Create new admin users on brand new deployment `docker exec -it motovaultpro-backend-1 node dist/_system/cli/create-admin.js`
|
||||||
|
|
||||||
## Development Workflow
|
## Development Workflow
|
||||||
|
|
||||||
|
|||||||
@@ -105,10 +105,20 @@
|
|||||||
# ============================================
|
# ============================================
|
||||||
# act_runner Installation
|
# act_runner Installation
|
||||||
# ============================================
|
# ============================================
|
||||||
|
- name: Check current act_runner version
|
||||||
|
command: act_runner --version
|
||||||
|
register: current_runner_version
|
||||||
|
changed_when: false
|
||||||
|
failed_when: false
|
||||||
|
|
||||||
- name: Download act_runner binary
|
- name: Download act_runner binary
|
||||||
get_url:
|
shell: curl -fsSL -o /usr/local/bin/act_runner "https://gitea.com/gitea/act_runner/releases/download/v{{ act_runner_version }}/act_runner-{{ act_runner_version }}-linux-amd64"
|
||||||
url: "https://gitea.com/gitea/act_runner/releases/download/v{{ act_runner_version }}/act_runner-{{ act_runner_version }}-linux-amd64"
|
when: current_runner_version.rc != 0 or act_runner_version not in (current_runner_version.stdout | default(''))
|
||||||
dest: /usr/local/bin/act_runner
|
notify: Restart act_runner
|
||||||
|
|
||||||
|
- name: Set act_runner binary permissions
|
||||||
|
file:
|
||||||
|
path: /usr/local/bin/act_runner
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
|
|
||||||
- name: Verify act_runner installation
|
- name: Verify act_runner installation
|
||||||
|
|||||||
@@ -136,10 +136,20 @@
|
|||||||
# ============================================
|
# ============================================
|
||||||
# act_runner Installation
|
# act_runner Installation
|
||||||
# ============================================
|
# ============================================
|
||||||
|
- name: Check current act_runner version
|
||||||
|
command: act_runner --version
|
||||||
|
register: current_runner_version
|
||||||
|
changed_when: false
|
||||||
|
failed_when: false
|
||||||
|
|
||||||
- name: Download act_runner binary
|
- name: Download act_runner binary
|
||||||
get_url:
|
shell: curl -fsSL -o /usr/local/bin/act_runner "https://gitea.com/gitea/act_runner/releases/download/v{{ act_runner_version }}/act_runner-{{ act_runner_version }}-linux-amd64"
|
||||||
url: "https://gitea.com/gitea/act_runner/releases/download/v{{ act_runner_version }}/act_runner-{{ act_runner_version }}-linux-amd64"
|
when: current_runner_version.rc != 0 or act_runner_version not in (current_runner_version.stdout | default(''))
|
||||||
dest: /usr/local/bin/act_runner
|
notify: Restart act_runner
|
||||||
|
|
||||||
|
- name: Set act_runner binary permissions
|
||||||
|
file:
|
||||||
|
path: /usr/local/bin/act_runner
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
|
|
||||||
- name: Verify act_runner installation
|
- name: Verify act_runner installation
|
||||||
|
|||||||
Reference in New Issue
Block a user