Add some information of note for later scripts.

Mostly using bash filepath mangling and known values to build up
information used to find the proper locations of golang code in a
container.
This commit is contained in:
Ashlie Martinez 2022-05-03 15:38:43 -07:00
parent 0af5f2f141
commit 6d9d4dc8c7

9
docker/paths.sh Normal file
View File

@ -0,0 +1,9 @@
#! /bin/bash
# TODO(ashmrtnz): Needs adjusting based on where source code lands in the repo
# and where the scripts land in the repo.
REPO_ROOT=$(dirname $(pwd))
REPO_CODE="${REPO_ROOT}/src"
GOLANG_BASE_REPO_PATH="/go/src/github.com/alcionai"
GOLANG_REPO_PATH="${GOLANG_BASE_REPO_PATH}/$(basename $REPO_ROOT)"
DEV_TAG="alcionai/dev"