Page MenuHomeDevCentral

Provide Hound container to search Nasqueron codebase
ClosedPublic

Authored by dereckson on Jan 16 2022, 01:56.
Tags
None
Referenced Files
F2744045: D2465.diff
Thu, Mar 28, 12:58
F2742410: D2465.id6211.diff
Thu, Mar 28, 05:16
F2740909: D2465.id6216.diff
Wed, Mar 27, 22:18
F2739564: D2465.id6218.diff
Wed, Mar 27, 15:42
F2739427: D2465.id6209.diff
Wed, Mar 27, 15:09
Unknown Object (File)
Wed, Mar 27, 14:45
Unknown Object (File)
Tue, Mar 26, 03:53
Unknown Object (File)
Tue, Mar 26, 03:53
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