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

Add LibreSSL 3.9.1 builder #79

Merged
merged 1 commit into from
Apr 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
31 changes: 31 additions & 0 deletions .github/workflows/linux-builder-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,35 @@ jobs:
topic: ${{ github.repository }} scheduled job failure
content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed.

x86-64-unknown-linux-builder-with-libressl_3_9_1:
needs:
- x86-64-unknown-linux-builder

name: Update x86-64-unknown-linux-builder-with-libressl-3.9.1
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Login to GitHub Container Registry
# v2.2.0
uses: docker/login-action@5139682d94efc37792e6b54386b5b470a68a4737
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
run: bash x86-64-unknown-linux-builder-with-libressl-3.9.1/build-and-push.bash
- name: Send alert on failure
if: ${{ failure() }}
uses: zulip/github-actions-zulip/send-message@08b6fbd07f5834e5b930a85bc7740e9fd44ab2e7
with:
api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }}
email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }}
organization-url: 'https://ponylang.zulipchat.com/'
to: notifications
type: stream
topic: ${{ github.repository }} scheduled job failure
content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed.

x86-64-unknown-linux-builder-with-openssl_1_1_1t:
needs:
- x86-64-unknown-linux-builder
Expand Down Expand Up @@ -299,6 +328,7 @@ jobs:
- x86-64-unknown-linux-builder
- x86-64-unknown-linux-builder-with-libressl_3_7_2
- x86-64-unknown-linux-builder-with-libressl_3_7_3
- x86-64-unknown-linux-builder-with-libressl_3_9_1
- x86-64-unknown-linux-builder-with-openssl_1_1_1t
- x86-64-unknown-linux-builder-with-openssl_1_1_1w
- x86-64-unknown-linux-builder-with-openssl_3_1_0
Expand Down Expand Up @@ -374,6 +404,7 @@ jobs:
- shared-docker-ci-x86-64-unknown-linux-builder
- shared-docker-ci-x86-64-unknown-linux-builder-with-libressl-3.7.2
- shared-docker-ci-x86-64-unknown-linux-builder-with-libressl-3.7.3
- shared-docker-ci-x86-64-unknown-linux-builder-with-libressl-3.9.1
- shared-docker-ci-x86-64-unknown-linux-builder-with-openssl_1.1.1t
- shared-docker-ci-x86-64-unknown-linux-builder-with-openssl_1.1.1w
- shared-docker-ci-x86-64-unknown-linux-builder-with-openssl_3.1.0
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ jobs:
- name: Docker build
run: "docker build --pull --file=x86-64-unknown-linux-builder-with-libressl-3.7.3/Dockerfile ."

validate-x86-64-unknown-linux-builder-with-libressl-3_9_1-image-builds:
name: Validate x86-64-unknown-linux-builder-with-libressl-3.9.1 Docker image builds
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Docker build
run: "docker build --pull --file=x86-64-unknown-linux-builder-with-libressl-3.9.1/Dockerfile ."

validate-x86-64-unknown-linux-builder-with-openssl_1_1_1t-image-builds:
name: Validate x86-64-unknown-linux-builder-with-openssl_1.1.1t Docker image builds
runs-on: ubuntu-latest
Expand Down
11 changes: 11 additions & 0 deletions x86-64-unknown-linux-builder-with-libressl-3.9.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ARG FROM_TAG=release
FROM ghcr.io/ponylang/shared-docker-ci-x86-64-unknown-linux-builder:${FROM_TAG}

RUN cd /tmp && \
wget https://cdn.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.7.3.tar.gz && \
tar xf libressl-3.7.3.tar.gz && \
cd libressl-3.7.3/ && \
./configure && \
make install && \
cd /tmp && \
rm -rf libressl*
3 changes: 3 additions & 0 deletions x86-64-unknown-linux-builder-with-libressl-3.9.1/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# x86-64-unknown-linux-builder-with-libressl-3.9.1

The x86-64-unknown-linux-builder with libressl 3.9.1 SSL implementation installed as well. Rebuilt daily.
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/bin/bash

set -o errexit
set -o nounset

#
# *** You should already be logged in to GitHub Container Registry when you run
# this ***
#

DOCKERFILE_DIR="$(dirname "$0")"

## GitHub Container Registry

NAME="ghcr.io/ponylang/shared-docker-ci-x86-64-unknown-linux-builder-with-libressl-3.7.3"

# built from x86-64-unknown-linux-builder release tag
FROM_TAG=release
TAG_AS=release
docker build --pull --build-arg FROM_TAG="${FROM_TAG}" \
-t "${NAME}:${TAG_AS}" "${DOCKERFILE_DIR}"
docker push "${NAME}:${TAG_AS}"

# built from x86-64-unknown-linux-builder latest tag
FROM_TAG=latest
TAG_AS=latest
docker build --pull --build-arg FROM_TAG="${FROM_TAG}" \
-t "${NAME}:${TAG_AS}" "${DOCKERFILE_DIR}"
docker push "${NAME}:${TAG_AS}"
Loading