From c31c85bdcd3ee0004aa4ef9f14b1b0f030ea3ea2 Mon Sep 17 00:00:00 2001 From: Kaviraj Kanagaraj Date: Fri, 6 Jan 2023 16:23:46 +0100 Subject: [PATCH] chore(ci): Remove CircleCI (#8061) --- .circleci/config.yml | 79 -------------------------------------------- CHANGELOG.md | 1 + README.md | 1 - 3 files changed, 1 insertion(+), 80 deletions(-) delete mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 9006cf2ce7..0000000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,79 +0,0 @@ -version: 2 - -.tags: &tags # tags need to be explicitly defined (whitelist) - tags: { only: "/.*/" } - -.only-tags: &only-tags - <<: *tags - branches: { ignore: "/.*/" } - -.tag-or-main: &tag-or-main - branches: { only: main } - <<: *tags - -.no-main: &no-main # contrary to tags, the branches must be excluded - branches: { ignore: main } - -workflows: - version: 2 - default: - jobs: - # publish jobs depend on this as well, - # thus tags need to be allowed for these - - test: { filters: { <<: *tags } } - - - build/promtail-windows: - requires: [test] - - - build/docker-driver: - requires: [test] - filters: { <<: *no-main } - - publish/docker-driver: - requires: [test] - filters: { <<: *tag-or-main } - - -# https://circleci.com/blog/circleci-hacks-reuse-yaml-in-your-circleci-config-with-yaml/ -.defaults: &defaults - docker: - - image: grafana/loki-build-image:0.25.0 - working_directory: /src/loki - -jobs: - test: - <<: *defaults - steps: - - checkout - - # Promtail - build/promtail-windows: - <<: *defaults - steps: - - checkout - - setup_remote_docker - - run: - name: build - command: make GOOS=windows GOGC=10 promtail - - # Docker driver - build/docker-driver: - <<: *defaults - steps: - - checkout - - setup_remote_docker - - run: - name: docker-driver - command: make docker-driver - - publish/docker-driver: - <<: *defaults - steps: - - checkout - - setup_remote_docker - - run: - name: login - command: docker login -u "$DOCKER_USER" -p "$DOCKER_PASS" - - run: - name: docker-driver - command: make docker-driver-push - diff --git a/CHANGELOG.md b/CHANGELOG.md index c5d5d8bfaa..67c8d48ae2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ * [7997](https://github.com/grafana/loki/pull/7997) **kavirajk**: fix(promtail): Fix cri tags extra new lines when joining partial lines * [8027](https://github.com/grafana/loki/pull/8027) **kavirajk**: chore(promtail): Make `batchwait` and `batchsize` config explicit with yaml tags * [7978](https://github.com/grafana/loki/pull/7978) **chaudum**: Shut down query frontend gracefully to allow inflight requests to complete. +* [8061](https://github.com/grafana/loki/pull/8061) **kavirajk**: Remove circle from Loki OSS ##### Fixes diff --git a/README.md b/README.md index 19c466caf5..45af4ec8dc 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@

Loki Logo

Drone CI -CircleCI Go Report Card Slack [![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/loki.svg)](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:loki)