In 57e1bfca I copied an initial CI file from the one I used in the tpo/web/donate repo. I made some changes to make it work for styleguide.tpo, including removing unnecessary python packages and the translation parts of the script.
In 0dd18eb1 I added a dummy deploy stage to make the static-shim work. Since the static-shim CI file doesn't define a stages key, defining one in my file completely stopped it from running.
Most recently in 7f2b8b72 I added an HTML comment to give me something to search the production site for, to make sure the static-shim is deploying the site properly.
Currently, static-shim is failing due to the build directory not existing. I'm looking into how to fix it with puppet.
I had a typo in the build directory. Fixed, and the static-shim is now deploying properly. I'll be retiring the Jenkins job, archiving the repo, and notifying web contributors about the move.
I've written a patch to retire the Jenkins job, but I don't have write access to the jobs repository. I've sent @anarcat an email with the patch for when he's available to merge it.
I've begun the process of archiving the gitolite repo. A notice about the migration has been posted here #16 (closed) as well as in #tor-www on OFTC. A pre-receive hook has been added to the repo per https://gitlab.torproject.org/tpo/tpa/team/-/wikis/howto/git#commit-hooks, and the repo has been changed in gitolite.conf. I think I've missed a step though, since The repo is still under "Infrastructure and Administration" instead of "Attic", though the description has changed to "Tor styleguide (deprecated)".
Considering we have a few more sites to retire like this, i would rather
you give yourself access to the jenkins repos, so that you're autonomous
on this front. this should be possible with your gitolite access.
and great checklist, we should have one of those (with all the steps)
for the other tickets!
I've written a patch to retire the Jenkins job, but I don't have write access to the jobs repository. I've sent @anarcat an email with the patch for when he's available to merge it.
--
Antoine Beaupré
torproject.org system administration