Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test description in summary #792

Merged
merged 2 commits into from
Apr 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/cli-k3s-hardened-rancher_latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ name: CLI-K3s-Hardened-Rancher_Latest
on:
schedule:
- cron: '0 1 * * *'

jobs:
k3s:
uses: ./.github/workflows/master-e2e.yaml
Expand All @@ -12,6 +13,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "CI - CLI - Parallel - Deployment test with Hardened K3s"
cert-manager_version: v1.9.2
cluster_name: cluster-k3s
cluster_type: hardened
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/cli-k3s-hardened-rancher_stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ name: CLI-K3s-Hardened-Rancher_Stable
on:
schedule:
- cron: '0 1 * * *'

jobs:
k3s:
uses: ./.github/workflows/master-e2e.yaml
Expand All @@ -12,6 +13,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "CI - CLI - Parallel - Deployment test with Hardened K3s"
cert-manager_version: v1.9.2
cluster_name: cluster-k3s
cluster_type: hardened
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/cli-k3s-os-upgrade-rancher_latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "CI - CLI - Parallel - OS Upgrade test with Standard K3s"
cluster_name: cluster-k3s
iso_to_test: https://download.opensuse.org/repositories/isv:/Rancher:/Elemental:/Stable:/Teal53/media/iso/elemental-teal.x86_64.iso
k8s_version_to_provision: v1.24.11+k3s1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/cli-k3s-os-upgrade-rancher_stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "CI - CLI - Parallel - OS Upgrade test with Standard K3s"
cluster_name: cluster-k3s
iso_to_test: https://download.opensuse.org/repositories/isv:/Rancher:/Elemental:/Stable:/Teal53/media/iso/elemental-teal.x86_64.iso
k8s_version_to_provision: v1.24.8+k3s1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/cli-k3s-os-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "Manual - CLI - Parallel - OS Upgrade test with Standard K3s"
cluster_name: cluster-k3s
destroy_runner: ${{ inputs.destroy_runner }}
iso_to_test: ${{ inputs.iso_to_test }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/cli-k3s-sequential-rancher_latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "CI/Manual - CLI - Sequential - Deployment test with Standard K3s"
cluster_name: cluster-k3s
k8s_version_to_provision: v1.24.11+k3s1
rancher_channel: latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/cli-k3s-sequential-rancher_stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "CI/Manual - CLI - Sequential - Deployment test with Standard K3s"
cluster_name: cluster-k3s
k8s_version_to_provision: v1.24.8+k3s1
rancher_channel: stable
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/cli-obs-manual-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "Manual - Fully customizable - CLI - IBS/OBS Deployment test"
cluster_name: my-own-cluster
cluster_type: ${{ inputs.cluster_type }}
destroy_runner: ${{ inputs.destroy_runner }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "CI - CLI - Parallel - OS Upgrade test with Standard RKE2"
ca_type: private
cluster_name: cluster-rke2
iso_to_test: https://download.opensuse.org/repositories/isv:/Rancher:/Elemental:/Stable:/Teal53/media/iso/elemental-teal.x86_64.iso
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "CI - CLI - Parallel - OS Upgrade test with Standard RKE2"
ca_type: private
cluster_name: cluster-rke2
iso_to_test: https://download.opensuse.org/repositories/isv:/Rancher:/Elemental:/Stable:/Teal53/media/iso/elemental-teal.x86_64.iso
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/cli-rke2-os-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "Manual - CLI - Parallel - OS Upgrade test with Standard RKE2"
ca_type: private
cluster_name: cluster-rke2
destroy_runner: ${{ inputs.destroy_runner }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "CI/Manual - CLI - Sequential - Deployment test with Standard RKE2"
cluster_name: cluster-rke2
k8s_version_to_provision: v1.24.8+rke2r1
rancher_channel: latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "CI/Manual - CLI - Sequential - Deployment test with Standard RKE2"
cluster_name: cluster-rke2
k8s_version_to_provision: v1.24.8+rke2r1
rancher_channel: stable
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e-k3s-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "CI - E2E CLI - Parallel - Deployment test with Standard K3s"
cluster_name: cluster-k3s
k8s_version_to_provision: v1.24.11+k3s1
rancher_channel: latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e-k3s-obs-Dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "Manual - E2E CLI - Parallel - Deployment test with Standard K3s"
cluster_name: cluster-k3s
cluster_type: ${{ inputs.cluster_type }}
destroy_runner: ${{ inputs.destroy_runner }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e-k3s-obs-Stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "Manual - E2E CLI - Parallel - Deployment test with Standard K3s"
cluster_name: cluster-k3s
cluster_type: ${{ inputs.cluster_type }}
destroy_runner: ${{ inputs.destroy_runner }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e-k3s-obs-Staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "Manual - E2E CLI - Parallel - Deployment test with Standard K3s"
cluster_name: cluster-k3s
cluster_type: ${{ inputs.cluster_type }}
destroy_runner: ${{ inputs.destroy_runner }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e-k3s-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "CI - E2E CLI - Parallel - Deployment test with Standard K3s"
cluster_name: cluster-k3s
k8s_version_to_provision: v1.24.8+k3s1
start_condition: ${{ github.event.workflow_run.conclusion }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e-rke2-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "CI - E2E CLI - Parallel - Deployment test with Standard RKE2"
ca_type: private
cluster_name: cluster-rke2
k8s_version_to_provision: v1.24.8+rke2r1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e-rke2-obs-Dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "Manual - E2E CLI - Parallel - Deployment test with Standard RKE2"
ca_type: private
cluster_name: cluster-rke2
destroy_runner: ${{ inputs.destroy_runner }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e-rke2-obs-Stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "Manual - E2E CLI - Parallel - Deployment test with Standard RKE2"
ca_type: private
cluster_name: cluster-rke2
destroy_runner: ${{ inputs.destroy_runner }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e-rke2-obs-Staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "Manual - E2E CLI - Parallel - Deployment test with Standard RKE2"
ca_type: private
cluster_name: cluster-rke2
destroy_runner: ${{ inputs.destroy_runner }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e-rke2-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "CI - E2E CLI - Parallel - Deployment test with Standard RKE2"
ca_type: private
cluster_name: cluster-rke2
k8s_version_to_provision: v1.24.8+rke2r1
Expand Down
26 changes: 24 additions & 2 deletions .github/workflows/master-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ on:
description: Start condition of the runner
default: success
type: string
test_description:
description: Short description of the test
type: string
test_type:
description: Type of test to run (cli or ui)
default: cli
Expand Down Expand Up @@ -456,18 +459,37 @@ jobs:
- name: Add summary
if: always()
run: |
# Define some variable(s)
BOOTSTRAP_METHOD="Parallel"
if ${{ inputs.sequential == 'true' }}; then
BOOTSTRAP_METHOD="Sequential"
fi
ISO_USED=$(ls build/elemental-*.iso 2>/dev/null)
if ${{ inputs.iso_to_test != '' }}; then
ISO_USED=${{ inputs.iso_to_test }}
fi

# Add summary
echo "## General informations" >> ${GITHUB_STEP_SUMMARY}
echo -e "***${{ inputs.test_description }}***\n" >> ${GITHUB_STEP_SUMMARY}
if ${{ inputs.test_type == 'cli' }}; then
echo "Number of nodes in the cluster: ${{ inputs.node_number }}" >> ${GITHUB_STEP_SUMMARY}
fi
echo "Type of certificate for Rancher Manager: ${{ inputs.ca_type }}" >> ${GITHUB_STEP_SUMMARY}
echo "Type of certificate for Rancher Manager: ${{ inputs.ca_type }}" >> ${GITHUB_STEP_SUMMARY}
echo "Type of cluster deployed: ${CLUSTER_TYPE:-normal}" >> ${GITHUB_STEP_SUMMARY}
echo "Bootstrap method: ${BOOTSTRAP_METHOD}" >> ${GITHUB_STEP_SUMMARY}
echo "## Versions used" >> ${GITHUB_STEP_SUMMARY}
echo "Rancher Manager Channel: ${{ env.RANCHER_CHANNEL }}/${{ env.RANCHER_VERSION }}" >> ${GITHUB_STEP_SUMMARY}
echo "Rancher Manager Version: ${{ steps.component.outputs.rm_version }}" >> ${GITHUB_STEP_SUMMARY}
echo "Elemental ISO used: ${ISO_USED}" >> ${GITHUB_STEP_SUMMARY}
echo "Elemental Operator Upgrade: ${{ env.UPGRADE_OPERATOR || 'N/A' }}" >> ${GITHUB_STEP_SUMMARY}
echo "Elemental Operator Version: ${{ steps.component.outputs.operator_version }}" >> ${GITHUB_STEP_SUMMARY}
echo "Elemental UI Extension Version (if applicable): ${{ inputs.elemental_ui_version }}" >> ${GITHUB_STEP_SUMMARY}
if ${{ inputs.elemental_ui_version != '' }}; then
echo "Elemental UI Extension Version: ${{ inputs.elemental_ui_version }}" >> ${GITHUB_STEP_SUMMARY}
fi
if ${{ inputs.ui_account != '' }}; then
echo "Elemental UI User: ${{ inputs.ui_account }}" >> ${GITHUB_STEP_SUMMARY}
fi
echo "K3s on Rancher Manager: ${{ env.INSTALL_K3S_VERSION }}" >> ${GITHUB_STEP_SUMMARY}
echo "K3s/RKE2 version deployed on the cluster: ${{ inputs.k8s_version_to_provision }}" >> ${GITHUB_STEP_SUMMARY}
# Upgrade details
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ui-e2e-k3s-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "CI/Manual - E2E UI - Deployment test with Standard K3s"
cluster_name: cluster-k3s
cypress_tags: main
destroy_runner: ${{ inputs.destroy_runner || true }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ui-e2e-k3s-obs-Dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "Manual - Fully customizable - UI - IBS/OBS Deployment test with Standard K3s"
cluster_name: cluster-k3s
cypress_tags: main
destroy_runner: ${{ inputs.destroy_runner }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ui-e2e-k3s-obs-Stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "Manual - Fully customizable - UI - IBS/OBS Deployment test with Standard K3s"
cluster_name: cluster-k3s
cypress_tags: main
destroy_runner: ${{ inputs.destroy_runner }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ui-e2e-k3s-obs-Staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "Manual - Fully customizable - UI - IBS/OBS Deployment test with Standard K3s"
cluster_name: cluster-k3s
cypress_tags: main
destroy_runner: ${{ inputs.destroy_runner }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ui-e2e-k3s-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "CI/Manual - E2E UI - Deployment test with Standard K3s"
cluster_name: cluster-k3s
cypress_tags: main
destroy_runner: ${{ inputs.destroy_runner || true }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ui-e2e-rke2-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "CI/Manual - E2E UI - Deployment test with Standard RKE2"
ui_account: user
ca_type: private
cluster_name: cluster-rke2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ui-e2e-rke2-obs-Dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "Manual - Fully customizable - UI - IBS/OBS Deployment test with Standard RKE2"
ui_account: user
ca_type: private
cluster_name: cluster-rke2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ui-e2e-rke2-obs-Stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "Manual - Fully customizable - UI - IBS/OBS Deployment test with Standard RKE2"
ui_account: user
ca_type: private
cluster_name: cluster-rke2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ui-e2e-rke2-obs-Staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
test_description: "Manual - Fully customizable - UI - IBS/OBS Deployment test with Standard RKE2"
ui_account: user
ca_type: private
cluster_name: cluster-rke2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ui-e2e-rke2-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
# https://github.com/rancher/elemental-ui/issues/64
# Fixed in elemental-ui 1.1.0
#ui_account: user
test_description: "CI/Manual - E2E UI - Deployment test with Standard RKE2"
ca_type: private
cluster_name: cluster-rke2
cypress_tags: main
Expand Down
26 changes: 0 additions & 26 deletions tests/assets/osVersions.json

This file was deleted.