-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Pawel Stankiewicz <[email protected]>
- Loading branch information
Showing
2 changed files
with
48 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Test Eclipse Updates Site with External DNS Check | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
schedule: | ||
- cron: "0 6 * * *" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test-download: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Install Required Tools | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y curl | ||
- name: Check DNS Using Google DNS API | ||
run: | | ||
echo "Checking DNS resolution using Google DNS API..." | ||
curl -s "https://dns.google/resolve?name=download.eclipse.org" | jq | ||
- name: Check DNS Using Cloudflare DNS API | ||
run: | | ||
echo "Checking DNS resolution using Cloudflare DNS API..." | ||
curl -s "https://cloudflare-dns.com/dns-query?name=download.eclipse.org&type=A" -H "accept: application/dns-json" | jq | ||
- name: Perform HTTP GET Request with Timing | ||
run: | | ||
echo "####################### Test 1 ##########################" | ||
curl -v -o /dev/null -s -w "DNS Lookup: %{time_namelookup}s\nConnect: %{time_connect}s\nStart Transfer: %{time_starttransfer}s\nTotal Time: %{time_total}s\n" https://download.eclipse.org/eclipse/updates/4.35-I-builds | ||
echo | ||
echo "####################### Test 2 ##########################" | ||
curl -v -o /dev/null -s -w "DNS Lookup: %{time_namelookup}s\nConnect: %{time_connect}s\nStart Transfer: %{time_starttransfer}s\nTotal Time: %{time_total}s\n" https://download.eclipse.org/eclipse/updates/4.35-I-builds/ | ||
echo | ||
echo "####################### Test 3 ##########################" | ||
curl -v -o /dev/null -s -w "DNS Lookup: %{time_namelookup}s\nConnect: %{time_connect}s\nStart Transfer: %{time_starttransfer}s\nTotal Time: %{time_total}s\n" https://download.eclipse.org/eclipse/updates/4.35-I-builds/I20250120-1800/plugins/org.eclipse.jface.text_3.27.0.v20250120-1631.jar | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
# misc-checks | ||
Miscellanies checks | ||
# Variuos checks for EF services | ||
|
||
|
||
1. Check https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/5511#note_2957043 | ||
|