Skip to content

Commit

Permalink
Release with semaphore
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpollet authored Aug 11, 2021
1 parent 5b3b30b commit 1cf6a93
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 68 deletions.
28 changes: 27 additions & 1 deletion .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ blocks:
- name: Cache Go dependencies
commands:
- cache restore
- go mod download -x
- go mod tidy
- git diff --exit-code go.mod
- git diff --exit-code go.sum
- cache store
- name: Build and check
commands:
Expand Down Expand Up @@ -77,3 +79,27 @@ blocks:
- name: KubeDNS Suite
commands:
- "make test-integration-nobuild TESTFLAGS=\"-check.f KubeDNSSuite\""

- name: Release
run:
when: "tag =~ '.*'"
task:
secrets:
- name: mesh

env_vars:
- name: SEIHON_VERSION
value: 0.8.3

jobs:
- name: Release
commands:
- curl -sL https://git.io/goreleaser | bash -s -- --timeout="60m"

- name: Publish Images
commands:
# Install Docker image multi-arch builder
- curl -sfL https://raw.githubusercontent.com/ldez/seihon/master/godownloader.sh | sudo bash -s -- -b "/usr/local/bin" ${SEIHON_VERSION}
- seihon --version
- docker run --rm --privileged hypriot/qemu-register
- make publish-images
67 changes: 0 additions & 67 deletions .travis.yml

This file was deleted.

0 comments on commit 1cf6a93

Please sign in to comment.