Skip to content

Commit

Permalink
Merge pull request #28 from dweomer/init-move-to-k3s-io
Browse files Browse the repository at this point in the history
initial move to k3s-io
  • Loading branch information
dweomer authored Nov 19, 2020
2 parents d7e8b91 + 31387fe commit 8227f07
Show file tree
Hide file tree
Showing 2 changed files with 148 additions and 121 deletions.
263 changes: 142 additions & 121 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -1,164 +1,185 @@
---
kind: pipeline
type: docker
name: k3s-root-linux-amd64

platform:
os: linux
arch: amd64

steps:
- name: build-amd64
image: rancher/dapper:v0.5.0
environment:
BUILDARCH: amd64
commands:
- dapper ci
volumes:
- name: docker
path: /var/run/docker.sock
- name: github-amd64-binary-release
image: plugins/github-release
settings:
api_key:
from_secret: github_token
checksum:
- sha256
checksum_file: CHECKSUMsum-amd64.txt
checksum_flatten: true
prerelease: true
files:
- "dist/k3s-*amd64.tar"
when:
instance:
- drone-publish.rancher.io
ref:
- refs/head/master
- refs/tags/*
event:
- tag
- name: build-amd64
image: rancher/dapper:v0.5.0
commands:
- dapper ci
environment:
BUILDARCH: amd64
volumes:
- name: docker
path: /var/run/docker.sock

- name: github-amd64-binary-release
image: plugins/github-release
settings:
api_key:
from_secret: github_token
checksum:
- sha256
checksum_file: CHECKSUMsum-amd64.txt
checksum_flatten: true
files:
- dist/k3s-*amd64.tar
prerelease: true
when:
event:
- tag
instance:
- drone-publish.k3s.io
ref:
- refs/head/master
- refs/tags/*

volumes:
- name: docker
host:
path: /var/run/docker.sock

---
kind: pipeline
type: docker
name: k3s-root-linux-arm64

platform:
os: linux
arch: amd64

steps:
- name: build-arm64
image: rancher/dapper:v0.5.0
environment:
BUILDARCH: arm64
commands:
- dapper ci
volumes:
- name: docker
path: /var/run/docker.sock
- name: github-arm64-binary-release
image: plugins/github-release
settings:
api_key:
from_secret: github_token
checksum:
- sha256
checksum_file: CHECKSUMsum-arm64.txt
checksum_flatten: true
prerelease: true
files:
- "dist/k3s-*arm64.tar"
when:
instance:
- drone-publish.rancher.io
ref:
- refs/head/master
- refs/tags/*
event:
- tag
- name: build-arm64
image: rancher/dapper:v0.5.0
commands:
- dapper ci
environment:
BUILDARCH: arm64
volumes:
- name: docker
path: /var/run/docker.sock

- name: github-arm64-binary-release
image: plugins/github-release
settings:
api_key:
from_secret: github_token
checksum:
- sha256
checksum_file: CHECKSUMsum-arm64.txt
checksum_flatten: true
files:
- dist/k3s-*arm64.tar
prerelease: true
when:
event:
- tag
instance:
- drone-publish.k3s.io
ref:
- refs/head/master
- refs/tags/*

volumes:
- name: docker
host:
path: /var/run/docker.sock

---
kind: pipeline
type: docker
name: k3s-root-linux-arm

platform:
os: linux
arch: amd64

steps:
- name: build-arm
image: rancher/dapper:v0.5.0
environment:
BUILDARCH: arm
commands:
- dapper ci
volumes:
- name: docker
path: /var/run/docker.sock
- name: github-arm-binary-release
image: plugins/github-release
settings:
api_key:
from_secret: github_token
checksum:
- sha256
checksum_file: CHECKSUMsum-arm.txt
checksum_flatten: true
prerelease: true
files:
- "dist/k3s-*arm.tar"
when:
instance:
- drone-publish.rancher.io
ref:
- refs/head/master
- refs/tags/*
event:
- tag
- name: build-arm
image: rancher/dapper:v0.5.0
commands:
- dapper ci
environment:
BUILDARCH: arm
volumes:
- name: docker
path: /var/run/docker.sock

- name: github-arm-binary-release
image: plugins/github-release
settings:
api_key:
from_secret: github_token
checksum:
- sha256
checksum_file: CHECKSUMsum-arm.txt
checksum_flatten: true
files:
- dist/k3s-*arm.tar
prerelease: true
when:
event:
- tag
instance:
- drone-publish.k3s.io
ref:
- refs/head/master
- refs/tags/*

volumes:
- name: docker
host:
path: /var/run/docker.sock

---
kind: pipeline
type: docker
name: k3s-root-linux-ppc64le

platform:
os: linux
arch: amd64

steps:
- name: build-ppc64le
image: rancher/dapper:v0.5.0
environment:
BUILDARCH: ppc64le
commands:
- dapper ci
volumes:
- name: docker
path: /var/run/docker.sock
- name: github-ppc64le-binary-release
image: plugins/github-release
settings:
api_key:
from_secret: github_token
checksum:
- sha256
checksum_file: CHECKSUMsum-ppc64le.txt
checksum_flatten: true
prerelease: true
files:
- "dist/k3s-*ppc64le.tar"
when:
instance:
- drone-publish.rancher.io
ref:
- refs/head/master
- refs/tags/*
event:
- tag
- name: build-ppc64le
image: rancher/dapper:v0.5.0
commands:
- dapper ci
environment:
BUILDARCH: ppc64le
volumes:
- name: docker
path: /var/run/docker.sock

- name: github-ppc64le-binary-release
image: plugins/github-release
settings:
api_key:
from_secret: github_token
checksum:
- sha256
checksum_file: CHECKSUMsum-ppc64le.txt
checksum_flatten: true
files:
- dist/k3s-*ppc64le.tar
prerelease: true
when:
event:
- tag
instance:
- drone-publish.k3s.io
ref:
- refs/head/master
- refs/tags/*

volumes:
- name: docker
host:
path: /var/run/docker.sock
path: /var/run/docker.sock

...
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# k3s-root
==========

_NOTE: this repository has been recently (2020-11-18) moved out of the github.com/rancher org to github.com/k3s-io
supporting the [acceptance of K3s as a CNCF sandbox project](https://github.com/cncf/toc/pull/447)_.

---

`k3s-root` is based on https://github.com/buildroot/buildroot and provides the userspace binaries for `rancher/k3s`

Expand Down

0 comments on commit 8227f07

Please sign in to comment.