mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
Fix broken YAML in telemetry-validation workflow
The previous suggestion commits introduced duplicate keys and missing YAML structure. This commit fixes: - Duplicate env: block → single block with ccache vars - Missing jobs: key - Duplicate apt-get install → single line with ccache - Missing 'Install Python dependencies' step name - Duplicate 'uses: setup-conan' - Missing 'uses: actions/cache@v4' and 'with:' for cache step - Duplicate 'Configure CMake' step name Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
14
.github/workflows/telemetry-validation.yml
vendored
14
.github/workflows/telemetry-validation.yml
vendored
@@ -57,13 +57,13 @@ concurrency:
|
||||
group: telemetry-validation-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
BUILD_DIR: build
|
||||
env:
|
||||
BUILD_DIR: build
|
||||
CCACHE_REMOTE_ONLY: true
|
||||
CCACHE_REMOTE_STORAGE: "http://cache.dev.ripplex.io:8080|layout=bazel"
|
||||
CCACHE_NAMESPACE: telemetry-validation
|
||||
|
||||
jobs:
|
||||
validate-telemetry:
|
||||
name: Telemetry Stack Validation
|
||||
runs-on: ubuntu-latest
|
||||
@@ -76,9 +76,9 @@ env:
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y curl jq bc python3 python3-pip ninja-build
|
||||
|
||||
sudo apt-get install -y curl jq bc python3 python3-pip ninja-build ccache
|
||||
|
||||
- name: Install Python dependencies
|
||||
run: pip3 install -r docker/telemetry/workload/requirements.txt
|
||||
|
||||
- name: Install Conan
|
||||
@@ -89,13 +89,13 @@ env:
|
||||
- name: Set up Conan
|
||||
uses: ./.github/actions/setup-conan
|
||||
|
||||
uses: ./.github/actions/setup-conan
|
||||
|
||||
- name: Log into Conan remote
|
||||
if: ${{ github.repository == 'XRPLF/rippled' }}
|
||||
run: conan remote login xrplf "${{ secrets.CONAN_REMOTE_USERNAME }}" --password "${{ secrets.CONAN_REMOTE_PASSWORD }}"
|
||||
|
||||
- name: Cache Conan packages
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.conan2/p
|
||||
key: telemetry-conan-${{ runner.os }}-${{ hashFiles('conanfile.py') }}
|
||||
restore-keys: |
|
||||
@@ -111,7 +111,6 @@ env:
|
||||
build_nproc: 4
|
||||
build_type: Release
|
||||
|
||||
- name: Configure CMake
|
||||
- name: Configure CMake
|
||||
working-directory: ${{ env.BUILD_DIR }}
|
||||
run: |
|
||||
@@ -122,6 +121,7 @@ env:
|
||||
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
|
||||
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
|
||||
..
|
||||
|
||||
- name: Build xrpld
|
||||
working-directory: ${{ env.BUILD_DIR }}
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user