diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 0ab671ad..00000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,33 +0,0 @@ -version: 2.1 -executors: - arm: - machine: - image: ubuntu-2404:current - resource_class: arm.medium - -jobs: - test-arm: - executor: arm - steps: - - checkout - - run: uname -a - # Install a specific version of Go. Everytime we bump Go toolchain version in - # go.mod, we need to use the same version here. - # This is to avoid weird errors like `compile: version "go1.25.1" does not match go tool version "go1.25.0"` - # when go updates itself - - run: | - GO_VERSION=1.26.0 - wget -O /tmp/go${GO_VERSION}.linux-arm64.tar.gz https://go.dev/dl/go${GO_VERSION}.linux-arm64.tar.gz - sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf /tmp/go${GO_VERSION}.linux-arm64.tar.gz - - run: go env - - run: GOARCH=1 make clang - - run: make - - run: CGO_APPS=1 make - -workflows: - ceems: - jobs: - - test-arm: - filters: - tags: - only: /.*/ diff --git a/.github/workflows/step_tests-e2e.yml b/.github/workflows/step_tests-e2e.yml index 6ad222cb..953823ec 100644 --- a/.github/workflows/step_tests-e2e.yml +++ b/.github/workflows/step_tests-e2e.yml @@ -25,3 +25,24 @@ jobs: - name: Run e2e tests for CGo packages run: CGO_APPS=1 make test-e2e + + e2e-tests-arm: + name: e2e-tests-arm + runs-on: ubuntu-26.04-arm + steps: + - name: Checkout + uses: actions/checkout@v7 + + - name: Install Go + uses: actions/setup-go@v7 + with: + go-version: 1.26.x + + - name: Setup clang 18 + run: ./scripts/install_clang.sh + + - name: Run e2e tests for Go packages + run: make test-e2e + + - name: Run e2e tests for CGo packages + run: CGO_APPS=1 make test-e2e diff --git a/.github/workflows/step_tests-unit.yml b/.github/workflows/step_tests-unit.yml index ea02cc11..8609086b 100644 --- a/.github/workflows/step_tests-unit.yml +++ b/.github/workflows/step_tests-unit.yml @@ -103,3 +103,32 @@ jobs: with: github_token: ${{ steps.app-token.outputs.token }} branch: ${{ github.head_ref }} + + unit-tests-arm: + name: unit-tests-arm + runs-on: ubuntu-26.04-arm + steps: + - name: Checkout + uses: actions/checkout@v7 + # Seems like it is very important as without it the push step attempts to + # use the GITHUB_TOKEN instead of the token we are creating using GH app. + with: + persist-credentials: false + + - name: Install Go + uses: actions/setup-go@v7 + with: + go-version: 1.26.x + + - name: Setup clang + run: ./scripts/install_clang.sh + + - name: Run checkmetrics, checkrules and checkbpf + run: make checkmetrics checkrules checkbpf + + - name: Run unit tests for Go packages + run: make test + + - name: Run unit tests for CGo packages + run: CGO_APPS=1 make test + diff --git a/README.md b/README.md index 86185469..450bc5c6 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,10 @@ | | | | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| CI/CD | [![ci](https://github.com/ceems-dev/ceems/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/ceems-dev/ceems/actions/workflows/ci.yml?query=branch%3Amain) [![CircleCI](https://dl.circleci.com/status-badge/img/circleci/UVxmfk5AT3EHZpsg3FdfaR/PKvLaAH1ahBZf8kBKHhCiA/tree/main.svg?style=svg&circle-token=CCIPRJ_67vq2cGkBpm9syySEp7tTW_7d4d6f3e8d72486acf477768f4f0a1d5235ab2a0)](https://dl.circleci.com/status-badge/redirect/circleci/UVxmfk5AT3EHZpsg3FdfaR/PKvLaAH1ahBZf8kBKHhCiA/tree/main) [![Coverage](https://img.shields.io/badge/Coverage-78.5%25-brightgreen)](https://github.com/ceems-dev/ceems/actions/workflows/ci.yml?query=branch%3Amain) | +| CI/CD | [![ci](https://github.com/ceems-dev/ceems/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/ceems-dev/ceems/actions/workflows/ci.yml?query=branch%3Amain) [![Coverage](https://img.shields.io/badge/Coverage-78.4%25-brightgreen)](https://github.com/ceems-dev/ceems/actions/workflows/ci.yml?query=branch%3Amain) | | Docs | [![docs](https://img.shields.io/badge/docs-passing-green?style=flat&link=https://ceems-dev.github.io/ceems/docs/)](https://ceems-dev.github.io/ceems/) [![Go Doc](https://godoc.org/github.com/ceems-dev/ceems?status.svg)](http://godoc.org/github.com/ceems-dev/ceems) [![Discord](https://img.shields.io/discord/1466874652189003973?label=discord)](https://discord.gg/bedRvX5uVY) | | Package | [![Release](https://img.shields.io/github/v/release/ceems-dev/ceems.svg?include_prereleases)](https://github.com/ceems-dev/ceems/releases/latest) [![Releases downloads](https://img.shields.io/github/downloads/ceems-dev/ceems/total.svg)](https://github.com/ceems-dev/ceems/releases) | -| Meta | [![GitHub License](https://img.shields.io/github/license/ceems-dev/ceems)](https://github.com/ceems-dev/ceems) [![Go Report Card](https://ceems-demo.myaddr.tools:2443/badge/github.com/ceems-dev/ceems)](https://ceems-demo.myaddr.tools:2443/report/github.com/ceems-dev/ceems) [![code style](https://img.shields.io/badge/code%20style-gofmt-blue.svg)](https://pkg.go.dev/cmd/gofmt) [![OpenSSF Best Practices](https://www.bestpractices.dev/projects/13395/badge)](https://www.bestpractices.dev/projects/13395) | +| Meta | [![GitHub License](https://img.shields.io/github/license/ceems-dev/ceems)](https://github.com/ceems-dev/ceems) [![Go Report Card](https://goreportcard.ceems.dev/badge/github.com/ceems-dev/ceems)](https://goreportcard.ceems.dev/report/github.com/ceems-dev/ceems) [![code style](https://img.shields.io/badge/code%20style-gofmt-blue.svg)](https://pkg.go.dev/cmd/gofmt) [![OpenSSF Best Practices](https://www.bestpractices.dev/projects/13395/badge)](https://www.bestpractices.dev/projects/13395) | @@ -208,9 +208,8 @@ interest group hosted by [Inria](https://www.inria.fr/) and including [CNRS](htt [RENATER](https://www.renater.fr/en/accueil-english/) and several Universities as well as other organizations, has been extensively used in the development of CEEMS. -- The demo instance has been deployed on the [CROCC](https://drocc.fr/crocc/) -which was kindly sponsored by [ISDM MESO](https://isdm.umontpellier.fr/mesolr) -in Montpellier, France. +- The demo instance has been deployed on the [cloud@vd](https://virtualdata.fr/services/cloud-at-vd) +which was kindly sponsored by [IJCLab](https://www.ijclab.in2p3.fr/en/home/) in Paris, France. ## 💬 Contact diff --git a/website/docs/00-introduction.md b/website/docs/00-introduction.md index 618028b4..7f8d8471 100644 --- a/website/docs/00-introduction.md +++ b/website/docs/00-introduction.md @@ -9,10 +9,10 @@ slug: / | | | | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| CI/CD | [![ci](https://github.com/@ceemsOrg@/@ceemsRepo@/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/@ceemsOrg@/@ceemsRepo@/actions/workflows/ci.yml?query=branch%3Amain) [![CircleCI](https://dl.circleci.com/status-badge/img/circleci/UVxmfk5AT3EHZpsg3FdfaR/PKvLaAH1ahBZf8kBKHhCiA/tree/main.svg?style=svg&circle-token=CCIPRJ_67vq2cGkBpm9syySEp7tTW_7d4d6f3e8d72486acf477768f4f0a1d5235ab2a0)](https://dl.circleci.com/status-badge/redirect/circleci/UVxmfk5AT3EHZpsg3FdfaR/PKvLaAH1ahBZf8kBKHhCiA/tree/main) [![Coverage](https://img.shields.io/badge/Coverage-78.5%25-brightgreen)](https://github.com/ceems-dev/ceems/actions/workflows/ci.yml?query=branch%3Amain) | +| CI/CD | [![ci](https://github.com/@ceemsOrg@/@ceemsRepo@/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/@ceemsOrg@/@ceemsRepo@/actions/workflows/ci.yml?query=branch%3Amain) [![Coverage](https://img.shields.io/badge/Coverage-78.5%25-brightgreen)](https://github.com/ceems-dev/ceems/actions/workflows/ci.yml?query=branch%3Amain) | | Docs | [![docs](https://img.shields.io/badge/docs-passing-green?style=flat&link=https://github.com/@ceemsOrg@/@ceemsRepo@/blob/main/README.md)](https://github.com/@ceemsOrg@/@ceemsRepo@/blob/main/README.md) [![Go Doc](https://godoc.org/github.com/@ceemsOrg@/@ceemsRepo@?status.svg)](http://godoc.org/github.com/@ceemsOrg@/@ceemsRepo@) [![Discord](https://img.shields.io/discord/1466874652189003973?label=discord)](https://discord.gg/bedRvX5uVY) | | Package | [![Release](https://img.shields.io/github/v/release/@ceemsOrg@/@ceemsRepo@.svg?include_prereleases)](https://github.com/@ceemsOrg@/@ceemsRepo@/releases/latest) [![Releases downloads](https://img.shields.io/github/downloads/@ceemsOrg@/@ceemsRepo@/total.svg)](https://github.com/@ceemsOrg@/@ceemsRepo@/releases) | -| Meta | [![GitHub License](https://img.shields.io/github/license/@ceemsOrg@/@ceemsRepo@)](https://github.com/@ceemsOrg@/@ceemsRepo@) [![Go Report Card](https://ceems-demo.myaddr.tools:2443/badge/github.com/@ceemsOrg@/@ceemsRepo@)](https://ceems-demo.myaddr.tools:2443/report/github.com/@ceemsOrg@/@ceemsRepo@) [![code style](https://img.shields.io/badge/code%20style-gofmt-blue.svg)](https://pkg.go.dev/cmd/gofmt) [![OpenSSF Best Practices](https://www.bestpractices.dev/projects/13395/badge)](https://www.bestpractices.dev/projects/13395) | +| Meta | [![GitHub License](https://img.shields.io/github/license/@ceemsOrg@/@ceemsRepo@)](https://github.com/@ceemsOrg@/@ceemsRepo@) [![Go Report Card](https://goreportcard.ceems.dev/badge/github.com/@ceemsOrg@/@ceemsRepo@)](https://goreportcard.ceems.dev/report/github.com/@ceemsOrg@/@ceemsRepo@) [![code style](https://img.shields.io/badge/code%20style-gofmt-blue.svg)](https://pkg.go.dev/cmd/gofmt) [![OpenSSF Best Practices](https://www.bestpractices.dev/projects/13395/badge)](https://www.bestpractices.dev/projects/13395) | @@ -49,7 +49,7 @@ Kubernetes. - CEEMS Prometheus exporter is capable of exporting compute unit metrics including energy consumption, performance, IO and network metrics from different resource managers in a unified manner. In addition, CEEMS exporter is capable of continuous profiling of compute units using -[eBPF](https://grafana.com/docs/pyroscope/latest/configure-client/grafana-alloy/ebpf/) +[eBPF](https://grafana.com/docs/pyroscope/latest/?pg=oss-pyroscope&plcmt=hero-btn-3) - CEEMS API server can store the aggregate metrics and metadata of each compute unit originating from different resource managers. diff --git a/website/docs/usage/ceems-api-server.md b/website/docs/usage/ceems-api-server.md index 5feebdd0..6dcee4c4 100644 --- a/website/docs/usage/ceems-api-server.md +++ b/website/docs/usage/ceems-api-server.md @@ -54,7 +54,7 @@ All available command-line options are listed in the ::: -All endpoints of the CEEMS API server are discussed in detail in the dedicated [API documentation](/ceems/docs/category/api). +All endpoints of the CEEMS API server are discussed in detail in the dedicated [API documentation](/docs/category/api). ## Access Control diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts index 2c13ed2b..c7e040d1 100644 --- a/website/docusaurus.config.ts +++ b/website/docusaurus.config.ts @@ -250,10 +250,18 @@ const config: Config = { label: "GitHub", href: `https://github.com/${organizationName}/${projectName}`, }, + { + label: "Releases", + href: `https://github.com/${organizationName}/${projectName}/releases`, + }, { label: "Helm Charts", href: `https://github.com/${organizationName}/helm-charts`, }, + { + label: "Ansible", + href: `https://github.com/${organizationName}/ansible`, + }, ], }, ], diff --git a/website/md-link-check.json b/website/md-link-check.json index 18d5eb1f..c105d5dc 100644 --- a/website/md-link-check.json +++ b/website/md-link-check.json @@ -2,7 +2,7 @@ "projectBaseUrl": "${workspaceFolder}", "ignorePatterns": [ { - "pattern": "^/ceems" + "pattern": "^/docs" }, { "pattern": "https://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/dcmi-v1-5-rev-spec.pdf"