Skip to content
Merged
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
12 changes: 9 additions & 3 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -185,16 +185,16 @@ jobs:
run: |
coord_relative_path="$(find ./coordinator -maxdepth 1 -name '*.charm' | tail -n1)"
worker_relative_path="$(find ./worker -maxdepth 1 -name '*.charm' | tail -n1)"
channel="2/edge"
pyro_channel="dev/edge"
if [ "${{ matrix.mode }}" = "local-coordinator" ]; then
COORDINATOR_CHARM_PATH="$(realpath "$coord_relative_path")"
export COORDINATOR_CHARM_PATH
WORKER_CHARM_CHANNEL="$channel"
WORKER_CHARM_CHANNEL="$pyro_channel"
export WORKER_CHARM_CHANNEL
elif [ "${{ matrix.mode }}" = "local-worker" ]; then
WORKER_CHARM_PATH="$(realpath "$worker_relative_path")"
export WORKER_CHARM_PATH
COORDINATOR_CHARM_CHANNEL="$channel"
COORDINATOR_CHARM_CHANNEL="$pyro_channel"
export COORDINATOR_CHARM_CHANNEL
elif [ "${{ matrix.mode }}" = "local-both" ]; then
COORDINATOR_CHARM_PATH="$(realpath "$coord_relative_path")"
Expand All @@ -206,3 +206,9 @@ jobs:
exit 1
fi
uvx tox -e integration -- -k "${{ matrix.suite }}"
- name: Open SSH session on failure
if: ${{ failure() && (runner.debug == '1') }}
uses: mxschmitt/action-tmate@v3
with:
timeout-minutes: 30
limit-access-to-actor: true
16 changes: 4 additions & 12 deletions .github/workflows/tiobe-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,11 @@ on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 1" # Runs at midnight UTC every Monday

jobs:
tiobe-scan-coordinator:
name: TiCs-coordinator
uses: canonical/observability/.github/workflows/charm-tiobe-scan.yaml@v1
with:
charm-path: ./coordinator
tiobe-project-name: pyroscope-coordinator-k8s
secrets: inherit
tiobe-scan-worker:
name: TiCs-worker
tiobe-scan:
name: TiCs-scan
uses: canonical/observability/.github/workflows/charm-tiobe-scan.yaml@v1
with:
charm-path: ./worker
tiobe-project-name: pyroscope-worker-k8s
coverage-folder: coverage
tiobe-project-name: pyroscope-operators
secrets: inherit
Loading
Loading