Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
v0.8
CrazyMax 2020-11-22 18:10:34 +01:00
parent f30fab2532
commit 072078a403
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
12 changed files with 287 additions and 274 deletions

View File

@ -108,7 +108,5 @@ jobs:
branch: master branch: master
condition: $TRAVIS_EVENT_TYPE == "cron" condition: $TRAVIS_EVENT_TYPE == "cron"
before_deploy: before_deploy:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin

13
.yamllint.yml Normal file
View File

@ -0,0 +1,13 @@
ignore: |
/vendor
extends: default
yaml-files:
- '*.yaml'
- '*.yml'
rules:
truthy: disable
line-length: disable
document-start: disable

View File

@ -1,8 +1,10 @@
# syntax=docker/dockerfile:1.1-experimental # syntax=docker/dockerfile:1.1-experimental
FROM golang:1.13-alpine FROM golang:1.13-alpine
RUN apk add --no-cache gcc musl-dev RUN apk add --no-cache gcc musl-dev yamllint
RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.27.0 RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.27.0
WORKDIR /go/src/github.com/moby/buildkit WORKDIR /go/src/github.com/moby/buildkit
RUN --mount=target=/go/src/github.com/moby/buildkit --mount=target=/root/.cache,type=cache \ RUN --mount=target=/go/src/github.com/moby/buildkit --mount=target=/root/.cache,type=cache \
golangci-lint run golangci-lint run
RUN --mount=target=/go/src/github.com/moby/buildkit --mount=target=/root/.cache,type=cache \
yamllint -c .yamllint.yml --strict .