-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies and port upstream changes
- Loading branch information
1 parent
c0806e7
commit 51fcf56
Showing
18 changed files
with
465 additions
and
444 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
name: check | ||
|
||
permissions: read-all | ||
|
||
on: | ||
push: | ||
branches: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @nicolaasuni |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
5.2.4 | ||
5.2.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,11 +18,12 @@ set -e -u +x | |
: ${CVSPATH:=project} | ||
: ${VENDOR:=vendor} | ||
: ${PROJECT:=project} | ||
: ${MAKETARGET:=format clean mod deps gendoc generate qa build} | ||
: ${DOCKERTAG:=dev} | ||
: ${MAKETARGET:=format clean ensuretarget mod deps gendoc generate qa build} | ||
: ${SSH_PRIVATE_KEY:=$(cat ~/.ssh/id_rsa || cat ~/.ssh/id_ed25519)} | ||
: ${SSH_PUBLIC_KEY:=$(cat ~/.ssh/id_rsa.pub || cat ~/.ssh/id_ed25519.pub)} | ||
: ${DOCKER:=$(which docker)} | ||
: ${DOCKERDEV:=${VENDOR}/dev_${PROJECT}} | ||
: ${DOCKERDEV:=${VENDOR}/dev_${PROJECT}:${DOCKERTAG}} | ||
|
||
# Build the base environment and keep it cached locally. | ||
${DOCKER} build --pull --tag ${DOCKERDEV} --file ./resources/docker/Dockerfile.dev ./resources/docker/ | ||
|
@@ -51,13 +52,14 @@ mkdir -p /root/.ssh \\ | |
&& echo " email = [email protected]" >> /root/.gitconfig \\ | ||
&& echo " name = godevlocaltestuser" >> /root/.gitconfig \\ | ||
&& mkdir -p ${PRJPATH} | ||
ADD ./ ${PRJPATH} | ||
COPY ./ ${PRJPATH} | ||
WORKDIR ${PRJPATH} | ||
RUN make ${MAKETARGET} || (echo \$? > target/make.exit) | ||
HEALTHCHECK CMD go version || exit 1 | ||
EOM | ||
|
||
# Define the temporary Docker image name. | ||
DOCKER_IMAGE_NAME=${VENDOR}/build_${PROJECT} | ||
DOCKER_IMAGE_NAME=${VENDOR}/build_${PROJECT}:${DOCKERTAG} | ||
|
||
# Build the Docker image. | ||
BUILDKIT_PROGRESS=plain \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.