From 6a190e3d87050c917a6d77dfcdf3ee0a34016541 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Fri, 1 Nov 2024 11:21:28 -0400 Subject: [PATCH] [CI] htmltest config: sort files before processing (#5509) --- .htmltest.yml | 2 +- scripts/htmltest-config.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.htmltest.yml b/.htmltest.yml index 0d3a9386b8e2..bd55c60045d9 100644 --- a/.htmltest.yml +++ b/.htmltest.yml @@ -8,11 +8,11 @@ CheckMailto: false TestFilesConcurrently: true IgnoreDirs: # DO NOT EDIT! IgnoreDirs list is auto-generated from markdown file front matter. + - ^blog/(\d+/)?page/\d+ # TODO drop next line after https://github.com/open-telemetry/opentelemetry.io/issues/5423 is fixed for ja pages: - ^ja/docs/concepts/instrumentation/libraries/ # TODO drop next line after https://github.com/open-telemetry/opentelemetry.io/issues/5423 is fixed for pt pages: - ^pt/docs/concepts/instrumentation/libraries/ - - ^blog/(\d+/)?page/\d+ # DO NOT EDIT! IgnoreDirs list is auto-generated from markdown file front matter. IgnoreInternalURLs: # list of paths IgnoreURLs: # list of regexs of paths or URLs to be ignored diff --git a/scripts/htmltest-config.pl b/scripts/htmltest-config.pl index ebbf0d61a911..8e187b084079 100755 --- a/scripts/htmltest-config.pl +++ b/scripts/htmltest-config.pl @@ -15,7 +15,7 @@ sub main { sub collect_htmltest_config_from_front_matter { my ($ignore_dirs_ref, @files) = @_; - foreach my $file_path (@files) { + foreach my $file_path (sort @files) { my @htmltest_config = extract_htmltest_config($file_path); next unless @htmltest_config; push @$ignore_dirs_ref, @htmltest_config;