Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
Merge pull request #630 from C0nsultant/ansible-CI-stability
Browse files Browse the repository at this point in the history
Ansible - Improve CI stability
  • Loading branch information
jonaswinkler authored Feb 25, 2021
2 parents 01c11f9 + ba853be commit 91b364f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ansible.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ jobs:
molecule converge
molecule idempotence
molecule verify
molecule destroy
working-directory: "${{ github.repository }}"
# # https://galaxy.ansible.com/docs/contributing/importing.html
# release:
Expand Down
8 changes: 7 additions & 1 deletion ansible/molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
- name: update previous release to newest release
hosts: all
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
set_fact:
paperlessng_version: "{{ lookup('env', 'GITHUB_SHA') | default('master', True) }}"
paperlessng_version: "{{ git_hash.stdout }}"
- name: update to newest paperless-ng release
include_role:
name: ansible

0 comments on commit 91b364f

Please sign in to comment.