Page MenuHomeDevCentral

Provide Hound container to search Nasqueron codebase
ClosedPublic

Authored by dereckson on Jan 16 2022, 01:56.
Tags
None
Referenced Files
F3803122: D2465.id6221.diff
Fri, Nov 29, 14:50
F3803115: D2465.id6210.diff
Fri, Nov 29, 14:40
F3803071: D2465.id6209.diff
Fri, Nov 29, 14:31
F3802975: D2465.id6218.diff
Fri, Nov 29, 13:37
F3802784: D2465.id6216.diff
Fri, Nov 29, 11:53
F3802778: D2465.id6217.diff
Fri, Nov 29, 11:50
F3802752: D2465.id6211.diff
Fri, Nov 29, 11:36
Unknown Object (File)
Thu, Nov 28, 13:58
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