From 4d0f09ff6b617ffd3aec92090a5f45b5f4a3aa77 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 11 Sep 2021 17:57:20 -0400 Subject: [PATCH] chore: drop references to circleci, libera, travis-ci --- .circleci/config.yml | 31 ------------------------------- Makefile | 15 +-------------- README.md | 4 ++-- bin/generate | 6 +++--- 4 files changed, 6 insertions(+), 50 deletions(-) delete mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 0e101e7..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,31 +0,0 @@ -version: 2.1 - -commands: - build: - description: "run the build" - parameters: - python_version: - type: string - default: "3.7.0" - steps: - - checkout - -executors: - machine: - machine: - docker_layer_caching: false - image: ubuntu-1604:201903-01 - -jobs: - build-master: - environment: - DOKKU_VERSION: master - executor: machine - steps: - - build - -workflows: - version: 2 - build: - jobs: - - "build-master" diff --git a/Makefile b/Makefile index 985f70c..863c1ba 100644 --- a/Makefile +++ b/Makefile @@ -71,28 +71,15 @@ tmp/xunit-reader: tar xf tmp/xunit-reader.tgz -C tmp chmod +x tmp/xunit-reader -tmp/xunit-to-github: - mkdir -p tmp - curl -o tmp/xunit-to-github.tgz -sL https://github.com/josegonzalez/go-xunit-to-github/releases/download/v$(XUNIT_TO_GITHUB_VERSION)/xunit-to-github_$(XUNIT_TO_GITHUB_VERSION)_$(SYSTEM_NAME)_$(HARDWARE).tgz - tar xf tmp/xunit-to-github.tgz -C tmp - chmod +x tmp/xunit-to-github - setup: bash tests/setup.sh $(MAKE) ci-dependencies test: lint unit-tests -report: tmp/xunit-reader tmp/xunit-to-github +report: tmp/xunit-reader tmp/xunit-reader -p 'tmp/test-results/bats/*.xml' tmp/xunit-reader -p 'tmp/test-results/shellcheck/*.xml' -ifdef TRAVIS_REPO_SLUG -ifdef GITHUB_ACCESS_TOKEN -ifneq ($(TRAVIS_PULL_REQUEST),false) - tmp/xunit-to-github --skip-ok --job-url "$(TRAVIS_JOB_WEB_URL)" --pull-request-id "$(TRAVIS_PULL_REQUEST)" --repository-slug "$(TRAVIS_REPO_SLUG)" --title "DOKKU_VERSION=$(DOKKU_VERSION)" tmp/test-results/bats tmp/test-results/shellcheck -endif -endif -endif .PHONY: clean clean: diff --git a/README.md b/README.md index 727a3d4..1f53902 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# dokku mongo [![Build Status](https://img.shields.io/circleci/project/github/dokku/dokku-mongo.svg?branch=master&style=flat-square "Build Status")](https://circleci.com/gh/dokku/dokku-mongo/tree/master) [![IRC Network](https://img.shields.io/badge/irc-freenode-blue.svg?style=flat-square "IRC Freenode")](https://webchat.freenode.net/?channels=dokku) +# dokku mongo [![Build Status](https://img.shields.io/github/workflow/status/dokku/dokku-mongo/CI/master?style=flat-square "Build Status")](https://github.com/dokku/dokku-mongo/actions/workflows/ci.yml?query=branch%3Amaster) [![IRC Network](https://img.shields.io/badge/irc-libera-blue.svg?style=flat-square "IRC Libera")](https://webchat.libera.chat/?channels=dokku) Official mongo plugin for dokku. Currently defaults to installing [mongo 3.6.15](https://hub.docker.com/_/mongo/). @@ -654,4 +654,4 @@ dokku mongo:backup-unschedule lolipop If you wish to disable the `docker pull` calls that the plugin triggers, you may set the `MONGO_DISABLE_PULL` environment variable to `true`. Once disabled, you will need to pull the service image you wish to deploy as shown in the `stderr` output. -Please ensure the proper images are in place when `docker pull` is disabled. \ No newline at end of file +Please ensure the proper images are in place when `docker pull` is disabled. diff --git a/bin/generate b/bin/generate index 47b488f..2a04b0a 100755 --- a/bin/generate +++ b/bin/generate @@ -35,8 +35,8 @@ def header(service): return " ".join( [ f"# dokku {service}", - f'[![Build Status](https://img.shields.io/circleci/project/github/dokku/dokku-{service}.svg?branch=master&style=flat-square "Build Status")](https://circleci.com/gh/dokku/dokku-{service}/tree/master)', - f'[![IRC Network](https://img.shields.io/badge/irc-freenode-blue.svg?style=flat-square "IRC Freenode")](https://webchat.freenode.net/?channels=dokku)', + f'[![Build Status](https://img.shields.io/github/workflow/status/dokku/dokku-{service}/CI/master?style=flat-square "Build Status")](https://github.com/dokku/dokku-{service}/actions/workflows/ci.yml?query=branch%3Amaster)', + f'[![IRC Network](https://img.shields.io/badge/irc-libera-blue.svg?style=flat-square "IRC Libera")](https://webchat.libera.chat/?channels=dokku)', ] ) @@ -511,7 +511,7 @@ def main(): base_path = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) readme_file = os.path.join(base_path, "README.md") with open(readme_file, "w") as f: - f.write(text) + f.write(text + "\n") if __name__ == "__main__":