Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from erlang:master #219

Merged
merged 22 commits into from
Feb 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
421479c
inets: fix httpd startup sequence + net_adm default
u3s Feb 10, 2025
c066990
erts: Try fix race in erlang:halt
sverker Jul 3, 2024
12c312f
Merge 'sverker/26/erts/halt-race-fix/OTP-19490'
sverker Feb 13, 2025
4ae7b8b
gh: Update docker builds to use inline cache
garazdawi Feb 11, 2025
074aa02
Merge branch 'kuba/inets/start_httpd_manager_first/OTP-19486/ERIERL-1…
u3s Feb 17, 2025
d614f0f
Merge branch 'maint'
u3s Feb 17, 2025
03b44f5
Merge branch 'ingela/ssl/sni-fun-error-handling/OTP-19467' into maint-27
Feb 17, 2025
cfe280c
Merge branch 'ingela/ssl/maint-27/socket-inherit/OTP-19457' into main…
Feb 17, 2025
a8aaeee
Merge branch 'kuba/inets/start_httpd_manager_first/OTP-19486/ERIERL-1…
Feb 17, 2025
d27eb3a
Update copyright year
Feb 17, 2025
495911b
Prepare release
Feb 17, 2025
b6ab3a3
Updated OTP version
Feb 17, 2025
9c7e687
Merge 'sverker/27/erts/halt-race-fix/OTP-19490' into maint
sverker Feb 17, 2025
0cb5cc7
Merge branch 'maint'
sverker Feb 17, 2025
65c3274
gh: Migrate PR test logs and docs to erlang.org
garazdawi Feb 17, 2025
c08aca8
Merge pull request #9449 from garazdawi/lukas/gh/migrate-pr-results-t…
garazdawi Feb 17, 2025
067b3c6
gh: Fix link to new test results
garazdawi Feb 17, 2025
31bee63
Merge branch 'lukas/gh/migrate-pr-results-to-erlang.org'
garazdawi Feb 17, 2025
d98f940
Merge branch 'lukas/gh/debug-docker-build-cache' into maint
garazdawi Feb 17, 2025
6ec58d5
Merge branch 'maint'
garazdawi Feb 17, 2025
aafdabf
Merge branch 'maint-27' into maint
Feb 17, 2025
34f92c2
Merge branch 'maint' into master
Feb 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/scripts/build-base-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,19 +67,21 @@ else
if [ "${BASE_USE_CACHE}" != "false" ]; then
if docker pull "${BASE_TAG}:${BASE_BRANCH}"; then
docker tag "${BASE_TAG}:${BASE_BRANCH}" "${BASE_TAG}:latest"
BASE_CACHE="--cache-from ${BASE_TAG}"
fi
BASE_CACHE="--cache-from type=registry,ref=${BASE_TAG}:${BASE_BRANCH}"
fi

BASE_IMAGE_ID=$(docker images -q "${BASE_TAG}:latest")

docker build --pull --tag "${BASE_TAG}:latest" \
DOCKER_BUILDKIT=1 docker build --pull --tag "${BASE_TAG}:latest" \
${BASE_CACHE} \
--file ".github/dockerfiles/Dockerfile.${BASE_TYPE}" \
--build-arg MAKEFLAGS=-j$(($(nproc) + 2)) \
--build-arg MAKEFLAGS=-j6 \
--build-arg USER=otptest --build-arg GROUP=uucp \
--build-arg uid="$(id -u)" \
--build-arg BASE="${BASE}" .github/
--build-arg BASE="${BASE}" \
--build-arg BUILDKIT_INLINE_CACHE=1 \
.github/

NEW_BASE_IMAGE_ID=$(docker images -q "${BASE_TAG}:latest")
if [ "${BASE_IMAGE_ID}" = "${NEW_BASE_IMAGE_ID}" ]; then
Expand Down
4 changes: 2 additions & 2 deletions .github/scripts/pr-comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ To speed up review, make sure that you have read [Contributing to Erlang/OTP](${
See the [TESTING](${repoURL}/blob/master/HOWTO/TESTING.md) and [DEVELOPMENT](${repoURL}/blob/master/HOWTO/DEVELOPMENT.md) HowTo guides for details about how to run test locally.

## Artifacts
* ` + (ct_logs ? `[Complete CT logs](https://erlang.github.io/prs/${pr_number}/ct_logs/index.html) ([Download Logs](${nightlyURL(ct_logs)}))` : "No CT logs found") + `
* ` + (html_docs ? `[HTML Documentation](https://erlang.github.io/prs/${pr_number}/doc/index.html) ([Download HTML Docs](${nightlyURL(html_docs)}))` : "No HTML docs found") + `
* ` + (ct_logs ? `[Complete CT logs](https://erlang.org/github-pr/${pr_number}/ct_logs/index.html) ([Download Logs](${nightlyURL(ct_logs)}))` : "No CT logs found") + `
* ` + (html_docs ? `[HTML Documentation](https://erlang.org/github-pr/${pr_number}/doc/index.html) ([Download HTML Docs](${nightlyURL(html_docs)}))` : "No HTML docs found") + `
* ` + (win_exe ? `[Windows Installer](${nightlyURL(win_exe)})` : "No Windows Installer found") + `

// Erlang/OTP Github Action Bot
Expand Down
252 changes: 0 additions & 252 deletions .github/scripts/sync-github-prs.es

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/pr-comment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,6 @@ jobs:
echo "HAS_TEST_ARTIFACTS=false" >> $GITHUB_OUTPUT
fi

- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # ratchet:actions/[email protected]
with:
token: ${{ secrets.ERLANG_TOKEN }}
repository: 'erlang/erlang.github.io'
path: erlang.github.io

- name: Publish CT Test Results
uses: EnricoMi/publish-unit-test-result-action@170bf24d20d201b842d7a52403b73ed297e6645b # ratchet:EnricoMi/[email protected]
if: steps.extract.outputs.HAS_TEST_ARTIFACTS == 'true'
Expand All @@ -125,31 +119,6 @@ jobs:
check_name: "CT Test Results"
files: "artifacts/**/*.xml"

- name: Upload PR to github pages
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: |
git clone https://github.com/talentdeficit/jsx
(cd jsx && rebar3 compile)
mkdir -p "${GITHUB_WORKSPACE}/erlang.github.io/prs/"
.github/scripts/sync-github-prs.es erlang/otp \
"${GITHUB_WORKSPACE}/erlang.github.io/prs/" \
"${{ needs.pr-number.outputs.result }}"

- name: Deploy to github pages 🚀
run: |
cd erlang.github.io
set -x
git config user.name github-actions
git config user.email [email protected]
git add .
git add -u
git update-index --refresh
if ! git diff-index --quiet HEAD --; then
git commit -m "Update github pages content"
git push origin master
fi

## Append some useful links and tips to the test results posted by
## Publish CT Test Results
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # ratchet:actions/[email protected]
Expand Down
Loading
Loading