Age | Commit message (Collapse) | Author |
|
* genenetwork-development.scm (dump-genenetwork-database): Find
GeneRIF data in root of export directory.
|
|
* genenetwork-development.scm (dump-genenetwork-database): Use
guile-zlib.
|
|
* genenetwork-development.scm (genenetwork2-tests): Ungexp
gn2-repository and gn3-repository correctly.
|
|
* genenetwork-development.scm (genenetwork-projects): Import (guix
build utils) in after scripts of CI jobs.
|
|
* genenetwork-development.scm (dump-genenetwork-database): Import
GeneRIF into RDF.
|
|
We unite the genenetwork2 and genenetwork3 development servers into
a single Guix service. This unifies many of the configuration
settings and simplifies the configuration. Changes to the genenetwork3
repository also immediately reflect in the genenetwork2 continuous
deployment without guix-bioinformatics having to be updated.
* genenetwork-development.scm (<development-server-configuration>):
Delete type.
(<genenetwork-configuration>): New type.
(development-server-redeploy, development-server-activation,
genenetwork2-project, genenetwork2-shepherd-service,
genenetwork3-project, genenetwork3-shepherd-service): Delete
functions.
(genenetwork2-tests): Accept <genenetwork-configuration> object
instead of <forge-project> object.
(%genotype-files, %xapian-db-path,
%default-genenetwork2-configuration, genenetwork2-service-type,
%default-genenetwork3-configuration, genenetwork3-service-type):
Delete variables.
(genenetwork-projects, genenetwork2-cd-gexp, genenetwork3-cd-gexp,
genenetwork-shepherd-services): New functions.
(operating-system)[services]: Replace genenetwork2 and genenetwork3
services with the unified genenetwork service.
* genenetwork/development-helper.scm (genenetwork2-runner-gexp,
genenetwork3-runner-gexp): Delete functions.
|
|
* genenetwork-development.scm (genenetwork2-shepherd-service): Do not
expose xapian index.
(genenetwork3-shepherd-service): Expose xapian index.
* genenetwork/development-helper.scm (genenetwork2-runner-gexp): Do
not accept xapian index argument.
(genenetwork3-runner-gexp): Accept config file argument.
|
|
* README.org (Virtuoso container for tux01 production): Remove
user management commands.
(Secure virtuoso authentication): New section.
|
|
*
genenetwork-development.scm (dump-genenetwork-database-project)[repository]:
Use GitHub URI.
|
|
This was a typo.
* genenetwork-development.scm (genenetwork3-project)[ci-jobs]: Trigger
genenetwork2 using laminar, not shepherd.
|
|
* genenetwork-development.scm: Import (forge socket).
(operating-system)[services]: Use <forge-ip-socket> object to specify
webhook port.
|
|
* genenetwork-development.scm: Import (gnu build
linux-container), (gnu system file-systems) and (guix
least-authority).
(genenetwork2-shepherd-service, genenetwork3-shepherd-service):
Deprecate make-forkexec-constructor/container in favor of
least-authority-wrapper.
|
|
Since genenetwork2 depends on genenetwork3, updates to genenetwork3
should trigger the genenetwork2 tests.
* genenetwork-development.scm (genenetwork3-project): Trigger
genenetwork2 tests after genenetwork3 tests.
|
|
* genenetwork-development.scm (genenetwork2-project): Comment about
triggering of Mechanical Rob after genenetwork2 tests.
|
|
* genenetwork-development.scm (genenetwork2-shepherd-service): Convert
port number to string on the host, not on the build side.
|
|
So far, whenever genenetwork2 code needed the latest updates from
genenetwork3, the guix-bioinformatics channel had to be updated and
the development container had to be rebuilt. No more. From now on, the
latest genenetwork3 code will be pulled in at all times. The
development container need only be rebuilt when the dependencies of
genenetwork2 or genenetwork3 change. We may revisit this decision once
genenetwork2 and genenetwork3 are better decoupled and we have
semantically versioned releases.
* genenetwork-development.scm (genenetwork2-tests): Pull in latest
genenetwork3 when running genenetwork2 tests.
|
|
* virtuoso.scm, virtuoso-deploy.sh: New files.
* README.org (Virtuoso container for tux01 production): New section.
|
|
* genenetwork/development-helper.scm (genenetwork2-runner-gexp): Set
RUST_BACKTRACE environment variable.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
|
|
* genenetwork-development-deploy.sh (container_script): Expose root of
data directory instead of its sub-directories.
|
|
* genenetwork/development-helper.scm (genenetwork2-runner-gexp): Run
genenetwork2 CD on gunicorn.
|
|
* genenetwork-development.scm (%xapian-db-path): New variable.
(genenetwork2-shepherd-service)[start]: Share %xapian-db-path with the
container.
(%default-genenetwork2-configuration)[runner]: Pass %xapian-db-path to
CD runner.
* genenetwork/development-helper.scm (genenetwork2-runner-gexp):
Accept xapian-db-path argument and set XAPIAN_DB_PATH environment
variable.
* genenetwork-development-deploy.sh: Expose
/export/data/genenetwork/xapian in the container.
|
|
* genenetwork-development.scm (genenetwork2-project)[ci-jobs]: Use
pytest instead of unittest.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
|
|
The upstream laminar package now uses git-fetch instead of
url-fetch. Hence, we must adapt our laminar template G-expression.
* genenetwork-development.scm (laminar-template-gexp): Copy
/src/resources/index.html from git source instead of extracting it
from a tarball.
|
|
* genenetwork-development.scm (laminar-template-gexp): Link to
continuous deployment from the navigation menu.
|
|
* genenetwork/development-helper.scm (genenetwork2-runner-gexp): Set
GN_SERVER_URL to /api3.
|
|
* genenetwork-development.scm (%genenetwork2-port): New variable.
(genenetwork2-project): Use %genenetwork2-port.
(development-server-reverse-proxy-server-block): New function.
(operating-system)[services]: Use %genenetwork2-port. Add reverse
proxy block for cd.genenetwork.org.
|
|
* genenetwork-development.scm (genenetwork2-tests): Use
%genenetwork3-port.
|
|
* genenetwork-development.scm (%webhook-port): New variable.
(laminar-server-reverse-proxy-server-block): Expose webhook under
/hooks/.
(operating-system)[services]: Use %webhook-port.
|
|
* genenetwork-development.scm (laminar-reverse-proxy-server-block):
Set host name of the laminar nginx server.
|
|
The guix channel is a dependency of the gn-bioinformatics
channel. Therefore, it is always implicitly present.
* genenetwork-development.scm (operating-system)[services]: Do not
list guix channel in CI published channels.scm.
|
|
/srv/http is no longer. It was used earlier for the gn-gemtext-threads
website.
* genenetwork-development-deploy.sh: Do not share /srv/http into
container.
|
|
The gn-gemtext-threads forge project does not need a website
directory. Its website is completely managed by the tissue service.
*
genenetwork-development.scm (gn-gemtext-threads-project)[website-directory]:
Remove.
|
|
* production.scm: Import (gnu services databases).
(operating-system)[services]: Add mysql-service-type.
* production-deploy.sh: Share mysql directory with container.
|
|
The production container need interact with the outside world only
through a single Unix socket file on which the GeneNetwork web server
listens. Hide all other interfaces to it.
* production-deploy.sh (container_script): Remove --network flag.
|
|
* genenetwork-development.scm (%genenetwork-accounts): New variable.
(genenetwork2-shepherd-service, genenetwork3-shepherd-service): Run as
genenetwork user and group.
(genenetwork2-service-type, genenetwork3-service-type): Create
genenetwork user and group.
|
|
* production-deploy.sh, production.scm: New files.
|
|
* README.org (GeneNetwork development container): Document the
required channels.
|
|
* genenetwork-development.scm: Add copyright line for Frederick
Muriuki Muriithi.
|
|
* genenetwork-development.scm (genenetwork2-shepherd-service,
genenetwork3-shepherd-service): Move log files into /var/log/cd.
* genenetwork-development-deploy.sh: Share /var/log/cd with host.
|
|
The urljoin function reduces a URL without a trailing slash to just
the base, e.g. "http://genenetwork.org/gn3-proxy" is reduced to
"http://genenetwork.org", which is not what we want.
* genenetwork-development.scm (genenetwork2-tests): Add trailing slash
to GN_PROXY_URL.
|
|
The urljoin function reduces a URL without a trailing slash to just
the base, e.g. "http://genenetwork.org/gn3-proxy" is reduced to
"http://genenetwork.org", which is not what we want.
* genenetwork/development-helper.scm (genenetwork2-runner-gexp): Add
trailing slash to GN_PROXY_URL environment variable.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
|
|
* genenetwork-development.scm (genenetwork3-shepherd-service): Map
mysqld socket into the container.
|
|
* genenetwork/development-helper.scm (genenetwork2-runner-gexp): Set
GN_SERVER_URL.
|
|
* genenetwork-development.scm (tissue-reverse-proxy-server-block):
Support URIs without the html extension.
|
|
* genenetwork-development-deploy.sh: Share tissue state directory with
container.
* genenetwork-development.scm: Do not import tissue from (gn packages
gemini). Import (forge tissue).
(<tissue-configuration>, <tissue-host>): Delete types.
(%tissue-accounts, tissue-service-type): Delete variables.
(gn-gemtext-threads-website, gn-gemtext-threads-index,
tissue-conf-gexp, tissue-shepherd-service): Delete functions.
(gn-gemtext-threads-project)[ci-jobs]: Use tissue pull in
gn-gemtext-threads job.
(tissue-reverse-proxy-server-block): Use default tissue state
directory and unix socket paths. Do not accept them as arguments.
(operating-system)[services]: Use new tissue-service-type
parameters. Update invocation of tissue-reverse-proxy-server-block.
* genenetwork/development-helper.scm (tissue-website-gexp,
tissue-index-gexp): Delete functions.
|
|
* genenetwork-development.scm (<tissue-configuration>)[address, port,
indexed-repository]: Delete fields.
[listen, hosts]: New fields.
* genenetwork-development.scm (<tissue-host>): New type.
(tissue-conf-gexp): New function.
(tissue-shepherd-service): Remove --address and --port
arguments. Compute and pass tissue.conf configuration file. Create
file system mappings for all hosts.
(operating-system)[services]: Use new tissue-configuration fields.
|
|
tissue now builds a xapian index and this requires a writable
directory.
* genenetwork/development-helper.scm (tissue-website-gexp): Build
static website in temporary writable directory.
|
|
* genenetwork-development.scm: Import shadow from (gnu packages
admin).
(gn-gemtext-threads-index): New function.
(gn-gemtext-threads-project)[ci-jobs]: Add gn-gemtext-threads-index.
(<tissue-configuration>): New type.
(tissue-shepherd-service, tissue-reverse-proxy-server-block): New
function.
(%tissue-accounts, tissue-service-type): New variables.
(operating-system)[services]: Add tissue tissue service and reverse
proxy it.
* genenetwork/development-helper.scm (tissue-index-gexp): New
function.
|
|
tissue now uses libgit2 through guile-git and does not use the git CLI
tool.
* genenetwork-development.scm (gn-gemtext-threads-website): Remove
git-minimal from manifest.
* genenetwork/development-helper.scm (tissue-website-gexp): Remove
reassurance to git.
|
|
* genenetwork-development-deploy.sh: Persist virtuoso database at
/var/guix-containers/genenetwork-development/var/lib/virtuoso.
|