File tree 3 files changed +25
-0
lines changed
3 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -100,11 +100,19 @@ jobs:
100
100
git add docs/*
101
101
git commit -m "Add validation report for ${DATE_STR}-${TIME_STR}" -s
102
102
git push
103
+ echo "date=${DATE_STR}" >> $GITHUB_OUTPUT
103
104
env :
104
105
GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
105
106
TOTAL_RUNTIME_SECONDS : 1200
106
107
VALIDATOTR_CURVE_TYPE : " default"
107
108
109
+ - name : upload to artifacts
110
+ uses : actions/upload-artifact@v4
111
+ with :
112
+ name : equinix_metal
113
+ path : docs/validation/${{ steps.run_workload.run_playbook.date }}
114
+ retention-days : 30
115
+
108
116
- name : Update model validation chart
109
117
run : |
110
118
export DATE_STR=$(date +%Y-%m-%d)
Original file line number Diff line number Diff line change 35
35
uses : actions/checkout@v4
36
36
37
37
- name : Run playbook
38
+ id : run_playbook
38
39
run : |
39
40
cd ${GITHUB_WORKSPACE}/ansible
40
41
echo "Create VM"
@@ -91,11 +92,19 @@ jobs:
91
92
git add docs/*
92
93
git commit -m "Add model server validation report for ${DATE_STR}-${TIME_STR}" -s
93
94
git push
95
+ echo "date=${DATE_STR}" >> $GITHUB_OUTPUT
94
96
env :
95
97
GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
96
98
TOTAL_RUNTIME_SECONDS : 1200
97
99
VALIDATOTR_CURVE_TYPE : " default"
98
100
101
+ - name : upload to artifacts
102
+ uses : actions/upload-artifact@v4
103
+ with :
104
+ name : equinix_metal_model_server
105
+ path : docs/validation/${{ steps.run_workload.run_playbook.date }}
106
+ retention-days : 30
107
+
99
108
Cleanup :
100
109
name : " Cleanup"
101
110
needs : [Install]
Original file line number Diff line number Diff line change 85
85
git add docs/*
86
86
git commit -m "Add validation report for ${DATE_STR}" -s
87
87
git push
88
+ echo "date=${DATE_STR}" >> $GITHUB_OUTPUT
88
89
env :
89
90
GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
90
91
92
+ - name : upload to artifacts
93
+ uses : actions/upload-artifact@v4
94
+ with :
95
+ name : validator_compose
96
+ path : docs/validation/${{ steps.run_workload.run_playbook.date }}
97
+ retention-days : 30
98
+
91
99
- name : Update model validation chart
92
100
run : |
93
101
export DATE_STR=$(date +%Y-%m-%d)
You can’t perform that action at this time.
0 commit comments