-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add drone tests - Add a task to optionally delete the git private key - Update README
- Loading branch information
1 parent
5c5338b
commit 7b6bada
Showing
6 changed files
with
66 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
pipeline: | ||
build: | ||
image: ubuntu:xenial | ||
commands: | ||
- apt update | ||
- apt install -y git sudo python-pip python-minimal software-properties-common curl apt-transport-https | ||
- pip install ansible | ||
- apt-get -y clean && apt-get -y autoclean | ||
- ansible-playbook -i "127.0.0.1," tests/test.yml --syntax-check | ||
- ansible-playbook -i "127.0.0.1," tests/test.yml --connection=local --become | ||
secrets: [ git_key ] | ||
notify: | ||
image: plugins/slack | ||
secrets: [ slack_webhook ] | ||
when: | ||
status: [success, failure] | ||
event: [push, tag] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,3 @@ galaxy_info: | |
- name: Ubuntu | ||
versions: | ||
- all | ||
categories: | ||
- system | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,17 +24,9 @@ | |
git_url: "[email protected]:onaio/kaznet-frontend.git" | ||
git_version: "master" | ||
git_key: | | ||
-----BEGIN OPENSSH PRIVATE KEY----- | ||
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW | ||
QyNTUxOQAAACA9qCTlybKhynrJk3BeoT0A7xBlqzaqg/kZdj3sK9jPKQAAAKCeaoI/nmqC | ||
PwAAAAtzc2gtZWQyNTUxOQAAACA9qCTlybKhynrJk3BeoT0A7xBlqzaqg/kZdj3sK9jPKQ | ||
AAAEDYh6iqUK/8egdsvLNmnW4nAcr1kcCLcoOQA3xnYPZFJD2oJOXJsqHKesmTcF6hPQDv | ||
EGWrNqqD+Rl2Pewr2M8pAAAAF21vc2hAbW9zaC1UaGlua1BhZC1UNDcwAQIDBAUG | ||
-----END OPENSSH PRIVATE KEY----- | ||
{{ lookup('env', 'GIT_KEY') }} | ||
app_settings: | ||
REACT_APP_WEBSITE_NAME: 'Example App' | ||
REACT_APP_KAZNET_ENDPOINT: 'http://127.0.0.1:8000/api/v1' | ||
REACT_APP_API_TOKEN: 'a068bf9af441dcb308d2ee51295d548218757bc5' | ||
SOMETHING_ELSE: "you can put anything here" | ||
gather_facts: True | ||
become: True | ||
|