Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languageyaml
image: cfmanteiga/alpine-bash-curl-jq

stages:
  - measure

measure:
  stage: measure
  script:
    - mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2 # Only if you use an alpine image.
    - chmod +x measure.sh
    - ./measure.sh -ta "$APPLICATION" -at "$TOKEN" -m "$PACKAGE"
  only:
    - tags
  artifacts:
    paths:
      - greenspector/site
    expire_in: 1 day

...

Vous pouvez générer un tableau de bord après la mesure si vous disposez d'une définition pour l'outil de campagne de tableau de bord. Par exemple :

- ./measure.sh -t a "$APPLICATION" -a t "$TOKEN" -m "$PACKAGE" -l true -d ./mydefinition.yml

...