9 Commits

Author SHA1 Message Date
Jeremy Stanley
ba7d3d59c3 Turn on mod_rewrite for PTG vhost
In order to use Rewrite* directives, mod_rewrite must be activated
in the vhost via RewriteEngine.

Change-Id: I495ee5e9fd3b1d489122d6e282d3a91d1035c126
2021-10-07 19:34:16 +00:00
Jeremy Stanley
6df026852e Update ptgbot jobs to use #opendev-sandbox channel
The default channel name in the ptgbot role defaults did not
correctly specify a starting hash which it requires, but also the
test jobs seem to need it set in the eavesdrop group vars specific
to testing.

Change-Id: I16cdeac4f7af50e2cac36c80d78f3a87f482e4aa
2021-10-07 19:34:15 +00:00
Ian Wienand
d1c1e0dc02 ptgbot: Add ServerAlias for ptg.openstack.org
Ensure the old site redirects to the new site

Change-Id: I85a9616db3b0c8c443db927f751da8c2c418c318
2021-10-07 10:35:01 +11:00
Ian Wienand
67c08d52ad ptgbot: rename site to ptg.opendev.org
To remain consistent with "ptg.openstack.org", we are dropping the
"bot"

Depends-On: https://review.opendev.org/c/opendev/zone-opendev.org/+/812757
Change-Id: I5f06ee08241a286178fcb1be5c19fee6b6086d6f
2021-10-07 09:43:39 +11:00
Ian Wienand
347a9314ed ptgbot: fix servername on http side
Change-Id: I2c5883b7723fed1ed0b83f71507e50d3f85d5841
2021-10-07 08:38:00 +11:00
Zuul
b1bb5b782d Merge "Finish ptgbot configuration" 2021-10-06 20:22:50 +00:00
Jeremy Stanley
ad16067ae8 Finish ptgbot configuration
Set the channel we want ptgbot joining in production with a group
var, like we do for statusbot's channel list. Correct the password
var name to match what's used in the template for production (and
matches the override set in our private hostvars on the bastion).
Clean up the unnecessary auth nicks list which was copied from the
statusbot config but is entirely unused. Also get rid of some
unnecessary empty lines in the defaults as they really don't make
the file any more readable.

Change-Id: Id026b89d642eae13feba374e4f3ec610b543e530
2021-10-06 19:06:39 +00:00
Ian Wienand
86b7f75b25 ptgbot: setup web interface
The dependent change exports the ptgbot website on port 8000 in the
container.  Proxy this through apache.

Depends-On: https://review.opendev.org/c/openstack/ptgbot/+/812417
Change-Id: Idf9e9f5ffad981427d24a3476c0c1f244721d917
2021-10-06 15:39:25 +11:00
Kendall Nelson
62e30e52de Setting Up Ansible For ptgbot
Heavily taken from statusbot, but removed wiki and twitter defaults.

Change-Id: I7b1958dbe37e5d25b8fde746235c88a4d6763ffd
2021-10-06 15:39:25 +11:00