summaryrefslogtreecommitdiff
path: root/issues/per-service-profile-for-shepherd-services.gmi
blob: 43c91189be3ccf6f9348f98473c018e485912e54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Each shepherd service needs its own guix profile.

UPDATE: genecup is now running as a container on tux02. This is a model for getting rid of guix profiles. Note that we
do need to fixate guix-bioinformatics and guix-past channels *per* service. Otherwise updates are impossible.

In time we may move to hosting these services in a guix system container (a VM).

Currently there are a bunch of shepherd services (on tux02, as user shepherd) who are using the global shepherd guix profile and loading guix-bioinformatics at service start time to start their services. This is bad because:

* we aren't using per-service guix-bioinformatics worktrees, so the branch changes between service refreshes
* service start times are high because we have to rebuild the service (due to above)
* services which are restarted are in an "untested" state until they work


## Services which need to be migrated:

* covid19-pubseq (uses shared (broken!) guix profile, uses shared config directory)(currently running by hand by Pjotr)
* hrdp-project (uses shared (broken!) guix profile) (upstream source is gone)
* ratspub (uses own guix profile, uses shared guix-bioinformatics)(deprecated(?))
* pluto (uses own guix profile, uses shared config directory)(currently disabled)

## Services which need to be monitored:

* genenetwork1 (uses own guix profile, uses shared config directory)
* genome_browser (uses own guix profile, uses shared config directory)
* mcron (uses shared guix profile, probably OK)
* virtuoso (uses shared guix profile, probably OK)

## Services which already have their own profile:

Note that the profiles essentially just contain the guix binary, acting like a time machine. It is
used to fire up a guix shell/environment:

* bnw
* cronjob-gitea
* cronjob-pubmed (genecup)
* genecup
* gitea
* ipfs
* power
* rn6app
* singlecell

## Tags

* assigned: efraim, pjotrp
* type: bug
* status: in progress
* priority: high
* keywords: shepherd, system administration