Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danihodovic/ansible-role-drone
https://github.com/danihodovic/ansible-role-drone
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/danihodovic/ansible-role-drone
- Owner: danihodovic
- Created: 2020-11-04T13:28:53.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-03T13:04:41.000Z (over 3 years ago)
- Last Synced: 2024-05-14T00:33:07.742Z (6 months ago)
- Language: Python
- Size: 33.2 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ansible-role-drone [![Build Status](https://ci.depode.com/api/badges/danihodovic/ansible-role-drone/status.svg)](https://ci.depode.com/danihodovic/ansible-role-drone)
Deploys [Drone CI](https://drone.io/)
### Testing
Create a virtual env and install the dependencies
```
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
```Create a Gitlab account and an oauth application. Follow the instructions on
the [Drone docs](https://docs.drone.io/server/provider/gitlab/).Once the OAuth application is created expose the below variables in your
environment.```sh
export GITLAB_CLIENT_ID=id
export GITLAB_CLIENT_SECRET=secret
```Run molecule
```
mocule test
```