Skip to content

Commit

Permalink
ci/e2e: add exact Rancher Manager version in summary
Browse files Browse the repository at this point in the history
Signed-off-by: Loic Devulder <ldevulder@suse.com>
  • Loading branch information
ldevulder committed Dec 1, 2022
1 parent 50d83fd commit dc37dc2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/master-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -304,13 +304,20 @@ jobs:
run: sudo virsh list
- name: Add summary
run: |
# Extract Rancher Manager version
RM_VERSION=$(kubectl get pod \
--namespace cattle-system \
-l app=rancher \
-o jsonpath={.items[*].status.containerStatuses[*].image})
# Add summary
echo "## General informations" >> $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 "## Versions used" >> $GITHUB_STEP_SUMMARY
echo "Rancher Manager: ${{ env.RANCHER_CHANNEL }}/${{ env.RANCHER_VERSION }}" >> $GITHUB_STEP_SUMMARY
echo "Rancher Manager Channel: ${{ env.RANCHER_CHANNEL }}/${{ env.RANCHER_VERSION }}" >> $GITHUB_STEP_SUMMARY
echo "Rancher Manager Version: ${RM_VERSION}" >> $GITHUB_STEP_SUMMARY
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
- name: Remove VMs and K3s/RancherManager from worker ♻
Expand Down

0 comments on commit dc37dc2

Please sign in to comment.