chore(ci): Remove CircleCI (#8061)

pull/8047/head^2
Kaviraj Kanagaraj 3 years ago committed by GitHub
parent dbf09246d5
commit c31c85bdcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 79
      .circleci/config.yml
  2. 1
      CHANGELOG.md
  3. 1
      README.md

@ -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

@ -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

@ -1,7 +1,6 @@
<p align="center"><img src="docs/sources/logo_and_name.png" alt="Loki Logo"></p>
<a href="https://drone.grafana.net/grafana/loki"><img src="https://drone.grafana.net/api/badges/grafana/loki/status.svg" alt="Drone CI" /></a>
<a href="https://circleci.com/gh/grafana/loki/tree/master"><img src="https://circleci.com/gh/grafana/loki.svg?style=shield&circle-token=618193e5787b2951c1ea3352ad5f254f4f52313d" alt="CircleCI" /></a>
<a href="https://goreportcard.com/report/github.com/grafana/loki"><img src="https://goreportcard.com/badge/github.com/grafana/loki" alt="Go Report Card" /></a>
<a href="https://slack.grafana.com/"><img src="https://img.shields.io/badge/join%20slack-%23loki-brightgreen.svg" alt="Slack" /></a>
[![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)

Loading…
Cancel
Save