Skip to content

Commit

Permalink
Merge pull request kubernetes#137 from vardhaman22/k8s-1.30
Browse files Browse the repository at this point in the history
K8s 1.30
  • Loading branch information
kinarashah authored Jun 6, 2024
2 parents 6911225 + bd4dadc commit ccee972
Show file tree
Hide file tree
Showing 248 changed files with 30,835 additions and 16 deletions.
59 changes: 59 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
kind: pipeline
name: default

platform:
os: linux
arch: amd64

steps:
- name: fetch
image: alpine/git
commands:
- git fetch origin refs/tags/${DRONE_TAG}:refs/tags/${DRONE_TAG} --no-tags
when:
event:
- tag

- name: ci
pull: default
image: rancher/dapper:1.11.2
commands:
- dapper ci
- ls -lR output/bin
privileged: true
volumes:
- name: socket
path: /var/run/docker.sock
when:
event:
- pull_request
- tag

- name: github_binary_release
pull: default
image: plugins/github-release
settings:
checksum:
- sha256
files:
- "output/bin/kubelet*"
api_key:
from_secret: github_token
title: "${DRONE_TAG}"
when:
instance:
include:
- drone-publish.rancher.io
event:
- tag
ref:
exclude:
- "refs/tags/*rc*"
- "refs/tags/*alpha*"

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

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ __*
# This is where the result of the go build goes
/output*/
/_output*/
/_output
/_output/
Dockerfile.dapper?*

# Emacs save files
*~
Expand Down
19 changes: 19 additions & 0 deletions Dockerfile.dapper
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM registry.suse.com/bci/golang:1.19

ARG DAPPER_HOST_ARCH
ARG DEBIAN_FRONTEND=noninteractive
ENV HOST_ARCH=${DAPPER_HOST_ARCH} ARCH=${DAPPER_HOST_ARCH}

RUN zypper install -y -f docker rsync awk
COPY --from=docker/buildx-bin:0.10.2 /buildx /usr/libexec/docker/cli-plugins/docker-buildx

ENV DAPPER_SOURCE /go/src/github.com/rancher/kubernetes/
ENV DAPPER_RUN_ARGS --privileged -v /var/lib/docker
ENV DAPPER_OUTPUT ./output/bin
ENV DAPPER_DOCKER_SOCKET true
ENV DAPPER_ENV TAG REPO GOOS CROSS DRONE_TAG
ENV HOME ${DAPPER_SOURCE}
WORKDIR ${DAPPER_SOURCE}
ENTRYPOINT ["./scripts/entry"]
CMD ["ci"]

206 changes: 206 additions & 0 deletions LICENSES/vendor/github.com/docker/distribution/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ccee972

Please sign in to comment.