From 9639ef7f4fbbf61912cf4f50bb4edae6da27cf3f Mon Sep 17 00:00:00 2001 From: Phil-Bastian Berndt Date: Thu, 7 Nov 2019 13:06:50 +0100 Subject: [PATCH 1/8] Update LICENSE.md --- LICENSE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE.md b/LICENSE.md index ba8072e..ef31d90 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,4 +1,4 @@ -MIT License +# MIT License Copyright (c) Sourceboat GmbH & Co. KG From 035bd82a4b6868bbfc2674e6a96912b8975862d2 Mon Sep 17 00:00:00 2001 From: Phil-Bastian Berndt Date: Tue, 21 Apr 2020 11:27:22 +0200 Subject: [PATCH 2/8] use latest instead of stable --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9773066..3de8808 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ To use this image via GitLab CI add the following to the `.gitlab-ci.yml`: ```yml deploy: stage: deploy - image: sourceboat/rancher-deploy:stable + image: sourceboat/rancher-deploy:latest variables: RANCHER_URL: https://rancher.example.com K8S_NAMESPACE: my-namespace-name From b75790fdc895742eeef65bec8714ce913de29727 Mon Sep 17 00:00:00 2001 From: hingew <54020682+hingew@users.noreply.github.com> Date: Mon, 19 Oct 2020 09:50:12 +0200 Subject: [PATCH 3/8] Install the latest stable kubectl version --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fefc759..d09eda5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ SHELL ["/bin/bash", "-c"] RUN curl -sL https://sentry.io/get-cli/ | bash # install kubectl -RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.12.0/bin/linux/amd64/kubectl \ +RUN curl -LO "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl" \ && mv ./kubectl /usr/local/bin/kubectl # add helper scripts From 18bea58c55a83dde864b16a0452dfa554daf11a5 Mon Sep 17 00:00:00 2001 From: Phil-Bastian Berndt Date: Mon, 19 Oct 2020 15:21:57 +0200 Subject: [PATCH 4/8] Create dependabot.yml --- .github/dependabot.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..8d388e0 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +version: 2 +updates: + - package-ecosystem: "docker" + directory: "/" + schedule: + interval: "daily" + reviewers: + - hingew + - pehbehbeh + assignees: + - pehbehbeh From f61e667e665dc93ff623165ec7cc2e97e7a8471b Mon Sep 17 00:00:00 2001 From: Kevin Buchholz Date: Tue, 10 Aug 2021 09:27:38 +0200 Subject: [PATCH 5/8] add github workflow files --- .github/workflows/edgeImageBuild.yml | 35 ++++++++++++++++++ .github/workflows/stableImageBuild.yml | 49 ++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 .github/workflows/edgeImageBuild.yml create mode 100644 .github/workflows/stableImageBuild.yml diff --git a/.github/workflows/edgeImageBuild.yml b/.github/workflows/edgeImageBuild.yml new file mode 100644 index 0000000..6717828 --- /dev/null +++ b/.github/workflows/edgeImageBuild.yml @@ -0,0 +1,35 @@ +name: Build edge image + +on: + push: + branches: + - develop + +jobs: + docker: + runs-on: ubuntu-latest + steps: + - + name: Checkout + uses: actions/checkout@v2 + - + name: Set up QEMU + uses: docker/setup-qemu-action@v1 + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + - + name: Login to DockerHub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - + name: Build and push + uses: docker/build-push-action@v2 + with: + context: . + platforms: linux/amd64,linux/arm64 + push: true + tags: | + sourceboat/rancher-deploy:edge \ No newline at end of file diff --git a/.github/workflows/stableImageBuild.yml b/.github/workflows/stableImageBuild.yml new file mode 100644 index 0000000..4a7a042 --- /dev/null +++ b/.github/workflows/stableImageBuild.yml @@ -0,0 +1,49 @@ +name: Build stable image + +on: + push: + tags: + - '*.*.*' + +jobs: + docker: + runs-on: ubuntu-latest + steps: + - + name: Checkout + uses: actions/checkout@v2 + - + name: Docker meta + id: meta + uses: docker/metadata-action@v3 + with: + # list of Docker images to use as base name for tags + images: | + sourceboat/rancher-deploy + flavour: | + latest=true + # generate Docker tags based on the following events/attributes + tags: | + type=semver,pattern={{version}} + type=semver,pattern={{major}}.{{minor}} + type=semver,pattern={{major}} + - + name: Set up QEMU + uses: docker/setup-qemu-action@v1 + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + - + name: Login to DockerHub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - + name: Build and push + uses: docker/build-push-action@v2 + with: + context: . + platforms: linux/amd64,linux/arm64 + push: true + tags: ${{ steps.meta.outputs.tags }} \ No newline at end of file From f853c43d34afa9dc75d25ad633d056c27ac1284f Mon Sep 17 00:00:00 2001 From: Kevin Buchholz Date: Thu, 12 Aug 2021 08:18:34 +0200 Subject: [PATCH 6/8] rename workflow files and remove comments --- .github/workflows/{edgeImageBuild.yml => buildEdgeImage.yml} | 0 .../workflows/{stableImageBuild.yml => buildStableImage.yml} | 2 -- 2 files changed, 2 deletions(-) rename .github/workflows/{edgeImageBuild.yml => buildEdgeImage.yml} (100%) rename .github/workflows/{stableImageBuild.yml => buildStableImage.yml} (89%) diff --git a/.github/workflows/edgeImageBuild.yml b/.github/workflows/buildEdgeImage.yml similarity index 100% rename from .github/workflows/edgeImageBuild.yml rename to .github/workflows/buildEdgeImage.yml diff --git a/.github/workflows/stableImageBuild.yml b/.github/workflows/buildStableImage.yml similarity index 89% rename from .github/workflows/stableImageBuild.yml rename to .github/workflows/buildStableImage.yml index 4a7a042..5e0343e 100644 --- a/.github/workflows/stableImageBuild.yml +++ b/.github/workflows/buildStableImage.yml @@ -17,12 +17,10 @@ jobs: id: meta uses: docker/metadata-action@v3 with: - # list of Docker images to use as base name for tags images: | sourceboat/rancher-deploy flavour: | latest=true - # generate Docker tags based on the following events/attributes tags: | type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} From a9f5eb12938778dc5a34c39f118751f086bdc2d1 Mon Sep 17 00:00:00 2001 From: Kevin Buchholz Date: Tue, 31 Aug 2021 16:34:56 +0200 Subject: [PATCH 7/8] rename workflow files --- .github/workflows/{buildEdgeImage.yml => Edge.yml} | 0 .github/workflows/{buildStableImage.yml => Stable.yml} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{buildEdgeImage.yml => Edge.yml} (100%) rename .github/workflows/{buildStableImage.yml => Stable.yml} (100%) diff --git a/.github/workflows/buildEdgeImage.yml b/.github/workflows/Edge.yml similarity index 100% rename from .github/workflows/buildEdgeImage.yml rename to .github/workflows/Edge.yml diff --git a/.github/workflows/buildStableImage.yml b/.github/workflows/Stable.yml similarity index 100% rename from .github/workflows/buildStableImage.yml rename to .github/workflows/Stable.yml From 604bd37ee872d02f0b766df2cd33aa4392216659 Mon Sep 17 00:00:00 2001 From: Phil-Bastian Berndt Date: Fri, 25 Mar 2022 09:30:32 +0100 Subject: [PATCH 8/8] fix repository and use newest version --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d09eda5..8682d1c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rancher/cli:v2.0.4 +FROM rancher/cli2:v2.6.4 # install dependencies RUN apk update \