Open tommyorndorff opened 1 year ago
Hi @tommyorndorff, thanks for the question. The websites-modules repo is indeed private and wasn't originally required to run the lightweight build. I've reached out to our tooling team to see if something has changed there.
@tommyorndorff Have you configured a GitHub token in your Makefile.config
? If so, try commenting that line out (in addition to any other keys you've added to that file (like the API/APP token). Also, make sure FULL_BUILD
is set to false
.
Here's the full content in case I'm misreading your response:
$ cat Makefile.config
# Makefile.config
# Create a new file called Makefile.config using this file as a template for your local config
# GITHUB_TOKEN :=
DATADOG_API_KEY := false
DATADOG_APP_KEY := false
FULL_BUILD := false
CONFIGURATION_FILE := "./local/bin/py/build/configurations/pull_config_preview.yaml"
$
$ make start-no-pre-build
find: integrations_data/extracted/dd-source: No such file or directory
find: integrations_data/extracted/dd-source: No such file or directory
Running regular build....
node_modules/hugo-bin/vendor/hugo: Mach-O 64-bit executable x86_64
go: github.com/DataDog/websites-modules@v1.3.62: invalid version: git ls-remote -q origin in /var/folders/8f/0c6b6gp91nz4yzq3yf87m0_r0000gn/T/hugo_cache/modules/filecache/modules/pkg/mod/cache/vcs/0b9a4e0dd2e4df83417f70a1cae99fa23d3c746cb86e34d6288d618cd2cc3b6c: exit status 128:
remote: Repository not found.
fatal: repository 'https://github.com/DataDog/websites-modules/' not found
hugo: collected modules in 1567 ms
Error: failed to download modules: failed to execute 'go [mod download]': failed to execute binary "go" with args [mod download]: go: github.com/DataDog/websites-modules@v1.3.62: invalid version: git ls-remote -q origin in /var/folders/8f/0c6b6gp91nz4yzq3yf87m0_r0000gn/T/hugo_cache/modules/filecache/modules/pkg/mod/cache/vcs/0b9a4e0dd2e4df83417f70a1cae99fa23d3c746cb86e34d6288d618cd2cc3b6c: exit status 128:
remote: Repository not found.
fatal: repository 'https://github.com/DataDog/websites-modules/' not found
*errors.errorString
make[1]: *** [server] Error 255
make: *** [start-no-pre-build] Error 2
I was able to reproduce this and we're looking into it. I hope to have an answer for you soon. Sorry for the inconvenience!
hi @tommyorndorff - we've realized that this isn't working for you because of an access issue that we're not able to resolve right now. We're definitely going to update our readme to reflect this new state until we can get something else in place. Thanks so much for letting us know about this, we didn't realize that it was an issue.
In the meantime, were you trying to contribute something to a specific docs page? Right now, the best way seems to be using the github UI editor, but if it is something bigger than would make that reasonable, we'd be happy to jump in and help.
Documentation Page
https://github.com/DataDog/documentation/blob/master/README.md
Issue Description
Following the directions in the README.md results in a go dependency fetch failure.
There are references to go packages
github.com/DataDog/websites-modules
ingo.sum
. Is this repo possibly private?