Page MenuHomeDevCentral

Provide Hound container to search Nasqueron codebase
ClosedPublic

Authored by dereckson on Jan 16 2022, 01:56.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 05:51
Unknown Object (File)
Tue, Dec 17, 05:50
Unknown Object (File)
Fri, Dec 13, 20:03
Unknown Object (File)
Tue, Dec 10, 15:11
Unknown Object (File)
Mon, Dec 9, 09:10
Unknown Object (File)
Mon, Dec 9, 06:26
Unknown Object (File)
Sun, Dec 8, 16:40
Unknown Object (File)
Sun, Dec 8, 01:46
Subscribers
None

Details

Summary

Deploy a Hound instance with all the repositories, from GitHub,
as a source.

Ref T614

Test Plan

deploy on docker-001

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Jan 16 2022, 01:58
dereckson added inline comments.
roles/paas-docker/containers/files/hound/generate-config.py
24

Doesn't work as expected:

2022/01/16 02:31:09 vcs pull error (devtools - https://www.github.com/nasqueron/devtools.git): exit status 128
2022/01/16 02:31:09 Failed to git fetch /data/data/vcs-6d9880c3c52b78fe61543fd79624467b7d848f8b, see output below
warning: redirecting to https://github.com/nasqueron/upsection.git/
fatal: Couldn't find remote ref master
Continuing...
This revision is now accepted and ready to land.Jan 16 2022, 02:52

Limit scope of IndexError to sys.argv[1]

pillar/paas/docker.sls
54
roles/paas-docker/containers/hound.sls
69

The issue reported at https://github.com/hound-search/hound/issues/407 when a custom branch name (e.g. main) is used has been solved: the ghcr.io/hound-search/hound built on GitHub should be used instead of legacy esty/hound, not rebuild for 3 years.

Reindex code repo every hour