diff --git a/.github/workflows/observability-docker.yml b/.github/workflows/observability-docker.yml index bc32193..573a4ab 100644 --- a/.github/workflows/observability-docker.yml +++ b/.github/workflows/observability-docker.yml @@ -43,6 +43,9 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Extract metadata (tags, labels) for Docker id: meta uses: docker/metadata-action@v5 @@ -66,9 +69,8 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - - - + cache-from: type=registry,ref=${{ matrix.image}}:buildcache + cache-to: type=registry,ref=${{ matrix.image}}:buildcache,mode=max test-observability-quickstart-scripts: runs-on: ubuntu-latest @@ -82,6 +84,7 @@ jobs: uses: actions/setup-python@v4 with: python-version: '3.9' + cache: pip - name: Install Python dependencies run: pip install -r observability/test/requirements.txt diff --git a/observability/build-docker.sh b/observability/build-docker.sh index a8db297..2003050 100644 --- a/observability/build-docker.sh +++ b/observability/build-docker.sh @@ -7,4 +7,4 @@ docker build -t cogstacksystems/cogstack-observability-grafana:latest -f grafana docker build -t cogstacksystems/cogstack-observability-traefik:latest -f traefik/Dockerfile ./traefik -docker build -t cogstacksystems/cogstack-observability-alloy:latest -f grafana-alloy/Dockerfile ./grafana-alloy --debug \ No newline at end of file +docker build -t cogstacksystems/cogstack-observability-alloy:latest -f grafana-alloy/Dockerfile ./grafana-alloy \ No newline at end of file diff --git a/observability/test/health-check.py b/observability/test/health-check.py index 7fbc896..d071e8f 100644 --- a/observability/test/health-check.py +++ b/observability/test/health-check.py @@ -37,7 +37,7 @@ def main(): services = [ (f"http://{localhost_url}/grafana", "Grafana"), (f"http://{localhost_url}/prometheus", "Prometheus"), - # (f"http://{localhost_url}/alloy", "Alloy"), + (f"http://{localhost_url}/alloy", "Alloy"), ] all_healthy = True