Open
Description
Problem
As a dev I may frequently modify go-algorand
or indexer
code on my local file system. I don't want to push to GitHub each change prior to testing the build using sandbox
. Currently, supplying /path/to/my/repo
for ALGOD_URL field within my.config configuration file results in the error "fatal: /path/to/my/repo does not exist". I'll make the assumption the INDEXER_URL behaves similarly.
Solution
Proposed by @joe-p:
- Comment out this line:
sandbox/images/algod/install.sh
Line 61 in ef26221
git clone --single-branch --branch "${BRANCH}" "${URL}"
- Then add a COPY command similar to this line that copies in the repo to the container:
sandbox/images/algod/Dockerfile
Line 29 in ef26221
COPY . /tmp
-
investigate/modify for
indexer
as well. -
Solution should parse the URL field value and switch based on the source.
Dependencies
None known.
Urgency
Nice to have.
h/t @riolavigne