Compare commits

..

9 Commits
v0.0.2 ... main

Author SHA1 Message Date
Janic Voser
342974c82d Updated README
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-11 01:54:06 +01:00
Janic Voser
ac216f73c2 Updated README
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-11 01:53:40 +01:00
Janic Voser
6355dd1224 Updated README
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-11 01:53:05 +01:00
Janic Voser
177a427ac8 Update Readme
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-11 01:50:25 +01:00
Janic Voser
0b8f38d92b Adjust License 2023-03-11 01:50:08 +01:00
Janic Voser
a208aa303b Updated .drone.yml
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
2023-03-11 01:37:07 +01:00
Janic Voser
5563833070 Updated .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-11 01:35:01 +01:00
Janic Voser
a90d08954e Remove trigger
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-03-11 01:28:19 +01:00
Janic Voser
22a5f402a4 Only on tag
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-11 01:25:48 +01:00
3 changed files with 38 additions and 14 deletions

View File

@ -2,11 +2,6 @@ kind: pipeline
type: docker
name: default
trigger:
branch:
- main
- dev
platform:
os: linux
arch: amd64
@ -62,14 +57,39 @@ steps:
depends_on:
- "go-build-bin-amd64"
when:
event:
- merge
- tag
branch:
- main
# Build Containers for each architecture DEV
- name: docker-build-image-amd64-dev
image: thegeeklab/drone-docker-buildx
volumes:
- name: docker_socket
path: /var/run/docker.sock
- name: binaries
path: /drone/src/binaries/
privileged: true
commands:
settings:
username:
from_secret: gitea_username
password:
from_secret: gitea_password
repo: gitea.voser.cloud/container/iwilldie
registry: https://gitea.voser.cloud
tags:
- latest-dev
platforms: linux/amd64
dockerfile: /drone/src/Docker/Dockerfile.amd64
nocache: true
depends_on:
- "go-build-bin-amd64"
when:
branch:
- dev
# Build Containers for each architecture TAGGED
- name: docker-build-image-amd64-tagged
image: thegeeklab/drone-docker-buildx
volumes:
- name: docker_socket
@ -86,7 +106,7 @@ steps:
repo: gitea.voser.cloud/container/iwilldie
registry: https://gitea.voser.cloud
auto_tag: true
auto_tag_suffix: dev
auto_tag_suffix:
platforms: linux/amd64
dockerfile: /drone/src/Docker/Dockerfile.amd64
nocache: true
@ -94,10 +114,7 @@ steps:
- "go-build-bin-amd64"
when:
event:
- push
- tag
branch:
- dev
# Run go tests
- name: binary-cleanup
@ -115,6 +132,7 @@ steps:
- "go-build-bin-amd64"
- "docker-build-image-amd64-dev"
- "docker-build-image-amd64-prod"
- "docker-build-image-amd64-tagged"
# Volumes to mount between steps

View File

@ -58,7 +58,7 @@ APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Copyright 2023 Janic Voser
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.

View File

@ -1,3 +1,9 @@
# iwilldie
This Repository exists to create a container which dies after some amount of time, this is usefull to test liveness probes in kubernetes.
This Repository exists to create a container which dies after some amount of time, this is usefull to test liveness probes in kubernetes.
# Current Build States
[![Build Status](https://drone.voser.cloud/api/badges/Container/iwilldie/status.svg?ref=refs/heads/dev)](https://drone.voser.cloud/Container/iwilldie) => Development branch => dev
---
[![Build Status](https://drone.voser.cloud/api/badges/Container/iwilldie/status.svg?ref=refs/heads/main)](https://drone.voser.cloud/Container/iwilldie) => Main branch => latest
---