Skip to content

Commit

Permalink
Build openstack-watcher container
Browse files Browse the repository at this point in the history
Signed-off-by: Chandan Kumar (raukadah) <[email protected]>
  • Loading branch information
raukadah committed Sep 26, 2024
1 parent 41545a5 commit 872d312
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 0 deletions.
3 changes: 3 additions & 0 deletions container-images/containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,6 @@ container_images:
- imagename: quay.io/podified-master-centos9/openstack-tempest-extras:current-podified
- imagename: quay.io/podified-master-centos9/openstack-tobiko:current-podified
- imagename: quay.io/podified-master-centos9/openstack-openstackclient:current-podified
- imagename: quay.io/podified-master-centos9/openstack-watcher-api:current-podified
- imagename: quay.io/podified-master-centos9/openstack-watcher-applier:current-podified
- imagename: quay.io/podified-master-centos9/openstack-watcher-decision-engine:current-podified
1 change: 1 addition & 0 deletions container-images/kolla/base/uid_gid_manage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ _SUPPORTED_USERS['tempest']='tempest 42480 42480 /var/lib/tempest kolla'
_SUPPORTED_USERS['tobiko']='tobiko 42495 42495 /var/lib/tobiko kolla'
_SUPPORTED_USERS['tss']='tss 59 59'
_SUPPORTED_USERS['ansible']='ansible 227 227 /var/lib/ansible kolla'
_SUPPORTED_USERS['watcher']='watcher 42451 42451 /var/lib/watcher kolla'

for _USER_TO_CREATE in $_USERS_TO_CREATE; do
# Initialize computed args
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
tcib_actions:
- run: dnf -y install {{ tcib_packages['common'] | join(' ') }} && dnf clean all && rm -rf /var/cache/dnf
tcib_packages:
common:
- openstack-watcher-api
tcib_user: watcher
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
tcib_actions:
- run: dnf -y install {{ tcib_packages['common'] | join(' ') }} && dnf clean all && rm -rf /var/cache/dnf
tcib_packages:
common:
- openstack-watcher-applier
tcib_user: watcher
10 changes: 10 additions & 0 deletions container-images/tcib/base/os/watcher-base/watcher-base.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
tcib_actions:
- run: bash /usr/local/bin/uid_gid_manage watcher
- run: dnf -y install {{ tcib_packages['common'] | join(' ') }} && dnf clean all && rm -rf /var/cache/dnf
- run: sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf && sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
tcib_packages:
common:
- httpd
- mod_ssl
- openstack-watcher
- python3-mod_wsgi
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
tcib_actions:
- run: dnf -y install {{ tcib_packages['common'] | join(' ') }} && dnf clean all && rm -rf /var/cache/dnf
tcib_packages:
common:
- openstack-watcher-decision-engine
tcib_user: watcher

0 comments on commit 872d312

Please sign in to comment.