Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ jobs:
run: |
docker login --username="$DOCKER_USERNAME" --password-stdin $DOCKER_REGISTRY <<< "$DOCKER_PASSWORD"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
- name: Create and push multi-arch manifests
run: |
docker_registry=$(sed -e 's,^https://,,' -e 's,/*$,,' <<< $DOCKER_REGISTRY)
Expand Down Expand Up @@ -236,7 +236,7 @@ jobs:
if: ${{ inputs.dry_run != true }}
steps:
- name: Download all packages
uses: actions/download-artifact@v4
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
with:
pattern: packages-*
merge-multiple: true
Expand Down
42 changes: 21 additions & 21 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ jobs:
fetch-depth: 0

- name: Cache and install ccache
uses: awalsh128/cache-apt-pkgs-action@latest
uses: awalsh128/cache-apt-pkgs-action@2c09a5e66da6c8016428a2172bd76e5e4f14bb17 # latest
with:
packages: ccache
version: 1.0

- name: Setup ccache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2
with:
key: ccache-build-reducer
max-size: 1G
Expand Down Expand Up @@ -154,13 +154,13 @@ jobs:
fetch-depth: 0

- name: Cache and install ccache
uses: awalsh128/cache-apt-pkgs-action@latest
uses: awalsh128/cache-apt-pkgs-action@2c09a5e66da6c8016428a2172bd76e5e4f14bb17 # latest
with:
packages: ccache
version: 1.0

- name: Setup ccache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2
with:
key: ccache-build-kernel-collector
max-size: 1G
Expand Down Expand Up @@ -220,13 +220,13 @@ jobs:
fetch-depth: 0

- name: Cache and install ccache
uses: awalsh128/cache-apt-pkgs-action@latest
uses: awalsh128/cache-apt-pkgs-action@2c09a5e66da6c8016428a2172bd76e5e4f14bb17 # latest
with:
packages: ccache
version: 1.0

- name: Setup ccache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2
with:
key: ccache-build-kernel-collector-test
max-size: 1G
Expand Down Expand Up @@ -286,13 +286,13 @@ jobs:
fetch-depth: 0

- name: Cache and install ccache
uses: awalsh128/cache-apt-pkgs-action@latest
uses: awalsh128/cache-apt-pkgs-action@2c09a5e66da6c8016428a2172bd76e5e4f14bb17 # latest
with:
packages: ccache
version: 1.0

- name: Setup ccache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2
with:
key: ccache-build-k8s-collector
max-size: 1G
Expand Down Expand Up @@ -351,13 +351,13 @@ jobs:
fetch-depth: 0

- name: Cache and install ccache
uses: awalsh128/cache-apt-pkgs-action@latest
uses: awalsh128/cache-apt-pkgs-action@2c09a5e66da6c8016428a2172bd76e5e4f14bb17 # latest
with:
packages: ccache
version: 1.0

- name: Setup ccache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2
with:
key: ccache-build-cloud-collector
max-size: 1G
Expand Down Expand Up @@ -392,13 +392,13 @@ jobs:
fetch-depth: 0

- name: Cache and install ccache
uses: awalsh128/cache-apt-pkgs-action@latest
uses: awalsh128/cache-apt-pkgs-action@2c09a5e66da6c8016428a2172bd76e5e4f14bb17 # latest
with:
packages: ccache
version: 1.0

- name: Setup ccache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2
with:
key: ccache-build-run-unit-tests
max-size: 1G
Expand Down Expand Up @@ -434,13 +434,13 @@ jobs:
fetch-depth: 0

- name: Cache and install ccache
uses: awalsh128/cache-apt-pkgs-action@latest
uses: awalsh128/cache-apt-pkgs-action@2c09a5e66da6c8016428a2172bd76e5e4f14bb17 # latest
with:
packages: ccache
version: 1.0

- name: Setup ccache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2
with:
key: ccache-build-run-unit-tests-asan-debug
max-size: 1G
Expand Down Expand Up @@ -475,13 +475,13 @@ jobs:
fetch-depth: 0

- name: Cache and install ccache
uses: awalsh128/cache-apt-pkgs-action@latest
uses: awalsh128/cache-apt-pkgs-action@2c09a5e66da6c8016428a2172bd76e5e4f14bb17 # latest
with:
packages: ccache
version: 1.0

- name: Setup ccache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2
with:
key: ccache-build-packages
max-size: 1G
Expand Down Expand Up @@ -530,7 +530,7 @@ jobs:
fetch-depth: 0

- name: Set up kind cluster
uses: helm/kind-action@v1.10.0
uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0
with:
version: v0.30.0
cluster_name: e2e-kind
Expand Down Expand Up @@ -885,14 +885,14 @@ jobs:
path: ./container-exports

- name: Cache and install LVH host dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
uses: awalsh128/cache-apt-pkgs-action@2c09a5e66da6c8016428a2172bd76e5e4f14bb17 # latest
with:
# Match LVH action.yaml dependency_list exactly
packages: cpu-checker qemu-system-x86 libvirt-daemon-system libvirt-clients bridge-utils virtinst virt-manager
version: lvh-deps-1

- name: Run kernel collector simple tests on ${{ matrix.description }}
uses: yonch/little-vm-helper@main
uses: yonch/little-vm-helper@f2aa2b657a2d6efaddf34793989b5fcdbaad10d6 # main
with:
test-name: kernel-collector-simple-test-${{ matrix.kernel }}
image: 'complexity-test'
Expand Down Expand Up @@ -1039,14 +1039,14 @@ jobs:
path: ./container-exports

- name: Cache and install LVH host dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
uses: awalsh128/cache-apt-pkgs-action@2c09a5e66da6c8016428a2172bd76e5e4f14bb17 # latest
with:
# Match LVH action.yaml dependency_list exactly
packages: cpu-checker qemu-system-x86 libvirt-daemon-system libvirt-clients bridge-utils virtinst virt-manager
version: lvh-deps-1

- name: Run kernel collector tests on ${{ matrix.description }}
uses: yonch/little-vm-helper@main
uses: yonch/little-vm-helper@f2aa2b657a2d6efaddf34793989b5fcdbaad10d6 # main
with:
test-name: kernel-collector-test-${{ matrix.kernel }}
image: 'complexity-test'
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/k8s-collector-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Check out the codebase
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Cache Rust build
uses: Swatinem/rust-cache@v2
uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
with:
prefix-key: k8s-collector-integration-${{ runner.os }}

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1
with:
profile: minimal
toolchain: stable
Expand All @@ -42,7 +42,7 @@ jobs:
chmod +x k8s-collector-integration

- name: Upload k8s-collector integration binary
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: k8s-collector-integration
path: k8s-collector-integration
Expand All @@ -54,16 +54,16 @@ jobs:
timeout-minutes: 30
steps:
- name: Check out the codebase
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Set up kind cluster
uses: helm/kind-action@v1.10.0
uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0
with:
version: v0.30.0
cluster_name: k8s-collector-e2e

- name: Download k8s-collector integration binary
uses: actions/download-artifact@v4
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
with:
name: k8s-collector-integration
path: ./
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- name: Run Release Please
id: release
uses: googleapis/release-please-action@v4
uses: googleapis/release-please-action@5c625bfb5d1ff62eadeeb3772007f7f66fdcf071 # v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
config-file: release-please-config.json
Expand Down
10 changes: 5 additions & 5 deletions crates/k8s-collector/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ tokio-util = { version = "0.7", features = ["io-util"] }
hostname = "0.4"

[dev-dependencies]
k8s-openapi = { version = "0.26", features = ["v1_30"] }
proptest = "1"
anyhow = "1"
env_logger = "0.11"
serde_json = "1"
k8s-openapi = { version = "=0.26.0", features = ["v1_30"] }
proptest = "=1.9.0"
anyhow = "=1.0.100"
env_logger = "=0.11.8"
serde_json = "=1.0.145"
2 changes: 1 addition & 1 deletion crates/perfect_hash_map/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ path = "src/lib.rs"
default = []

[dev-dependencies]
proptest = "1.4"
proptest = "=1.9.0"
2 changes: 1 addition & 1 deletion crates/reducer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ rc-hashmap = { workspace = true }
otlp_export = { workspace = true }

[dev-dependencies]
proptest = "1"
proptest = "=1.9.0"
Loading