canonical/charming-actions

Add `microk8s.inspect`?

开放

#28 创建于 2022年2月23日

 (1 条评论) (0 个反应) (0 位负责人)TypeScript (28 个派生)auto 404
Priority: MediumType: Enhancementgood first issue

仓库指标

星标
 (9 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南