Tags page shows incorrect download artefacts button

The Projects::TagsController loads @tags_pipelines and @tag_pipeline_statuses and then the frontend uses the @tags_pipelines to display the download artefacts button and @tag_pipeline_statues to show the ci status icon for each branch.

There are 2 issues here.

  1. We're using 2 queries to fetch what should be the same pipeline.
  2. These queries behave slightly differently and @tags_pipelines is actually not as reliable

We should remove @tags_pipelines and update the download artefacts logic.

Edited by Joe Woodward