Skip to content

Commit

Permalink
changes on Tue May 25 13:20:21 CEST 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
justb4 committed May 25, 2021
1 parent b6a6876 commit ae2ed50
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 9 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/deploy/pygeoapi_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Ansible workflow for single service deployment.
# Uses: https://github.com/dawidd6/action-ansible-playbook
# Options: https://github.com/dawidd6/action-ansible-playbook/blob/master/main.js
# Author: Just van den Broecke - 2021
#
name: pygeoapi test Deploy ⚙️

# Trigger only when service/traefik subdir changed
on:
push:
paths:
- 'services/pygeoapi_test'

jobs:
main:
runs-on: ubuntu-20.04

steps:
- name: Checkout ✅
uses: actions/checkout@v2

- name: Run playbook ⚙
uses: dawidd6/action-ansible-playbook@v2
with:
playbook: deploy.yml
directory: ./ansible
key: ${{secrets.ANSIBLE_SSH_PRIVATE_KEY}}
inventory: ${{secrets.ANSIBLE_INVENTORY_PROD}}
vault_password: ${{secrets.ANSIBLE_VAULT_PASSWORD}}
options: |
--tags pygeoapi_test
--verbose
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# Ansible workflow.
# Ansible workflow for single service deployment.
# Uses: https://github.com/dawidd6/action-ansible-playbook
# Options: https://github.com/dawidd6/action-ansible-playbook/blob/master/main.js
# Author: Just van den Broecke - 2021
#
name: Ansible CI ⚙️
name: Traefik Deploy ⚙️

on: [ push ]
# Trigger only when service/traefik subdir changed
on:
push:
paths:
- 'services/traefik'

jobs:
main:
Expand All @@ -24,6 +28,5 @@ jobs:
inventory: ${{secrets.ANSIBLE_INVENTORY_PROD}}
vault_password: ${{secrets.ANSIBLE_VAULT_PASSWORD}}
options: |
--limit ogcapi
--extra-vars hello=there
--verbose
--tags traefik
--verbose
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![CI Build](https://github.com/Geonovum/ogc-api-testbed/actions/workflows/ansible.yml/badge.svg)](https://github.com/Geonovum/ogc-api-testbed/actions/workflows/ansible.yml)
[![Traefik Deploy](https://github.com/Geonovum/ogc-api-testbed/actions/workflows/deploy/traefik.yml/badge.svg)](https://github.com/Geonovum/ogc-api-testbed/actions/workflows/deploy/traefik.yml)
[![Gitter](https://img.shields.io/gitter/room/Geonovum/ogc-api-testbed.svg?style=flat-square)](https://gitter.im/Geonovum/ogc-api-testbed)

# OGC API Testbed
Expand Down
3 changes: 1 addition & 2 deletions services/status.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash
#
# This lists status all service components for geoqos stack
# You must first have done ./build.sh
# This lists status all service components.
#
# Just van den Broecke - 2021
#
Expand Down

0 comments on commit ae2ed50

Please sign in to comment.