migrate dependencies to collections
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2020-08-19 18:39:07 +02:00
parent f663ffdb55
commit d77258ea91
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
7 changed files with 31 additions and 23 deletions

View File

@ -39,11 +39,9 @@ local PipelineDeployment(scenario='centos7') = {
image: 'xoxys/molecule:3', image: 'xoxys/molecule:3',
environment: { environment: {
DO_API_KEY: { from_secret: 'do_api_key' }, 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: [ commands: [
'molecule test -s' + scenario, 'molecule test -s ' + scenario,
], ],
}, },
], ],

View File

@ -37,12 +37,10 @@ steps:
- name: ansible-molecule - name: ansible-molecule
image: xoxys/molecule:3 image: xoxys/molecule:3
commands: commands:
- molecule test -scentos7 - molecule test -s centos7
environment: environment:
DO_API_KEY: DO_API_KEY:
from_secret: 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: trigger:
ref: ref:
@ -71,12 +69,10 @@ steps:
- name: ansible-molecule - name: ansible-molecule
image: xoxys/molecule:3 image: xoxys/molecule:3
commands: commands:
- molecule test -scentos8 - molecule test -s centos8
environment: environment:
DO_API_KEY: DO_API_KEY:
from_secret: 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: trigger:
ref: ref:
@ -181,6 +177,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 6bd7198a4cd85a5f09a56e89c081cc685cb0e1e5d79a51e48174844b8ae898b7 hmac: 865800218a21fd914532d81e794887cf142e35f4ccefbe0faff7887e2f08db3d
... ...

View File

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

View File

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

View File

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

View File

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