Skip to content

Commit

Permalink
Merge pull request #11 from oybed/github-support
Browse files Browse the repository at this point in the history
Adding GitHub support
  • Loading branch information
pcarney8 authored Aug 27, 2018
2 parents 95eaeae + f46cf96 commit c686867
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
*.retry
*.swp
*.pyc
roles/infra-ansible
roles/casl-ansible
roles/openshift-applier

11 changes: 11 additions & 0 deletions playbooks/run-github-demo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---

- name: "Prepare the SCM for use with this demo env"
hosts: seed-hosts
tasks:
- set_fact:
demo_projectname: "{{ pusher.name }}"
demo_scm_url: "{{ repository.url }}#{{ ref | regex_replace('^refs\\/.+\\/(.*)$', '\\1') }}"


- import_playbook: run-demo.yml
4 changes: 4 additions & 0 deletions roles/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@
# From: 'openshift-applier'
- src: https://github.com/redhat-cop/openshift-applier
version: v2.0.0

# From: 'casl-ansible'
- src: https://github.com/redhat-cop/casl-ansible
version: v3.9.2

0 comments on commit c686867

Please sign in to comment.