Skip to content

Commit

Permalink
WIP CI changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandreLamarre committed Dec 21, 2023
1 parent d255be6 commit 3d0ff90
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/e2e-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ jobs:
-
name: Check if Project Registration Namespace is auto-created on namespace detection
run: ./.github/workflows/e2e/scripts/create-project-namespace.sh;

-
name: Create Project Monitoring Stack via ProjectHelmChart CR
run: ./.github/workflows/e2e/scripts/create-projecthelmchart.sh;
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/e2e/scripts/generate-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,20 @@ kubectl get helmreleases -n cattle-monitoring-system -o yaml > ${MANIFEST_DIRECT

# Logs

mkdir -p ${LOG_DIRECTORY}/rancher-monitoring

## Rancher logs

mkdir -p ${LOG_DIRECTORY}/rancher


kubectl logs deployment/rancher-webhook -n cattle-system > ${LOG_DIRECTORY}/rancher/rancher_webhook.log || true
kubectl logs deployment/cattle-cluster-agent -n cattle-system > ${LOG_DIRECTORY}/rancher/cluster_agent.log || true
kubectl logs deployment/system-upgrade-controller -n cattle-system > ${LOG_DIRECTORY}/rancher/upgrade_controller.log || true

## Rancher Monitoring

mkdir -p ${LOG_DIRECTORY}/rancher-monitoring

kubectl logs deployment/rancher-monitoring-operator -n cattle-monitoring-system > ${LOG_DIRECTORY}/rancher-monitoring/prometheus_operator.log || true
kubectl logs statefulset/alertmanager-rancher-monitoring-alertmanager -n cattle-monitoring-system > ${LOG_DIRECTORY}/rancher-monitoring/alertmanager.log || true
kubectl logs statefulset/prometheus-rancher-monitoring-prometheus -n cattle-monitoring-system > ${LOG_DIRECTORY}/rancher-monitoring/prometheus.log || true
Expand Down

0 comments on commit 3d0ff90

Please sign in to comment.