canonical/charming-actions

Add `microk8s.inspect`?

Aperta

#28 aperta il 23 feb 2022

 (1 commento) (0 reazioni) (0 assegnatari)TypeScript (28 fork)auto 404
Priority: MediumType: Enhancementgood first issue

Metriche repository

Star
 (9 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor