From 37b7482dde414d47b9e24a4acd73501e1001b193 Mon Sep 17 00:00:00 2001 From: JesusPerez Date: Thu, 13 Jan 2022 14:41:53 +0000 Subject: [PATCH] chore: full update --- CHANGELOG.md | 8 ++++++++ pipeline/pipe-resource.yaml | 2 +- repo-config.yaml | 2 +- src/Dockerfile | 33 +++++++++++++++++++-------------- 4 files changed, 29 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 006f797..2aab2d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,3 +22,11 @@ date: 17 August 2021 Full update versions, include upcloud and google cloud clients. --- + +## 1.2 + +date: 13 January 20222 + +Full update versions, include upcloud and google cloud clients. + +--- diff --git a/pipeline/pipe-resource.yaml b/pipeline/pipe-resource.yaml index f64d206..e2c2746 100644 --- a/pipeline/pipe-resource.yaml +++ b/pipeline/pipe-resource.yaml @@ -7,7 +7,7 @@ spec: type: image params: - name: url - value: termas.librecloud.online/termas_librecloud/tasksmanager:1.1 + value: termas.librecloud.online/termas_librecloud/tasksmanager:1.2 --- apiVersion: tekton.dev/v1alpha1 kind: PipelineResource diff --git a/repo-config.yaml b/repo-config.yaml index 6c13860..46697ed 100644 --- a/repo-config.yaml +++ b/repo-config.yaml @@ -8,7 +8,7 @@ Source: . #TargetGit: ssh://git@rlung.librecloud.online:32225/Termas.LibreCloud.online/taskmanager.git Name: tasksmanager -Version: 1.1 +Version: 1.2 # To get latest_image # It is based in [Running a Cron Job in Docker Container](https://blog.knoldus.com/running-a-cron-job-in-docker-container) diff --git a/src/Dockerfile b/src/Dockerfile index a3123d1..8c7e23e 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -1,27 +1,29 @@ # From https://github.com/nehabhardwaj01/docker-cron -FROM alpine:3.14.1 -MAINTAINER Jesús Pérez +FROM alpine:3.15 ENV RESTIC_VERSION=0.12.1 -ENV K8S_VERSION=1.22.0 -ENV K8S_ARCH=linux/amd64 -ENV JQ_VERSION=1.6 -ENV JQ_ARCH=linux64 -ENV YQ_VERSION=4.11.2 -ENV YQ_ARCH=linux_amd64 ENV RESTIC_ARCH=linux_amd64 -ENV SCW_VERSION=2.3.1 +ENV K8S_VERSION=1.23.1 +ENV K8S_ARCH=linux-amd64 + +ENV JQ_VERSION=1.6 +ENV JQ_ARCH=linux64 + +ENV YQ_VERSION=4.16.2 +ENV YQ_ARCH=linux_amd64 + +ENV SCW_VERSION=2.4.0 ENV SCW_ARCH=linux-x86_64 -ENV DOCTL_VERSION=1.63.1 +ENV DOCTL_VERSION=1.68.0 ENV DOCTL_ARCH=linux-amd64 -ENV AWS_VERSION=1.2022 +ENV AWS_VERSION=1.3.7 ENV AWS_ARCH=linux-amd64 -ENV UPCTL_VERSION="1.1.0" +ENV UPCTL_VERSION="1.1.1" ENV UPCTL_ARCH="linux_x86_64" # apt-transport-https \ @@ -58,8 +60,11 @@ RUN apk update \ if [[ ! -e /usr/bin/python ]]; then ln -sf /usr/bin/python3 /usr/bin/python; fi ; \ rm -rf /var/cache/apk/*; \ pip3 install jinja2 s3cmd awscli; \ - curl -fSL "https://storage.googleapis.com/kubernetes-release/release/v${K8S_VERSION}/bin/${K8S_ARCH}/kubectl" -o /usr/local/bin/kubectl; \ - chmod +x /usr/local/bin/kubectl; \ + curl -fSL "https://dl.k8s.io/v${K8S_VERSION}/kubernetes-client-${K8S_ARCH}.tar.gz" -o /tmp/kubernetes-client-${K8S_ARCH}.tar.gz; \ + tar -C /tmp -xvzf /tmp/kubernetes-client-${K8S_ARCH}.tar.gz ;\ + if [ -f /tmp/kubernetes/client/bin/kubectl ]; then mv /tmp/kubernetes/client/bin /usr/local/bin; fi ;\ + rm -rf /tmp/kubernetes*; \ + chmod +x /usr/local/bin/kubectl; \ curl -fSL "https://github.com/mikefarah/yq/releases/download/v${YQ_VERSION}/yq_${YQ_ARCH}" -o /usr/local/bin/yq; \ chmod +x /usr/local/bin/yq; \ curl -fSL "https://github.com/scaleway/scaleway-cli/releases/download/v${SCW_VERSION}/scw-${SCW_VERSION}-${SCW_ARCH}" -o /usr/local/bin/scw; \