0
0
mirror of https://github.com/thegeeklab/wp-ansible.git synced 2024-11-21 23:50:40 +00:00
This commit is contained in:
Robert Kaussow 2021-01-26 12:37:19 +01:00
parent 6b049439e5
commit 221f9a7d7a
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
8 changed files with 27 additions and 63 deletions

View File

@ -1,9 +0,0 @@
<!-- PLEASE READ BEFORE DELETING
Bugs or Issues? Due to the high number of false positive issues we receive,
please do not create a GitHub issue until you have discussed and verified
with community support at:
https://discourse.drone.io/
-->

View File

36
.github/settings.yml vendored
View File

@ -1,11 +1,12 @@
repository: repository:
name: drone-ansible name: drone-ansible
description: Drone plugin to provision via Ansible description: Drone plugin to provision via Ansible
homepage: http://plugins.drone.io/drone-plugins/drone-ansible homepage: https://hub.docker.com/r/owncloudci/drone-ansible
topics: drone, drone-plugin topics: drone, drone-plugin
private: false private: false
has_issues: true has_issues: true
has_projects: false
has_wiki: false has_wiki: false
has_downloads: false has_downloads: false
@ -19,6 +20,9 @@ labels:
- name: bug - name: bug
color: d73a4a color: d73a4a
description: Something isn't working description: Something isn't working
- name: documentation
color: 0075ca
description: Improvements or additions to documentation
- name: duplicate - name: duplicate
color: cfd3d7 color: cfd3d7
description: This issue or pull request already exists description: This issue or pull request already exists
@ -37,39 +41,19 @@ labels:
- name: question - name: question
color: d876e3 color: d876e3
description: Further information is requested description: Further information is requested
- name: renovate
color: e99695
description: Automated action from Renovate
- name: wontfix - name: wontfix
color: ffffff color: ffffff
description: This will not be worked on description: This will not be worked on
teams:
- name: Admins
permission: admin
- name: Captain
permission: admin
- name: Maintainers
permission: push
branches: branches:
- name: master - name: master
protection: protection:
required_pull_request_reviews: required_pull_request_reviews: null
required_approving_review_count: 1
dismiss_stale_reviews: false
require_code_owner_reviews: false
dismissal_restrictions:
teams:
- Admins
- Captain
required_status_checks: required_status_checks:
strict: true strict: true
contexts: contexts:
- continuous-integration/drone/pr - continuous-integration/drone/pr
enforce_admins: false enforce_admins: null
restrictions: restrictions: null
users: []
teams: ---
- Admins
- Captain

14
LICENSE
View File

@ -175,18 +175,7 @@
END OF TERMS AND CONDITIONS END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work. Copyright 2021 ownCloud GmbH
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright {yyyy} {name of copyright owner}
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
@ -199,4 +188,3 @@
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.

View File

@ -1,14 +1,9 @@
# drone-ansible # drone-ansible
[![Build Status](http://cloud.drone.io/api/badges/drone-plugins/drone-ansible/status.svg)](http://cloud.drone.io/drone-plugins/drone-ansible) [![Build Status](https://drone.owncloud.com/api/badges/owncloud-ci/hugo/status.svg)](https://drone.owncloud.com/owncloud-ci/hugo/)
[![Gitter chat](https://badges.gitter.im/drone/drone.png)](https://gitter.im/drone/drone) [![Docker Hub](https://img.shields.io/badge/docker-latest-blue.svg?logo=docker&logoColor=white)](https://hub.docker.com/r/owncloudci/hugo)
[![Join the discussion at https://discourse.drone.io](https://img.shields.io/badge/discourse-forum-orange.svg)](https://discourse.drone.io)
[![Drone questions at https://stackoverflow.com](https://img.shields.io/badge/drone-stackoverflow-orange.svg)](https://stackoverflow.com/questions/tagged/drone.io)
[![](https://images.microbadger.com/badges/image/plugins/ansible.svg)](https://microbadger.com/images/plugins/ansible "Get your own image badge on microbadger.com")
[![Go Doc](https://godoc.org/github.com/drone-plugins/drone-ansible?status.svg)](http://godoc.org/github.com/drone-plugins/drone-ansible)
[![Go Report](https://goreportcard.com/badge/github.com/drone-plugins/drone-ansible)](https://goreportcard.com/report/github.com/drone-plugins/drone-ansible)
Drone plugin to provision infrastructure with [Ansible](https://www.ansible.com/). For the usage information and a listing of the available options please take a look at [the docs](http://plugins.drone.io/drone-plugins/drone-ansible/). Drone plugin to provision infrastructure with [Ansible](https://www.ansible.com/).
## Build ## Build
@ -45,3 +40,7 @@ docker run --rm \
-w $(pwd) \ -w $(pwd) \
plugins/ansible plugins/ansible
``` ```
## License
This project is licensed under the Apache 2.0 License - see the [LICENSE](https://github.com/owncloud-ci/drone-ansible/blob/master/LICENSE) file for details.

View File

@ -7,7 +7,7 @@ LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \
RUN apk add --no-cache bash git curl rsync openssh-client sshpass py3-pip py3-requests py3-paramiko python3-dev libffi-dev libressl-dev libressl build-base && \ RUN apk add --no-cache bash git curl rsync openssh-client sshpass py3-pip py3-requests py3-paramiko python3-dev libffi-dev libressl-dev libressl build-base && \
pip3 install -U pip && \ pip3 install -U pip && \
pip3 install ansible==2.10.0 boto3==1.13.10 && \ pip3 install ansible==2.10.5 boto3 hcloud && \
apk del --no-cache python3-dev libffi-dev libressl-dev build-base apk del --no-cache python3-dev libffi-dev libressl-dev build-base
ADD release/linux/amd64/drone-ansible /bin/ ADD release/linux/amd64/drone-ansible /bin/

View File

@ -7,7 +7,7 @@ LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \
RUN apk add --no-cache bash git curl rsync openssh-client sshpass py3-pip py3-requests py3-paramiko python3-dev libffi-dev libressl-dev libressl build-base && \ RUN apk add --no-cache bash git curl rsync openssh-client sshpass py3-pip py3-requests py3-paramiko python3-dev libffi-dev libressl-dev libressl build-base && \
pip3 install -U pip && \ pip3 install -U pip && \
pip3 install ansible==2.10.0 boto3==1.13.10 && \ pip3 install ansible==2.10.5 boto3 hcloud && \
apk del --no-cache python3-dev libffi-dev libressl-dev build-base apk del --no-cache python3-dev libffi-dev libressl-dev build-base
ADD release/linux/arm/drone-ansible /bin/ ADD release/linux/arm/drone-ansible /bin/

View File

@ -1,13 +1,15 @@
FROM plugins/base:linux-arm64 FROM plugins/base:linux-arm64
LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \ LABEL maintainer="ownCloud DevOps <devops@owncloud.com>"
org.label-schema.name="Drone Ansible" \ LABEL org.opencontainers.image.authors="ownCloud DevOps <devops@owncloud.com>"
org.label-schema.vendor="Drone.IO Community" \ LABEL org.opencontainers.image.title="drone-ansible"
org.label-schema.schema-version="1.0" LABEL org.opencontainers.image.url="https://github.com/owncloud-ci/drone-ansible"
LABEL org.opencontainers.image.source="https://github.com/owncloud-ci/drone-ansible"
LABEL org.opencontainers.image.documentation="https://github.com/owncloud-ci/drone-ansible"
RUN apk add --no-cache bash git curl rsync openssh-client sshpass py3-pip py3-requests py3-paramiko python3-dev libffi-dev libressl-dev libressl build-base && \ RUN apk add --no-cache bash git curl rsync openssh-client sshpass py3-pip py3-requests py3-paramiko python3-dev libffi-dev libressl-dev libressl build-base && \
pip3 install -U pip && \ pip3 install -U pip && \
pip3 install ansible==2.10.0 boto3==1.13.10 && \ pip3 install ansible==2.10.5 boto3 hcloud && \
apk del --no-cache python3-dev libffi-dev libressl-dev build-base apk del --no-cache python3-dev libffi-dev libressl-dev build-base
ADD release/linux/arm64/drone-ansible /bin/ ADD release/linux/arm64/drone-ansible /bin/