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

This commit is contained in:
Robert Kaussow 2020-08-19 18:39:01 +02:00
parent e7dbe97a7e
commit 48a8aa3d02
Signed by: xoxys
GPG Key ID: 65362AE74AF98B61
7 changed files with 33 additions and 25 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:
@ -146,6 +144,6 @@ depends_on:
---
kind: signature
hmac: 29d75af854e83936c5f665d6c84369848016bf42fd0a1363ffc8ad7f556a6609
hmac: dcbaa9ed8f7bf8a08d0da8e288473c60eac585503031448d8740ea14c4c28876
...

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

@ -1,16 +1,16 @@
# Standards: 0.1
---
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>
# @meta description: >
# [![Source Code](https://img.shields.io/badge/gitea-source%20code-blue?logo=gitea&logoColor=white)](https://gitea.rknet.org/ansible/xoxys.gitea)
# [![Build Status](https://img.shields.io/drone/build/ansible/xoxys.gitea?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/ansible/xoxys.gitea)
# [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/ansible/xoxys.gitea/src/branch/master/LICENSE)
#
# Setup a [Gitea](https://gitea.io/en-us/) git server. Gitea is a community managed lightweight
# code hosting solution written in Go.
# @end
# @meta description: >
# [![Source Code](https://img.shields.io/badge/gitea-source%20code-blue?logo=gitea&logoColor=white)](https://gitea.rknet.org/ansible/xoxys.gitea)
# [![Build Status](https://img.shields.io/drone/build/ansible/xoxys.gitea?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/ansible/xoxys.gitea)
# [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/ansible/xoxys.gitea/src/branch/master/LICENSE)
#
# Setup a [Gitea](https://gitea.io/en-us/) git server. Gitea is a community managed lightweight
# code hosting solution written in Go.
# @end
description: Setup a Gitea git server
license: MIT
min_ansible_version: 2.8
@ -22,3 +22,5 @@ galaxy_info:
- gitea
- git
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,5 +0,0 @@
---
- src: https://gitea.rknet.org/ansible/xoxys.postgres.git
name: xoxys.postgres
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.postgres.git
name: xoxys.postgres
scm: git
version: master