nixos/sync
2023-12-27 23:04:26 +00:00
..
.gitignore feat: will now only update teh links if they change, or if an override is passed 2023-12-27 22:52:01 +00:00
README.md doc: added instructions on how to force a new linking for teh sync 2023-12-27 23:04:26 +00:00
repos.csv feat: finished listing the repos, should be all good now 2023-12-27 22:11:26 +00:00
sync.sh feat: will now only update teh links if they change, or if an override is passed 2023-12-27 22:52:01 +00:00

Repo Sync

This subdir is intended for syncing repos on <gitlab.skynet.ie> with <gitlab.com>

CSV file

This file is in the format of local id and remote link.
It must end on a newline

Tokens

Tokens have a lifetime of a year.

Site User Location Scopes Expiry
Gitlab ulcompsoc https://gitlab.com/-/user_settings/personal_access_tokens api 2024-12-26
Skynet compsoc https://gitlab.skynet.ie/groups/compsoc1/-/settings/access_tokens api 2024-12-26

They are then stored in https://gitlab.skynet.ie/compsoc1/skynet/nixos/-/settings/ci_cd as TOKEN and TOKEN_REMOTE

After the tokens have been regenerated head to https://gitlab.skynet.ie/compsoc1/skynet/nixos/-/pipelines/new and use the var SYNC_OVERRIDE with value true to force an update of all the links.