Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Release v0.3.2 #9

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 29 additions & 8 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ steps:
- name: docker
image: plugins/docker
settings:
registry: quay.io
username:
from_secret: docker_username
from_secret: hub_username
password:
from_secret: docker_password
repo: quay.io/kontena/weave-flying-shuttle-amd64
from_secret: hub_password
repo: docker.io/kontenapharos/weave-flying-shuttle-amd64
dockerfile: Dockerfile
auto_tag: true
when:
Expand All @@ -39,13 +38,35 @@ steps:
- name: docker
image: plugins/docker
settings:
registry: quay.io
username:
from_secret: docker_username
from_secret: hub_username
password:
from_secret: docker_password
repo: quay.io/kontena/weave-flying-shuttle-arm64
from_secret: hub_password
repo: docker.io/kontenapharos/weave-flying-shuttle-arm64
dockerfile: Dockerfile
auto_tag: true
when:
event: [tag, push]
---
kind: pipeline
name: manifest
platform:
os: linux
arch: amd64
steps:
- name: manifest
image: plugins/manifest
settings:
username:
from_secret: hub_username
password:
from_secret: hub_password
target: docker.io/kontenapharos/weave-flying-shuttle:${DRONE_TAG##v}
template: docker.io/kontenapharos/weave-flying-shuttle-ARCH:${DRONE_TAG##v}
platforms:
- linux/amd64
- linux/arm64
ignore_missing: true
depends_on:
- amd64
- arm64
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ FROM alpine:3.8
LABEL maintainer="Kontena, Inc. <info@kontena.io>"

RUN apk update && apk --update add tzdata ruby ruby-irb ruby-bigdecimal \
ruby-io-console ruby-json ca-certificates openssl iptables iproute2
ruby-io-console ruby-json ruby-etc \
ca-certificates openssl iptables iproute2

ADD Gemfile /app/
ADD Gemfile.lock /app/
Expand Down
2 changes: 1 addition & 1 deletion lib/flying_shuttle.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require 'concurrent'

module FlyingShuttle
VERSION = '0.3.1'
VERSION = '0.3.2'
REGION_LABEL = 'failure-domain.beta.kubernetes.io/region'
end

Expand Down