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

This commit is contained in:
Robert Kaussow 2020-08-19 18:39:03 +02:00
parent 9d02eed848
commit c047dfc9aa
Signed by: xoxys
GPG Key ID: 65362AE74AF98B61
7 changed files with 32 additions and 24 deletions

View File

@ -39,8 +39,6 @@ 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

@ -41,8 +41,6 @@ steps:
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:
@ -146,6 +144,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 6386c423f6b240b01eae4f26efee8cd942691ad1f38d993c9622662d6afa259f hmac: 5c08f5096a585bff21289c3067caed40bc23811c83876e5557cb94adcaf6eec1
... ...

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:

View File

@ -22,3 +22,5 @@ galaxy_info:
- letsencrypt - letsencrypt
- certbot - certbot
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,5 +0,0 @@
---
- src: https://gitea.rknet.org/ansible/xoxys.python3.git
name: xoxys.python3
scm: git
version: master

11
molecule/requirements.yml Normal file
View File

@ -0,0 +1,11 @@
---
collections:
- name: https://gitea.rknet.org/ansible/xoxys.general/releases/download/v1.1.0/xoxys-general-1.1.0.tar.gz
- name: community.general
roles:
- src: https://gitea.rknet.org/ansible/xoxys.python3.git
name: xoxys.python3
scm: git
version: master