canonical/charming-actions

Add `microk8s.inspect`?

Ouverte

#28 ouverte le 23 févr. 2022

 (1 commentaire) (0 réaction) (0 personne assignée)TypeScript (28 forks)auto 404
Priority: MediumType: Enhancementgood first issue

Métriques du dépôt

Stars
 (9 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

Kubeflow charms also have microk8s.inspect which could be handy.

    - name: Generate inspect tarball
      run: >
        sg microk8s <<EOF
          microk8s inspect | \
          grep -Po "Report tarball is at \K.+" | \
          xargs -I {} cp {} inspection-report-${{ strategy.job-index }}.tar.gz
        EOF
      if: failure()

    - name: Upload inspect tarball
      uses: actions/upload-artifact@v2
      with:
        name: inspection-reports
        path: ./inspection-report-${{ strategy.job-index }}.tar.gz
      if: failure()

Guide contributeur