From 0a215bcf3d042d934318df480134c7472fcff3ab Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Wed, 8 Nov 2023 13:23:37 +0100 Subject: [PATCH] add badge --- .drone.yml | 63 ------------------------------------------------------ README.md | 2 ++ 2 files changed, 2 insertions(+), 63 deletions(-) delete mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index cd0d54a..0000000 --- a/.drone.yml +++ /dev/null @@ -1,63 +0,0 @@ ---- -kind: pipeline -type: docker -name: linting - -steps: - - name: gitleaks - image: plugins/gitleaks - settings: - path: . - when: - event: - exclude: - - tag - - - name: shellcheck - image: koalaman/shellcheck-alpine:stable - commands: - - "find . -name *.sh -exec shellcheck {} +" - when: - event: - exclude: - - tag - - - name: hadolint - image: hadolint/hadolint:latest-debian - commands: - - hadolint Dockerfile - ---- -kind: pipeline -type: docker -name: selfhosted -depends_on: # bezieht sich auf linting pipeline - - linting -steps: - - name: docker_build_and_push_selfhosted - image: plugins/docker - settings: - dockerfile: Dockerfile - repo: registry.mgrote.net/oxidized-selfmade - registry: registry.mgrote.net - tags: - - ${DRONE_COMMIT_SHA:0:8} - - ${DRONE_COMMIT_BRANCH} - - latest - when: - event: - exclude: - - pull_request - - tag - - - name: docker_build_and_push_selfhosted_tag - image: plugins/docker - settings: - dockerfile: Dockerfile - repo: registry.mgrote.net/oxidized-selfmade - registry: registry.mgrote.net - tags: - - ${DRONE_TAG} - when: - event: - - tag diff --git a/README.md b/README.md index 0856776..d161cb2 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # oxidized-selfmade aka routeros-config-export +[![status-badge](https://ci.mgrote.net/api/badges/6/status.svg)](https://ci.mgrote.net/repos/6) + This is a small script that pulls the config of one or multiple routeros-devices and pushes them into git-repository. ## Usage