migrate dependencies to collections
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2020-08-19 18:39:06 +02:00
parent 948a544ffe
commit 0b6db0358c
Signed by: xoxys
GPG Key ID: 65362AE74AF98B61
7 changed files with 30 additions and 22 deletions

View File

@ -39,11 +39,9 @@ local PipelineDeployment(scenario='centos7') = {
image: 'xoxys/molecule:3',
environment: {
DO_API_KEY: { from_secret: 'do_api_key' },
MOLECULE_CUSTOM_MODULES_REPO: 'https://gitea.rknet.org/ansible/custom_modules',
MOLECULE_CUSTOM_FILTERS_REPO: 'https://gitea.rknet.org/ansible/custom_filters',
},
commands: [
'molecule test -s' + scenario,
'molecule test -s ' + scenario,
],
},
],

View File

@ -37,12 +37,10 @@ steps:
- name: ansible-molecule
image: xoxys/molecule:3
commands:
- molecule test -scentos7
- molecule test -s centos7
environment:
DO_API_KEY:
from_secret: do_api_key
MOLECULE_CUSTOM_FILTERS_REPO: https://gitea.rknet.org/ansible/custom_filters
MOLECULE_CUSTOM_MODULES_REPO: https://gitea.rknet.org/ansible/custom_modules
trigger:
ref:
@ -71,12 +69,10 @@ steps:
- name: ansible-molecule
image: xoxys/molecule:3
commands:
- molecule test -scentos8
- molecule test -s centos8
environment:
DO_API_KEY:
from_secret: do_api_key
MOLECULE_CUSTOM_FILTERS_REPO: https://gitea.rknet.org/ansible/custom_filters
MOLECULE_CUSTOM_MODULES_REPO: https://gitea.rknet.org/ansible/custom_modules
trigger:
ref:
@ -181,6 +177,6 @@ depends_on:
---
kind: signature
hmac: 47e554fdfca063f7e4b1757753560cce1cb341773713f2e88c428c206f051af7
hmac: b559e92fb3b50b42f9775df3c4434d675c1f8a1e08b1a445868258dc0b208b2d
...

View File

@ -3,9 +3,10 @@ ansible:
custom_modules:
- iptables_raw
- openssl_pkcs12
- proxmox_kvm2
- proxmox_kvm
- ucr
- yum_versionlock
- corenetworks_dns
- corenetworks_token
rules:
exclude_files:
@ -13,6 +14,6 @@ rules:
- "LICENSE*"
- "**/*.md"
- "**/*.ini"
exclude_filter:
- LINT0009

View File

@ -3,13 +3,13 @@
galaxy_info:
# @meta author:value: [Robert Kaussow](https://gitea.rknet.org/xoxys)
author: Robert Kaussow <mail@geeklabor.de>
# @meta description: >
# [![Source Code](https://img.shields.io/badge/gitea-source%20code-blue?logo=gitea&logoColor=white)](https://gitea.rknet.org/ansible/xoxys.cacerts)
# [![Build Status](https://img.shields.io/drone/build/ansible/xoxys.cacerts?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/ansible/xoxys.cacerts)
# [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/ansible/xoxys.cacerts/src/branch/master/LICENSE)
#
# Deploy custom ca certificates.
# @end
# @meta description: >
# [![Source Code](https://img.shields.io/badge/gitea-source%20code-blue?logo=gitea&logoColor=white)](https://gitea.rknet.org/ansible/xoxys.cacerts)
# [![Build Status](https://img.shields.io/drone/build/ansible/xoxys.cacerts?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/ansible/xoxys.cacerts)
# [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/ansible/xoxys.cacerts/src/branch/master/LICENSE)
#
# Deploy custom ca certificates.
# @end
description: Deploy custom ca certificates
license: MIT
min_ansible_version: 2.8
@ -22,3 +22,5 @@ galaxy_info:
- cacerts
- corporate
dependencies: []
collections:
- community.general

View File

@ -1,6 +1,9 @@
---
dependency:
name: galaxy
options:
role-file: molecule/requirements.yml
requirements-file: molecule/requirements.yml
driver:
name: delegated
platforms:
@ -9,7 +12,7 @@ platforms:
image_id: centos-7-x64
size_id: s-1vcpu-1gb
lint: |
flake8
/usr/local/bin/flake8
provisioner:
name: ansible
env:

View File

@ -1,6 +1,9 @@
---
dependency:
name: galaxy
options:
role-file: molecule/requirements.yml
requirements-file: molecule/requirements.yml
driver:
name: delegated
platforms:
@ -9,7 +12,7 @@ platforms:
image_id: centos-8-x64
size_id: s-1vcpu-1gb
lint: |
flake8
/usr/local/bin/flake8
provisioner:
name: ansible
env:

View File

@ -0,0 +1,5 @@
---
collections:
- name: https://gitea.rknet.org/ansible/xoxys.general/releases/download/v1.1.0/xoxys-general-1.1.0.tar.gz
- name: community.general