Skip to content

Commit d86c66f

Browse files
authored
ci: use pre-built wheels in serverless benchmarks (#15164)
## Description Have serverless benchmarks depend on publishing to S3, and also make sure the index file we publish is valid html5 otherwise some versions of pip will show a warning message. ## Testing <!-- Describe your testing strategy or note what tests are included --> ## Risks <!-- Note any risks associated with this change, or "None" if no risks --> ## Additional Notes <!-- Any other information that would be helpful for reviewers -->
1 parent b7a2d2a commit d86c66f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitlab/benchmarks/serverless.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ benchmark-serverless:
66
trigger:
77
project: DataDog/serverless-tools
88
strategy: depend
9-
needs: []
9+
needs:
10+
- job: publish-wheels-to-s3
1011
rules:
1112
- if: $RELEASE_ALLOW_BENCHMARK_FAILURES == "true"
1213
allow_failure: true

.gitlab/package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ publish-wheels-to-s3:
130130
generate_index_html() {
131131
local outfile="$1"
132132
{
133-
echo "<html><body>"
133+
echo "<!DOCTYPE html><html lang=\"en\"><body>"
134134
for w in "${WHEELS[@]}"; do
135135
fname="$(basename "$w")"
136136
enc_fname="${fname//+/%2B}"

0 commit comments

Comments
 (0)