initial commit
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
4ebe0caec4
commit
1918037d1c
|
@ -0,0 +1,40 @@
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: ansible-latest
|
||||||
|
image: python:2.7
|
||||||
|
pull: always
|
||||||
|
commands:
|
||||||
|
- pip install ansible ansible-later -q
|
||||||
|
- git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
|
||||||
|
- git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini
|
||||||
|
depends_on: [ clone ]
|
||||||
|
|
||||||
|
- name: ansible-master
|
||||||
|
image: python:2.7
|
||||||
|
pull: always
|
||||||
|
commands:
|
||||||
|
- pip install ansible ansible-later -q
|
||||||
|
- git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
|
||||||
|
- git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini
|
||||||
|
depends_on: [ clone ]
|
||||||
|
|
||||||
|
- name: notify
|
||||||
|
image: plugins/matrix
|
||||||
|
settings:
|
||||||
|
homeserver: https://matrix.rknet.org
|
||||||
|
roomid: MtidqQXWWAtQcByBhH:rknet.org
|
||||||
|
template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}"
|
||||||
|
username:
|
||||||
|
from_secret: matrix_username
|
||||||
|
password:
|
||||||
|
from_secret: matrix_password
|
||||||
|
depends_on:
|
||||||
|
- ansible-latest
|
||||||
|
- ansible-master
|
||||||
|
when:
|
||||||
|
status:
|
||||||
|
- success
|
||||||
|
- failure
|
|
@ -0,0 +1 @@
|
||||||
|
---
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1 @@
|
||||||
|
---
|
|
@ -0,0 +1,12 @@
|
||||||
|
---
|
||||||
|
galaxy_info:
|
||||||
|
author: Robert Kaussow
|
||||||
|
description:
|
||||||
|
license: Robert Kaussow
|
||||||
|
min_ansible_version: 2.6
|
||||||
|
platforms:
|
||||||
|
- name: EL
|
||||||
|
versions:
|
||||||
|
- 7
|
||||||
|
galaxy_tags:
|
||||||
|
dependencies: []
|
|
@ -0,0 +1,18 @@
|
||||||
|
---
|
||||||
|
- block:
|
||||||
|
- name: Copy cups rpms to destination host
|
||||||
|
copy:
|
||||||
|
src: "{{ item }}"
|
||||||
|
dest: "/var/tmp/{{ item }}"
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: 0640
|
||||||
|
loop: "{{ __cups_rpm_files }}"
|
||||||
|
|
||||||
|
- name: Install cups rpms
|
||||||
|
yum:
|
||||||
|
name: "/var/tmp/{{ item }}"
|
||||||
|
state: present
|
||||||
|
loop: "{{ __cups_rpm_files }}"
|
||||||
|
become: True
|
||||||
|
become_user: root
|
|
@ -0,0 +1,2 @@
|
||||||
|
---
|
||||||
|
- include_tasks: install.yml
|
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
__cups_rpm_files:
|
||||||
|
- files/cups-2.2.10-0.x86_64.rpm
|
||||||
|
- files/cups-devel-2.2.10-0.x86_64.rpm
|
||||||
|
- files/cups-libs-2.2.10-0.x86_64.rpm
|
||||||
|
- files/cups-lpd-2.2.10-0.x86_64.rpm
|
Loading…
Reference in New Issue