Remove locale and fail only logs.
This commit is contained in:
parent
8c21f865cf
commit
5dc28fc960
11
.travis.yml
11
.travis.yml
@ -51,11 +51,8 @@ before_script:
|
|||||||
- |
|
- |
|
||||||
sh -c 'while true; do echo "."; sleep 60; done' &
|
sh -c 'while true; do echo "."; sleep 60; done' &
|
||||||
export TRAVIS_POLL_INSTALL=$!
|
export TRAVIS_POLL_INSTALL=$!
|
||||||
- |
|
- docker build --platform=local -o . git://github.com/docker/buildx > /dev/null 2>&1
|
||||||
docker build --platform=local -o . git://github.com/docker/buildx > logs 2>&1
|
|
||||||
export INSTALL_RESULT=$?
|
|
||||||
- kill -9 ${TRAVIS_POLL_INSTALL}
|
- kill -9 ${TRAVIS_POLL_INSTALL}
|
||||||
- if [ ! "$INSTALL_RESULT" = "0" ]; then tail -n 500 logs; fi
|
|
||||||
- mkdir -p ~/.docker/cli-plugins/
|
- mkdir -p ~/.docker/cli-plugins/
|
||||||
- mv buildx ~/.docker/cli-plugins/docker-buildx
|
- mv buildx ~/.docker/cli-plugins/docker-buildx
|
||||||
|
|
||||||
@ -66,8 +63,6 @@ script:
|
|||||||
- |
|
- |
|
||||||
sh -c 'while true; do echo "."; sleep 60; done' &
|
sh -c 'while true; do echo "."; sleep 60; done' &
|
||||||
export TRAVIS_POLL_BUILD=$!
|
export TRAVIS_POLL_BUILD=$!
|
||||||
- |
|
- docker buildx build -t metacall/guix -o type=registry --allow security.insecure --build-arg METACALL_GUIX_VERSION="1.0.1" --build-arg METACALL_GUIX_ARCH="x86_64" . > logs 2>&1
|
||||||
docker buildx build -t metacall/guix -o type=registry --allow security.insecure --build-arg METACALL_GUIX_VERSION="1.0.1" --build-arg METACALL_GUIX_ARCH="x86_64" . > logs 2>&1
|
|
||||||
export BUILD_RESULT=$?
|
|
||||||
- kill -9 ${TRAVIS_POLL_BUILD}
|
- kill -9 ${TRAVIS_POLL_BUILD}
|
||||||
- if [ ! "$BUILD_RESULT" = "0" ]; then tail -n 500 logs; fi
|
- tail -n 500 logs
|
||||||
|
@ -36,10 +36,7 @@ ENV GUIX_PROFILE="/root/.config/guix/current" \
|
|||||||
GUIX_LOCPATH="/root/.guix-profile/lib/locale/" \
|
GUIX_LOCPATH="/root/.guix-profile/lib/locale/" \
|
||||||
SSL_CERT_DIR="/root/.guix-profile/etc/ssl/certs" \
|
SSL_CERT_DIR="/root/.guix-profile/etc/ssl/certs" \
|
||||||
GIT_SSL_FILE="/root/.guix-profile/etc/ssl/certs/ca-certificates.crt" \
|
GIT_SSL_FILE="/root/.guix-profile/etc/ssl/certs/ca-certificates.crt" \
|
||||||
GIT_SSL_CAINFO="$GIT_SSL_FILE" \
|
GIT_SSL_CAINFO="$GIT_SSL_FILE"
|
||||||
LANG="en_US.utf8" \
|
|
||||||
LC_ALL="en_US.utf8" \
|
|
||||||
LANGUAGE="en_US.utf8"
|
|
||||||
|
|
||||||
# Copy entry point
|
# Copy entry point
|
||||||
COPY scripts/entry-point.sh /entry-point.sh
|
COPY scripts/entry-point.sh /entry-point.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user