forked from kubernetes/kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #168 from chiukapoor/1.32.0
[release v1.32] k8s v1.32.0
- Loading branch information
Showing
262 changed files
with
33,065 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Dapper CI on PR | ||
run-name: CI on ${{ github.event_name }} | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- '*' | ||
|
||
jobs: | ||
validate: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: rancher/dapper:v0.6.0 | ||
permissions: | ||
contents: read | ||
steps: | ||
- name: Fix the not-a-git-repository issue | ||
run: | | ||
apk -U add git | ||
git config --global --add safe.directory "$GITHUB_WORKSPACE" | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: build with Dapper | ||
run: dapper ci | ||
|
||
- name: LS the bin | ||
run: ls -lR output/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: Release When Tagged | ||
run-name: Release ${{ github.ref_name }} | ||
|
||
on: | ||
push: | ||
tags: '*' | ||
|
||
jobs: | ||
validate: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: rancher/dapper:v0.6.0 | ||
permissions: | ||
contents: read | ||
steps: | ||
- name: Check For Alpha / RC in Release | ||
if: contains(github.ref_name, 'rc') || contains(github.ref_name, 'alpha') | ||
uses: actions/github-script@v7 | ||
with: | ||
script: | | ||
core.setFailed('No RCs or Alphas are released in this repo. Skipping release...') | ||
- name: Fix the not-a-git-repository issue | ||
run: | | ||
apk -U add git | ||
git config --global --add safe.directory "$GITHUB_WORKSPACE" | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: go.mod | ||
|
||
- name: build with Dapper | ||
run: dapper ci | ||
|
||
- name: Archive production artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: kubernetes-build | ||
path: output/bin | ||
if-no-files-found: error | ||
overwrite: true | ||
|
||
create-release: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- validate | ||
permissions: | ||
contents: write # needed for creating the GH release | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Download assets | ||
uses: actions/download-artifact@v4 | ||
|
||
- name: Create GH Release | ||
run: | | ||
gh release create ${{ github.ref_name }} --verify-tag --generate-notes kubernetes-build/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM registry.suse.com/bci/golang:1.22 | ||
|
||
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"] | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.