mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Merge pull request #630 from C0nsultant/ansible-CI-stability
Ansible - Improve CI stability
This commit is contained in:
commit
91b364f531
1
.github/workflows/ansible.yml
vendored
1
.github/workflows/ansible.yml
vendored
@ -47,7 +47,6 @@ jobs:
|
|||||||
molecule converge
|
molecule converge
|
||||||
molecule idempotence
|
molecule idempotence
|
||||||
molecule verify
|
molecule verify
|
||||||
molecule destroy
|
|
||||||
working-directory: "${{ github.repository }}"
|
working-directory: "${{ github.repository }}"
|
||||||
# # https://galaxy.ansible.com/docs/contributing/importing.html
|
# # https://galaxy.ansible.com/docs/contributing/importing.html
|
||||||
# release:
|
# release:
|
||||||
|
@ -2,9 +2,15 @@
|
|||||||
- name: update previous release to newest release
|
- name: update previous release to newest release
|
||||||
hosts: all
|
hosts: all
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: install git dependency
|
||||||
|
apt:
|
||||||
|
pkg: git
|
||||||
|
- name: obtain latest git hash in current tree
|
||||||
|
command: git rev-parse HEAD
|
||||||
|
register: git_hash
|
||||||
- name: set current github commit as version when available
|
- name: set current github commit as version when available
|
||||||
set_fact:
|
set_fact:
|
||||||
paperlessng_version: "{{ lookup('env', 'GITHUB_SHA') | default('master', True) }}"
|
paperlessng_version: "{{ git_hash.stdout }}"
|
||||||
- name: update to newest paperless-ng release
|
- name: update to newest paperless-ng release
|
||||||
include_role:
|
include_role:
|
||||||
name: ansible
|
name: ansible
|
||||||
|
Loading…
x
Reference in New Issue
Block a user