Skip to content

Instantly share code, notes, and snippets.

View m4r10k's full-sized avatar

Mario Kleinsasser m4r10k

View GitHub Profile
# ------- artifacts --------
resource "google_storage_transfer_job" "artifacts-<your source google project id>-backup" {
description = "artifacts-<your source google project id> backup job"
project = local.project
transfer_spec {
transfer_options {
delete_objects_unique_in_sink = true
}
# ------- artifacts --------
resource "google_storage_bucket" "artifacts-<your source google project id>-backup" {
name = "artifacts-<your source google project id>-backup"
project = "<your google backup project number>"
location = "EUROPE-WEST4"
storage_class = "STANDARD"
force_destroy = false
versioning {
enabled = true
# ------------ artifacts --------------
resource "google_storage_bucket" "artifacts" {
name = "artifacts-<your google project id>"
project = "<your google project id>"
location = "EUROPE-WEST3"
storage_class = "STANDARD"
force_destroy = false
versioning {
enabled = true
include: 'https://<our-gitlab-server>/public-gitops-ci-templates/gitops-ci-templates/raw/master/maven-api-template.yml'
image: <our-gitlab-registry>/devops-deploy/maven:3.6-jdk-12-se3

On manager

###############################################################
#                          WARNING!!!!                        #
# This is a sandbox environment. Using personal credentials   #
# is HIGHLY! discouraged. Any consequences of doing so are    #
# completely the user's responsibilites.                      #
#                                                             #
# The PWD team.                                               #
###############################################################
version: '3.3'
services:
httpd:
image: "n0r1skcom/bosnd-httpd:1.0"
ports:
- "80:80"
networks:
- net
volumes:
- /var/run/docker.sock:/var/run/docker.sock
DEBU[2017-11-08T13:18:58.074035194+01:00] Calling GET /_ping
DEBU[2017-11-08T13:18:58.077611023+01:00] Calling POST /v1.32/containers/create
DEBU[2017-11-08T13:18:58.077921355+01:00] form data: {"AttachStderr":true,"AttachStdin":true,"AttachStdout":true,"Cmd":null,"Domainname":"","Entrypoint":null,"Env":[],"HostConfig":{"AutoRemove":false,"Binds":["/var/run/docker.sock:/var/run/docker.sock"],"BlkioDeviceReadBps":null,"BlkioDeviceReadIOps":null,"BlkioDeviceWriteBps":null,"BlkioDeviceWriteIOps":null,"BlkioWeight":0,"BlkioWeightDevice":[],"CapAdd":null,"CapDrop":null,"Cgroup":"","CgroupParent":"","ConsoleSize":[0,0],"ContainerIDFile":"","CpuCount":0,"CpuPercent":0,"CpuPeriod":0,"CpuQuota":0,"CpuRealtimePeriod":0,"CpuRealtimeRuntime":0,"CpuShares":0,"CpusetCpus":"","CpusetMems":"","DeviceCgroupRules":null,"Devices":[],"DiskQuota":0,"Dns":[],"DnsOptions":[],"DnsSearch":[],"ExtraHosts":null,"GroupAdd":null,"IOMaximumBandwidth":0,"IOMaximumIOps":0,"IpcMode":"","Isolation":"","Kerne
@m4r10k
m4r10k / keybase.md
Last active January 12, 2018 07:00

Keybase proof

I hereby claim:

  • I am m4r10k on github.
  • I am kleinsasserm (https://keybase.io/kleinsasserm) on keybase.
  • I have a public key whose fingerprint is 2380 A628 461B 559F 46E2 5465 85E0 2AE9 57CA 167A

To claim this, I am signing this object: