From 4e8154676c5ae9bacda83affacc0317f6d37ef4c Mon Sep 17 00:00:00 2001 From: Thomas Boerger Date: Tue, 6 Jun 2023 00:24:44 +0200 Subject: [PATCH] ci: drop drone config --- .drone.star | 85 ----------------------------------------------------- .gitignore | 1 - README.md | 3 +- 3 files changed, 1 insertion(+), 88 deletions(-) delete mode 100644 .drone.star diff --git a/.drone.star b/.drone.star deleted file mode 100644 index 0506248..0000000 --- a/.drone.star +++ /dev/null @@ -1,85 +0,0 @@ -def main(ctx): - return [ - testing(ctx), - notify(ctx), - ] - -def testing(ctx): - return { - 'kind': 'pipeline', - 'type': 'docker', - 'name': 'testing', - 'platform': { - 'os': 'linux', - 'arch': 'amd64', - }, - 'steps': [ - { - 'name': 'lint', - 'image': 'toolhippie/yamllint:latest', - 'pull': 'always', - 'commands': [ - 'yamllint .', - ], - }, - { - 'name': 'kustomize', - 'image': 'toolhippie/kubectl:latest', - 'pull': 'always', - 'commands': [ - 'kustomize build .', - ], - }, - ], - 'trigger': { - 'ref': [ - 'refs/heads/master', - 'refs/tags/**', - 'refs/pull/**', - ], - }, - } - -def notify(ctx): - return { - 'kind': 'pipeline', - 'type': 'docker', - 'name': 'notify', - 'platform': { - 'os': 'linux', - 'arch': 'amd64', - }, - 'clone': { - 'disable': True, - }, - 'steps': [ - { - 'name': 'execute', - 'image': 'plugins/matrix:1', - 'pull': 'always', - 'settings': { - 'username': { - 'from_secret': 'matrix_username', - }, - 'password': { - 'from_secret': 'matrix_password', - }, - 'roomid': { - 'from_secret': 'matrix_roomid', - }, - }, - }, - ], - 'depends_on': [ - 'testing', - ], - 'trigger': { - 'ref': [ - 'refs/heads/master', - 'refs/tags/**', - ], - 'status': [ - 'failure', - ], - }, - } diff --git a/.gitignore b/.gitignore index eef18b7..e69de29 100755 --- a/.gitignore +++ b/.gitignore @@ -1 +0,0 @@ -.drone.yml diff --git a/README.md b/README.md index 58eacd1..39d899d 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # cinder-csi -[![Build Status](http://drone.webhippie.de/api/badges/kustomhippie/cinder-csi/status.svg)](http://drone.webhippie.de/kustomhippie/cinder-csi) -[![Join the Matrix chat at https://matrix.to/#/#webhippie:matrix.org](https://img.shields.io/badge/matrix-%23webhippie%3Amatrix.org-7bc9a4.svg)](https://matrix.to/#/#webhippie:matrix.org) +[![Kustomize Build](https://github.com/kustomhippie/cinder-csi/workflows/build/badge.svg)](https://github.com/kustomhippie/cinder-csi/actions?query=workflow%3Abuild) [![Linting Build](https://github.com/kustomhippie/cinder-csi/workflows/linter/badge.svg)](https://github.com/kustomhippie/cinder-csi/actions?query=workflow%3Alinter) [![Join the Matrix chat at https://matrix.to/#/#webhippie:matrix.org](https://img.shields.io/badge/matrix-%23webhippie%3Amatrix.org-7bc9a4.svg)](https://matrix.to/#/#webhippie:matrix.org) This repository defines a [Kustomize](https://kustomize.io/) manifest which could be used by other repositories to generate a [Kubernetes](https://kubernetes.io/) manifest for the installation of [cinder-csi](https://github.com/kubernetes/cloud-provider-openstack).