-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Zuul job to validate watcher deployment
Depends-On: #8 Signed-off-by: Chandan Kumar <[email protected]>
- Loading branch information
Showing
2 changed files
with
53 additions
and
0 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
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,23 @@ | ||
--- | ||
# This hook is used to deploy watcher service. | ||
|
||
- name: Deploy Watcher service | ||
hosts: "{{ cifmw_target_hook_host | default('localhost') }}" | ||
gather_facts: false | ||
environment: | ||
KUBECONFIG: "{{ cifmw_openshift_kubeconfig }}" | ||
PATH: "{{ cifmw_path }}" | ||
tasks: | ||
- name: Install Watcher Operator | ||
cifmw.general.ci_script: | ||
output_dir: "{{ cifmw_basedir }}/artifacts" | ||
chdir: "{{ ansible_user_dir }}/src/github.com/openstack-k8s-operators/watcher-operator" | ||
script: make watcher | ||
extra_args: | ||
CATALOG_IMAGE: "{{ watcher_catalog_image | default('quay.io/openstack-k8s-operators/watcher-operator-index:latest') }}" | ||
|
||
- name: Deploy Watcher service | ||
cifmw.general.ci_script: | ||
output_dir: "{{ cifmw_basedir }}/artifacts" | ||
chdir: "{{ ansible_user_dir }}/src/github.com/openstack-k8s-operators/watcher-operator" | ||
script: make watcher_deploy |