Page MenuHomeDevCentral

Provide Hound container to search Nasqueron codebase
ClosedPublic

Authored by dereckson on Jan 16 2022, 01:56.
Tags
None
Referenced Files
F57236520: D2465.diff
Mon, Nov 16, 15:03
F57136390: D2465.id6218.diff
Sun, Nov 15, 05:44
F56997546: D2465.diff
Thu, Nov 12, 18:44
F56881437: D2465.diff
Tue, Nov 10, 09:33
F56793130: D2465.diff
Mon, Nov 9, 10:08
F56740491: D2465.id6209.diff
Sun, Nov 8, 20:39
F56618611: D2465.id6221.diff
Sat, Nov 7, 18:05
F56548969: D2465.id6211.diff
Sat, Nov 7, 01:48
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 Passed
Unit
No Test Coverage
Branch
hound
Build Status
Buildable 3841
Build 4091: arc lint + arc unit

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