* Cleanup old CircleCI config.
* Fix build job dependency.
* Update CI badge.

Signed-off-by: Ben Kochie <superq@gmail.com>
pull/3605/head
Ben Kochie 4 days ago
parent 33c8ca0983
commit d2b2230b04
No known key found for this signature in database
GPG Key ID: C646B23C9E3245F1
  1. 29
      .circleci/config.yml
  2. 6
      .github/workflows/ci.yml
  3. 2
      README.md

@ -1,29 +0,0 @@
---
version: 2.1
orbs:
prometheus: prometheus/prometheus@0.17.1
executors:
# Whenever the Go version is updated here, .promu.yml and .promu-cgo.yml
# should also be updated.
golang:
docker:
- image: cimg/go:1.26
arm:
docker:
- image: cimg/go:1.26
resource_class: arm.medium
jobs:
test:
executor: golang
steps:
- run: "true"
workflows:
version: 2
node_exporter:
jobs:
- test:
filters:
tags:
only: /.*/

@ -87,7 +87,7 @@ jobs:
test_docker:
name: Test docker image
runs-on: ubuntu-latest
needs: [test_go, build_all]
needs: [test_go, build]
env:
DOCKER_TEST_IMAGE_NAME: quay.io/prometheus/golang-builder:1.26-base
REPO_PATH: github.com/prometheus/node_exporter
@ -116,7 +116,7 @@ jobs:
publish_main:
name: Publish main branch artifacts
runs-on: ubuntu-latest
needs: [test_go, test_go_arm, build_all]
needs: [test_go, test_go_arm, build]
if: github.event_name == 'push' && github.event.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@ -132,7 +132,7 @@ jobs:
publish_release:
name: Publish release artifacts
runs-on: ubuntu-latest
needs: [test_go, test_go_arm, build_all]
needs: [test_go, test_go_arm, build]
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

@ -1,6 +1,6 @@
# Node exporter
[![CircleCI](https://circleci.com/gh/prometheus/node_exporter/tree/master.svg?style=shield)][circleci]
[![Build Status](https://github.com/prometheus/node_exporter/actions/workflows/ci.yml/badge.svg)](https://github.com/prometheus/node_exporter/actions/workflows/ci.yml)
![bsd workflow](https://github.com/prometheus/node_exporter/actions/workflows/bsd.yml/badge.svg)
![golangci-lint workflow](https://github.com/prometheus/node_exporter/actions/workflows/golangci-lint.yml/badge.svg)
[![Docker Repository on Quay](https://quay.io/repository/prometheus/node-exporter/status)][quay]

Loading…
Cancel
Save