Skip to content

remove yamlescape e2e test (#4114) #889

remove yamlescape e2e test (#4114)

remove yamlescape e2e test (#4114) #889

Workflow file for this run

on:
push:
branches:
- main
name: Metrics
env:
DOCKER_BUILDKIT: 1
jobs:
docker-image-size:
runs-on: ubuntu-latest
strategy:
matrix:
service: [[kots, deploy/okteto, .], [web, web, web], [kurl-proxy, kurl_proxy, kurl_proxy], [migrations, migrations, migrations]]
steps:
- uses: actions/checkout@v3
- run: |
docker build -t ${{ matrix.service[0] }} -f ${{ matrix.service[1] }}/okteto.Dockerfile ${{ matrix.service[2] }}/
curl -X POST "https://api.datadoghq.com/api/v1/series" \
-H "Content-Type: text/json" \
-H "DD-API-KEY: ${{secrets.DD_API_KEY}}" \
-d '{"series":[{"metric":"build.size.docker","points":[['"$(date +%s)"','"$(docker inspect -f "{{.Size}}" ${{ matrix.service[0] }})"']],"tags":["service:${{ matrix.service[0] }}"]}]}'