Page MenuHomeDevCentral

Provide Hound container to search Nasqueron codebase
ClosedPublic

Authored by dereckson on Jan 16 2022, 01:56.
Tags
None
Referenced Files
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
F3797751: D2465.id6218.diff
Thu, Nov 28, 13:58
Unknown Object (File)
Wed, Nov 27, 03:14
Unknown Object (File)
Wed, Nov 27, 02:52
Unknown Object (File)
Sun, Nov 24, 12:00
Unknown Object (File)
Sun, Nov 17, 02:41
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 3839
Build 4089: 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