This repository has been archived by the owner on Oct 22, 2023. It is now read-only.
-
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.
Fix .gitignore path that incorrectly excluded root .batect directory.
- Loading branch information
1 parent
bb09942
commit 97ed01b
Showing
6 changed files
with
52 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM alpine:3.12.0 | ||
|
||
RUN apk add --no-cache shellcheck=0.7.1-r1 |
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,14 @@ | ||
FROM docker:19.03.12-dind | ||
|
||
RUN apk add --no-cache \ | ||
bash=5.0.17-r0 \ | ||
curl=7.69.1-r0 \ | ||
openjdk11-jre-headless=11.0.7_p10-r1 \ | ||
python3=3.8.5-r0 | ||
|
||
COPY entrypoint.sh /usr/local/bin/ | ||
|
||
ENV DOCKER_HOST=unix:///var/run/docker.sock | ||
ENV DOCKER_TLS_CERTDIR="" | ||
|
||
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] |
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,27 @@ | ||
#! /usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
function main() { | ||
startDocker | ||
runTests "$@" | ||
} | ||
|
||
function startDocker() { | ||
echo "Starting Docker..." | ||
dockerd &>/var/log/dockerd.log & | ||
|
||
while [ ! -S /var/run/docker.sock ]; do | ||
echo "Waiting for Docker to start..." | ||
sleep 1 | ||
done | ||
|
||
echo "Docker has started." | ||
} | ||
|
||
function runTests() { | ||
echo "Running tests..." | ||
exec "$@" | ||
} | ||
|
||
main "$@" |
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,3 @@ | ||
FROM alpine:3.12.0 | ||
|
||
RUN apk add --no-cache yamllint=1.23.0-r0 |
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,4 @@ | ||
FROM alpine:3.12.0 | ||
|
||
RUN apk add --no-cache py3-pip=20.1.1-r0 | ||
RUN pip install yapf==0.30.0 |
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,3 +1,3 @@ | ||
.batect/ | ||
**/.batect/caches/ | ||
.idea/ | ||
build/ |