From be26c294ca4accf9f9b57d5823dd7b1cc64fd679 Mon Sep 17 00:00:00 2001 From: Carl Tashian Date: Tue, 18 Aug 2020 17:00:32 -0700 Subject: [PATCH] More Travis tweaks --- .travis.yml | 13 +++++++------ make/docker.mk | 8 +++----- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8d313010..04cf8add 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ language: go +os: linux dist: focal services: - docker @@ -18,10 +19,10 @@ before_script: - make bootstrap jobs: include: - - script: make lint - - script: make test - - stage: build - script: + - stage: lint + script: make lint + - script: + - make test - make build - make artifacts after_success: @@ -31,8 +32,8 @@ notifications: email: false deploy: provider: releases - skip_cleanup: true - api_key: + cleanup: false + token: secure: EVV43Vkqn67hhKGYn4WhQp2YO6KFmUDSkLXjYXYGX07Fm8p5KjRFBPOz9LV83QrvVmLigvg0CtR8Jqqcnq2SUhus3nhZaN2g19NhMypZLioyOVP0kAkas8ocuvxkwz3YxIK/yMrmTKbQ7JGXtbc8IjAox9ovNo1fFIQmVMAzPfu++OWBJ0j+gUqKtpaNA7gzsSv8UOw3/T3hNm6E1IbpWxl9BPSOzUOE9F/QOThANzifGfdxvqNJFkAgqu5DVPz8zQNbMrz4zH+KwASKxd6hjhzSSMzouKzOEHTA/elDCHEjke0Jos29MkGWHcIydLtCD95DGecqM8BFSC9f2acHDjmUO1rdfoLA3Pt+UiZJuTwyQm/jrHHhRnH8oJpK15G5LvxSqzY9YDWpAk38+jMw/udW6wt7BGAU8FEXLbq0bsFL3yfTepeWjmzT5WS0YXdiBz2SEK+Og9R2bSdtl4owghRzKNio5DNPuYAbqbpi+jqzqQVLj27x7LWoQ0MHvZcz9U+oO00r6M1tDCmFVRdtfgb2H+MIDY69qYGo5qoGMfH1btCWR8bA9wSYB/Z7hW/xZT9r7f/d5/P40k8yKINmTZqyUTQeplrE3y4BPVzKksclczBZa67syIUQ49I35QppnH4GFQHUwlra7r3W9zfZRvaLnp5qOIKAQe3MAIZqtLg= file_glob: true file: .travis-releases/* diff --git a/make/docker.mk b/make/docker.mk index b1df244b..1abe85a7 100644 --- a/make/docker.mk +++ b/make/docker.mk @@ -17,9 +17,9 @@ DOCKER_IMAGE_NAME = smallstep/step-ca docker-prepare: # Ensure, we can build for ARM architecture -ifeq (linux,$(DOCKER_CLIENT_OS)) - [ -f /proc/sys/fs/binfmt_misc/qemu-arm ] || docker run --rm --privileged linuxkit/binfmt:v0.8-amd64 -endif +# ifeq (linux,$(DOCKER_CLIENT_OS)) + # [ -f /proc/sys/fs/binfmt_misc/qemu-arm ] || docker run --rm --privileged linuxkit/binfmt:v0.8-amd64 +# endif # Register buildx builder mkdir -p $$HOME/.docker/cli-plugins @@ -28,8 +28,6 @@ endif (wget -q -O $$HOME/.docker/cli-plugins/docker-buildx https://github.com/docker/buildx/releases/download/v0.4.1/buildx-v0.4.1.$(DOCKER_CLIENT_OS)-amd64 && \ chmod +x $$HOME/.docker/cli-plugins/docker-buildx) - # Called directly instead of via `docker buildx` because - # Travis runs a pre-19.03 Docker that doesn't support plugin discovery docker buildx create --use --name mybuilder --platform="$(DOCKER_PLATFORMS)" || true .PHONY: docker-prepare