This commit is contained in:
parent
0476bb1c6b
commit
4d2f640c75
@ -8,7 +8,7 @@ local PipelineLinting = {
|
|||||||
steps: [
|
steps: [
|
||||||
{
|
{
|
||||||
name: 'ansible-later',
|
name: 'ansible-later',
|
||||||
image: 'xoxys/ansible-later:latest',
|
image: 'xoxys/ansible-later',
|
||||||
commands: [
|
commands: [
|
||||||
'ansible-later',
|
'ansible-later',
|
||||||
],
|
],
|
||||||
@ -36,7 +36,7 @@ local PipelineDeployment(scenario='centos7') = {
|
|||||||
steps: [
|
steps: [
|
||||||
{
|
{
|
||||||
name: 'ansible-molecule',
|
name: 'ansible-molecule',
|
||||||
image: 'xoxys/molecule:latest',
|
image: 'xoxys/molecule:3',
|
||||||
environment: {
|
environment: {
|
||||||
DO_API_KEY: { from_secret: 'do_api_key' },
|
DO_API_KEY: { from_secret: 'do_api_key' },
|
||||||
USER: 'root',
|
USER: 'root',
|
||||||
@ -66,7 +66,7 @@ local PipelineDocumentation = {
|
|||||||
steps: [
|
steps: [
|
||||||
{
|
{
|
||||||
name: 'generate',
|
name: 'generate',
|
||||||
image: 'xoxys/ansible-doctor:latest',
|
image: 'xoxys/ansible-doctor',
|
||||||
environment: {
|
environment: {
|
||||||
ANSIBLE_DOCTOR_LOG_LEVEL: 'INFO',
|
ANSIBLE_DOCTOR_LOG_LEVEL: 'INFO',
|
||||||
ANSIBLE_DOCTOR_FORCE_OVERWRITE: true,
|
ANSIBLE_DOCTOR_FORCE_OVERWRITE: true,
|
||||||
@ -78,7 +78,7 @@ local PipelineDocumentation = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'publish',
|
name: 'publish',
|
||||||
image: 'plugins/gh-pages:latest',
|
image: 'plugins/gh-pages',
|
||||||
settings: {
|
settings: {
|
||||||
remote_url: 'https://gitea.rknet.org/ansible/xoxys.bitwardenrs_docker',
|
remote_url: 'https://gitea.rknet.org/ansible/xoxys.bitwardenrs_docker',
|
||||||
netrc_machine: 'gitea.rknet.org',
|
netrc_machine: 'gitea.rknet.org',
|
||||||
|
10
.drone.yml
10
.drone.yml
@ -8,7 +8,7 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: ansible-later
|
- name: ansible-later
|
||||||
image: xoxys/ansible-later:latest
|
image: xoxys/ansible-later
|
||||||
commands:
|
commands:
|
||||||
- ansible-later
|
- ansible-later
|
||||||
|
|
||||||
@ -35,7 +35,7 @@ workspace:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: ansible-molecule
|
- name: ansible-molecule
|
||||||
image: xoxys/molecule:latest
|
image: xoxys/molecule:3
|
||||||
commands:
|
commands:
|
||||||
- molecule test -scentos7
|
- molecule test -scentos7
|
||||||
environment:
|
environment:
|
||||||
@ -63,7 +63,7 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: generate
|
- name: generate
|
||||||
image: xoxys/ansible-doctor:latest
|
image: xoxys/ansible-doctor
|
||||||
environment:
|
environment:
|
||||||
ANSIBLE_DOCTOR_EXCLUDE_FILES: molecule/
|
ANSIBLE_DOCTOR_EXCLUDE_FILES: molecule/
|
||||||
ANSIBLE_DOCTOR_FORCE_OVERWRITE: true
|
ANSIBLE_DOCTOR_FORCE_OVERWRITE: true
|
||||||
@ -73,7 +73,7 @@ steps:
|
|||||||
ANSIBLE_DOCTOR_TEMPLATE: hugo-book
|
ANSIBLE_DOCTOR_TEMPLATE: hugo-book
|
||||||
|
|
||||||
- name: publish
|
- name: publish
|
||||||
image: plugins/gh-pages:latest
|
image: plugins/gh-pages
|
||||||
settings:
|
settings:
|
||||||
netrc_machine: gitea.rknet.org
|
netrc_machine: gitea.rknet.org
|
||||||
pages_directory: _docs/
|
pages_directory: _docs/
|
||||||
@ -147,6 +147,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 52f5d7f4eaba07c6528e2a60430859d57194cc650d05e9d77e05093dcc67ada1
|
hmac: ec7166da7e94fa113b88745a7e6253af1ce163fda1fb21ba6aa6eaccbd69e9f0
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
hosts: localhost
|
hosts: localhost
|
||||||
connection: local
|
connection: local
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
no_log: "{{ molecule_no_log }}"
|
#no_log: "{{ molecule_no_log }}"
|
||||||
vars:
|
vars:
|
||||||
ssh_user: root
|
ssh_user: root
|
||||||
ssh_port: 22
|
ssh_port: 22
|
||||||
|
@ -2,23 +2,15 @@
|
|||||||
dependency:
|
dependency:
|
||||||
name: galaxy
|
name: galaxy
|
||||||
driver:
|
driver:
|
||||||
name: digitalocean
|
name: delegated
|
||||||
platforms:
|
platforms:
|
||||||
- name: centos7-bitwardenrs
|
- name: centos7-bitwardenrs
|
||||||
region_id: fra1
|
region_id: fra1
|
||||||
image_id: centos-7-x64
|
image_id: centos-7-x64
|
||||||
size_id: s-1vcpu-1gb
|
size_id: s-1vcpu-1gb
|
||||||
lint:
|
|
||||||
name: yamllint
|
|
||||||
enabled: False
|
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
lint:
|
|
||||||
name: ansible-lint
|
|
||||||
enabled: False
|
|
||||||
verifier:
|
verifier:
|
||||||
name: testinfra
|
name: testinfra
|
||||||
lint:
|
lint: |
|
||||||
name: flake8
|
flake8 --max-line-length=120
|
||||||
options:
|
|
||||||
max-line-length: 120
|
|
||||||
|
Loading…
Reference in New Issue
Block a user