9 Commits

Author SHA1 Message Date
Clark Boylan
68f740faf8 Remove old 404 checker job
This is being replaced with goaccess report jobs.

Change-Id: Ia22d847bfc1a9e450bd8c8e7fab77dd08bd1dfd0
2020-03-11 15:15:00 -07:00
Clark Boylan
9e394d24d0 Return goaccess html as zuul artifact
This will give us a nice link to the goaccess reports on the zuul
dashboard build pages.

Move ansible-lint config into config file

As of 4.2.0 we can configure ansible-lint with a config file. It's
also apparently now smart enough to only find ansible yaml. Let's
see how that goes.

Add a fake zuul_return module

This should let us fake out ansible-lint without having to install
all of zuul.

Change-Id: Ib233eb577a8ca2aabfe3a49b2cd823dd4a00bd82
2020-03-11 14:28:28 -05:00
Clark Boylan
24ed36fa34 Pull goaccess report into zuul logs
This will be our first step at publishing these publicly.

Change-Id: I7a2eb4ace5f76b8853867e1b4a767e5f3830ce96
2020-03-10 15:50:45 -07:00
Clark Boylan
2792fa5b76 Simplify goaccess command
This switches all log file input to stdin using a subshell to cat all
the related log files. This makes the command a bit more consistent with
itself.

Change-Id: I99a8b0326f2a27c8497d616501fd9bed48678da8
2020-03-10 15:40:16 -07:00
Clark Boylan
8fb306a22b Add periodic job to run goaccess reporting
This adds a simple periodic job that runs against static.opendev.org and
produces opendev reports. To start we don't publish these reports
publicly so that we can double check their contents first. Assuming that
all goes well we'll be able to apply this to all of our
static.opendev.org hosted sites and publish these reports through the
zuul logging system.

Change-Id: I66705808d435c16bf0da6989296c896099964aaa
Story: 2007387
2020-03-10 10:42:07 -07:00
Ian Wienand
52850ddb63 404 periodic job: minor fixes
* Remove a stray trailing ' from the key
* update the key url to use https
* fix the log path to scrape

Change-Id: I580b63f08147494a937d44f4f6637947221c8937
2020-02-26 14:28:03 +11:00
Ian Wienand
e884ebfa57 404 periodic job: fix host parameter
The documentation is wrong, this needs to be just "host:" (fixed
upstream with
cf4882e0c0
but not released yet).

Change-Id: I5110e6795fa8b5729ddc87da6aef7c9ac7ed39a4
2020-02-26 12:49:25 +11:00
Ian Wienand
de0c28018c 404 periodic job : use executor only, add host key
This only needs to run on the executor, specify a blank nodeset.

Add the static.opendev.org host key after adding the host.

Change-Id: Iedde486ce8f3e9b415991830121fb87ba192afc6
2020-02-26 11:44:13 +11:00
Ian Wienand
74005bb29a static: add a periodic 404 checker
This is an alternative to Iccf24a72cf82592bae8c699f9f857aa54fc74f10
which removes the 404 scraping tool.  It creates a zuul user and
enables login via the system-config per-project ssh key, and then runs
the 404 scraping script against it periodically.

Change-Id: I30467d791a7877b5469b173926216615eb57d035
2020-02-26 09:05:31 +11:00