GitLab CI Templates merge requestshttps://gitlab.torproject.org/tpo/tpa/ci-templates/-/merge_requests2024-01-31T22:46:49Zhttps://gitlab.torproject.org/tpo/tpa/ci-templates/-/merge_requests/43Draft: implement token renewal procedures2024-01-31T22:46:49ZanarcatDraft: implement token renewal proceduresThis new job attempts to renew the provided token by talking to the [token rotation API](https://docs.gitlab.com/ee/api/project_access_tokens.html#rotate-a-project-access-token) to get a new value for a token, then storing this in the pr...This new job attempts to renew the provided token by talking to the [token rotation API](https://docs.gitlab.com/ee/api/project_access_tokens.html#rotate-a-project-access-token) to get a new value for a token, then storing this in the project's CI/CD variables through [that API](https://docs.gitlab.com/ee/api/project_level_variables.html#update-a-variable) as well.
This is to work around enforced token expiry recently deployed in GitLab, see [this blog post](https://about.gitlab.com/blog/2023/10/25/access-token-lifetime-limits/) which explains that, starting in GitLab 16.0, all tokens automatically expire after one year. An exception is the (non-free) [service accounts](https://docs.gitlab.com/ee/user/profile/service_accounts.html) feature which have optional expiration exceptions.
Closes: https://gitlab.torproject.org/tpo/tpa/team/-/issues/41510anarcatanarcathttps://gitlab.torproject.org/tpo/tpa/ci-templates/-/merge_requests/42Draft: Create an opt-in test for dead links2024-02-01T20:52:09ZKezDraft: Create an opt-in test for dead linksCloses #14
TPA is doing bookworm upgrades this week, so I don't want to test and deploy this until next week.Closes #14
TPA is doing bookworm upgrades this week, so I don't want to test and deploy this until next week.