Skip to content

chore(platform): metering 0.1.4 #1327

chore(platform): metering 0.1.4

chore(platform): metering 0.1.4 #1327

Workflow file for this run

name: bootstrap
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
concurrency:
group: ${{ github.event_name == 'pull_request' && format('bootstrap-pr-{0}', github.event.pull_request.number) || 'bootstrap-main' }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
full-apply:
runs-on: ubuntu-latest
timeout-minutes: 90
permissions:
contents: read
packages: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Provision bootstrap cluster
id: provision
uses: ./.github/actions/provision
with:
ref: ${{ github.sha }}
- name: Run full E2E suite
uses: agynio/e2e/.github/actions/run-tests@main
- name: Dump authorization diagnostics
if: failure()
env:
KUBECONFIG: ${{ steps.provision.outputs.kubeconfig }}
run: |
kubectl -n argocd get applications.argoproj.io authorization -o yaml || true
kubectl -n platform get deploy,rs,pods,svc -l app.kubernetes.io/name=authorization -o wide || true
pods=$(kubectl -n platform get pods -l app.kubernetes.io/name=authorization -o jsonpath='{range .items[*]}{.metadata.name}{"\n"}{end}' || true)
for pod in $pods; do
echo "## describe $pod"
kubectl -n platform describe pod "$pod" || true
done
kubectl -n platform logs deploy/authorization --all-containers --tail=200 || true
kubectl -n platform get events --sort-by=.lastTimestamp | tail -n 80 || true
- name: Dump terminal proxy diagnostics
if: failure()
env:
KUBECONFIG: ${{ steps.provision.outputs.kubeconfig }}
run: |
kubectl -n argocd get applications.argoproj.io terminal-proxy -o yaml || true
kubectl -n platform get deploy,rs,pods,svc -l app.kubernetes.io/name=terminal-proxy -o wide || true
pods=$(kubectl -n platform get pods -l app.kubernetes.io/name=terminal-proxy -o jsonpath='{range .items[*]}{.metadata.name}{"\n"}{end}' || true)
for pod in $pods; do
echo "## describe $pod"
kubectl -n platform describe pod "$pod" || true
done
kubectl -n platform logs -l app.kubernetes.io/name=terminal-proxy --all-containers --tail=200 --prefix || true
kubectl -n platform logs -l app.kubernetes.io/name=terminal-proxy --all-containers --previous --tail=200 --prefix || true
kubectl -n platform get events --sort-by=.lastTimestamp | tail -n 80 || true