chore: full update

This commit is contained in:
Jesús Pérez Lorenzo 2022-01-13 14:41:53 +00:00
parent f312d78f7e
commit 37b7482dde
4 changed files with 29 additions and 16 deletions

View File

@ -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.
---

View File

@ -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

View File

@ -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)

View File

@ -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; \