canonical/charming-actions

Add `microk8s.inspect`?

Offen

#28 geöffnet am 23.02.2022

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (28 Forks)auto 404
Priority: MediumType: Enhancementgood first issue

Repository-Metriken

Stars
 (9 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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()

Contributor Guide