Init repo

This commit is contained in:
Jesús Pérez Lorenzo 2021-08-17 14:12:15 +01:00
commit 75c62e9fe0
3 changed files with 230 additions and 0 deletions

151
.gitignore vendored Normal file
View File

@ -0,0 +1,151 @@
# enviroment to load on bin/build
env
# where souce code is clone with git
clone
# where tools command are found
tools
# where pipeline templates are found
templates
# OSX leaves these everywhere on SMB shares
._*
# OSX trash
.DS_Store
# Eclipse files
.classpath
.project
.settings/**
# Files generated by JetBrains IDEs, e.g. IntelliJ IDEA
.idea/
*.iml
# Vscode files
.vscode
# This is where the result of the go build goes
/output*/
/_output*/
/_output
# Emacs save files
*~
\#*\#
.\#*
# Vim-related files
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
*.un~
Session.vim
.netrwhist
# cscope-related files
cscope.*
# Go test binaries
*.test
/hack/.test-cmd-auth
# JUnit test output from ginkgo e2e tests
/junit*.xml
# Mercurial files
**/.hg
**/.hg*
# Vagrant
.vagrant
network_closure.sh
# Local cluster env variables
/cluster/env.sh
# Compiled binaries in third_party
/third_party/pkg
# Also ignore etcd installed by hack/install-etcd.sh
/third_party/etcd*
/default.etcd
# User cluster configs
.kubeconfig
.tags*
# Version file for dockerized build
.dockerized-kube-version-defs
# Web UI
/www/master/node_modules/
/www/master/npm-debug.log
/www/master/shared/config/development.json
# Karma output
/www/test_out
# precommit temporary directories created by ./hack/verify-generated-docs.sh and ./hack/lib/util.sh
/_tmp/
/doc_tmp/
# Test artifacts produced by Jenkins jobs
/_artifacts/
# Go dependencies installed on Jenkins
/_gopath/
# Config directories created by gcloud and gsutil on Jenkins
/.config/gcloud*/
/.gsutil/
# CoreOS stuff
/cluster/libvirt-coreos/coreos_*.img
# Juju Stuff
/cluster/juju/charms/*
/cluster/juju/bundles/local.yaml
# Downloaded Kubernetes binary release
/kubernetes/
# direnv .envrc files
.envrc
# Downloaded kubernetes binary release tar ball
kubernetes.tar.gz
# generated files in any directory
# TODO(thockin): uncomment this when we stop committing the generated files.
#zz_generated.*
zz_generated.openapi.go
zz_generated_*_test.go
# TODO(roycaihw): remove this when we stop committing the generated definition
!staging/src/k8s.io/apiextensions-apiserver/pkg/generated/openapi/zz_generated.openapi.go
# low-change blueprint in code-generator to notice changes
!staging/src/k8s.io/code-generator/_examples/apiserver/openapi/zz_generated.openapi.go
# low-change sample-apiserver spec to be compilable when published
!staging/src/k8s.io/sample-apiserver/pkg/generated/openapi/zz_generated.openapi.go
# make-related metadata
/.make/
# Just in time generated data in the source, should never be committed
/test/e2e/generated/bindata.go
# This file used by some vendor repos (e.g. github.com/go-openapi/...) to store secret variables and should not be ignored
!\.drone\.sec
# Godeps workspace
/Godeps/_workspace
/bazel-*
*.pyc
# generated by verify-vendor.sh
vendordiff.patch

24
CHANGELOG.md Normal file
View File

@ -0,0 +1,24 @@
# Changes
From [docker-com](https://github.com/nehabhardwaj01/docker-cron).
Info [Running a Cron Job in Docker Container](https://blog.knoldus.com/running-a-cron-job-in-docker-container)
Name: tasksmanager
Version: 1.0
---
## 1.0
date: 22 October 2019
No particular changes, just build.
---
## 1.1
date: 17 August 2021
Full update versions, include upcloud and google cloud clients.
---

55
README.md Normal file
View File

@ -0,0 +1,55 @@
# TasksManager Pipeline Image
This is to build a [**container image**](https://www.docker.com/resources/what-container) by following a
[LibreCloud Termas CD/CI](https://repo.librecloud.services/termas_librecloud/librecloud-termas-cd-ci) procedures.
It is based in [Running a Cron Job in Docker Container](https://blog.knoldus.com/running-a-cron-job-in-docker-container) with code in [docker-com](https://github.com/nehabhardwaj01/docker-cron).
This image includes:
- bash, vim, bzip, gnugpg, git, curl, wget, curl, ssmtp, supervisor, dcron
- [s3cmd](https://s3tools.org/s3cmd) via python3
- [scaleway cli](https://github.com/scaleway/scaleway-cli)
- [digital ocean cli](https://github.com/digitalocean/doctl)
- [upcloud cli](https://github.com/UpCloudLtd/upcloud-cli)
- [aws cli](https://github.com/aws/aws-cli)
- [google cloud cli](https://cloud.google.com/sdk/docs/install)
- [restic](https://restic.net/)
- [jq](https://stedolan.github.io/jq/)
- [yq](https://mikefarah.github.io/yq/)
- [kubectl](https://kubernetes.io/docs/reference/kubectl/overview/)
[Container image](https://www.docker.com/resources/what-container) can be found in [**src** Dockerfile](https://repo.librecloud.services/termas_librecloud/sql-mariadb/src/branch/master/src/Dockerfile)
[Tekton Pipeline](https://github.com/tektoncd/pipeline) can be found in [**pipeline** directory](https://repo.librecloud.services/termas_librecloud/sql-mariadb/src/branch/master/pipeline).
## Configuration
[LibreCloud Termas CD/CI configuation](https://repo.librecloud.services/termas_librecloud/librecloud-termas-cd-ci#configuration)
## Pipeline
[LibreCloud Termas CD/CI pipeline](https://repo.librecloud.services/termas_librecloud/librecloud-termas-cd-ci#pipeline)
## Service
A [sql-mariadb image](https://repo.librecloud.services/termas_librecloud/sql-mariadb) configured service can be found in [LibreCloud site services](https://repo.librecloud.services/services_librecloud/site) as an implementation of [LibreCloud Services](https://repo.librecloud.services/services_librecloud/librecloud-services)
In most cases final service will need additional or multiple [containers](https://www.docker.com/resources/what-container) to run, as [init containers](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/) or [sidecar containers](https://kubernetes.io/docs/concepts/workloads/pods/pod-overview/).
## Install
[LibreCloud Termas CD/CI installation](https://repo.librecloud.services/termas_librecloud/librecloud-termas-cd-ci#install)
## Task list
[LibreCloud Termas CD/CI task list](https://repo.librecloud.services/termas_librecloud/librecloud-termas-cd-ci#terma-tasks-list)
## Directory content
[LibreCloud Termas CD/CI Directory content](https://repo.librecloud.services/termas_librecloud/librecloud-termas-cd-ci#directory-content)
## References
Use [LibreCloud Termas CD/CI References](https://repo.librecloud.services/termas_librecloud/librecloud-termas-cd-ci#references)