about summary refs log tree commit diff
path: root/ops/sync-gcsr (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-02-21 feat(ops/besadii): Refactored tool to trigger sourcehut buildsVincent Ambo3-239/+0
Refactors //ops/sync-gcsr which was previously responsible for synchronising the git repository between GCSR and the git.tazj.in cgit instance to simply be responsible for triggering builds on sourcehut. This program is intended to run as a git post-update hook. Note: Not yet feature complete, as interpolation of concrete git values and also sourcehut secrets is missing.
2020-02-21 r/559 chore: Rename pkgs->depot in all Nix file headersVincent Ambo1-3/+3
2020-01-19 r/415 chore(build): Rename tazjins-depot -> depotVincent Ambo1-1/+1
Sourcehut namespaces this under ~tazjin/ anyways.
2020-01-19 r/414 chore(ops/sync-gcsr): Rotate Cachix secret in sourcehutVincent Ambo1-1/+1
2020-01-18 r/413 fix(ops/sync-gcsr): Ensure cachix is installedVincent Ambo1-0/+1
2020-01-18 r/411 fix(ops/sync-gcsr): Avoid echoing the Cachix secretVincent Ambo1-2/+3
sourcehut does not censor secret strings in build logs, but this workaround should avoid the issue.
2020-01-18 r/409 feat(ops/sync-gcsr): Log successful build triggersVincent Ambo1-0/+2
2020-01-18 r/407 feat(sync-gcsr): Add builds.sr.ht build manifestVincent Ambo2-0/+25
Adds a simple build manifest that builds everything in ci-builds.nix and pushes results to Cachix on success.
2020-01-18 r/406 feat(sync-gcsr): Trigger sourcehut builds on master branch changesVincent Ambo1-6/+69
Calls the sourcehut API at builds.sr.ht to trigger a build if the master branch changes. The build manifest is going to be stored in the depot too, coming up next ...
2020-01-18 r/405 feat(ops/sync-gcsr): Skip unneccessary branch updatesVincent Ambo1-4/+12
Checks whether branches are already up-to-date before setting references. This also makes it possible to hook additional logic on the update flow.
2019-12-30 r/318 feat(sync-gcsr): Synchronise all remote branchesVincent Ambo1-14/+46
Explicitly sets all local branches to all equivalent remote branches after each update. Branches deleted on the remote will eventually disappear when the container is restarted.
2019-12-29 r/317 refactor(sync-gcsr): Split clone into separate functionVincent Ambo1-20/+25
This is in preparation for adding more complex branch-related logic to both functions.
2019-12-20 r/237 chore: Significantly restructure folder layoutVincent Ambo2-0/+102
This moves the various projects from "type-based" folders (such as "services" or "tools") into more appropriate semantic folders (such as "nix", "ops" or "web"). Deprecated projects (nixcon-demo & gotest) which only existed for testing/demonstration purposes have been removed. (Note: *all* builds are broken with this commit)