Skip to content

Options to configure robots.txt on workhorse - append or overwrite

What does this MR do?

This MR adds to the workhorse start script an option to append or overwrite the robots.txt file under /srv/gitlab/public/ - please confirm if this is where the file exit.

If the script finds /tmp/gitlab/robots_append.txt it will append to the /srv/gitlab/public/robots.txt

Else if script finds /tmp/gitlab/robots_overwrite.txt it will overwrite the current /srv/gitlab/public/robots.txt in the workhorse container.

Related issues

gitlab-org/charts/gitlab#2626

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion

Required

  • Merge Request Title, and Description are up to date, accurate, and descriptive
  • MR targeting the appropriate branch
  • MR has a green pipeline on GitLab.com

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes
  • Documentation created/updated
  • Integration tests added to GitLab QA
  • The impact any change in container size has should be evaluated
Edited by Sarmad Abualkaz

Merge request reports