Skip to content

Commit

Permalink
Merge pull request #261 from nickva/update-ci-images
Browse files Browse the repository at this point in the history
Update Erlang CI images
  • Loading branch information
etrepum authored Sep 22, 2023
2 parents 897f22f + 293b95d commit 4e5372e
Show file tree
Hide file tree
Showing 6 changed files with 101 additions and 47 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ jobs:
os:
- ubuntu-latest
otp:
- "25.3.0.0"
- "24.3.4.10"
- "26.0.2.0"
- "25.3.2.3"
- "24.3.4.13"
- "23.3.4.18"
- "22.3.4.26"
- "21.3.8.24"
Expand Down
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Version 3.2.2 released XXXX-XX-XX

* Update Erlang CI images
https://github.com/mochi/mochiweb/pull/261

Version 3.2.1 released 2023-09-22

* mochinum:digits/1: fix handling of -0.0 for OTP-26.1/27.0
Expand Down
12 changes: 12 additions & 0 deletions support/test-materials/create-certs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
set -e
cd "$(dirname "${BASH_SOURCE[0]}")"
# Create a new self-signed cert and key expiring in 10 years
openssl req \
-newkey rsa:4096 \
-x509 \
-nodes \
-days 3650 \
-subj '/C=US/CN=localhost' \
-keyout ./test_ssl_key.pem \
-out ./test_ssl_cert.pem
45 changes: 28 additions & 17 deletions support/test-materials/test_ssl_cert.pem
Original file line number Diff line number Diff line change
@@ -1,19 +1,30 @@
-----BEGIN CERTIFICATE-----
MIIDIDCCAgigAwIBAgIJAJLkNZzERPIUMA0GCSqGSIb3DQEBBQUAMBQxEjAQBgNV
BAMTCWxvY2FsaG9zdDAeFw0xMDAzMTgxOTM5MThaFw0yMDAzMTUxOTM5MThaMBQx
EjAQBgNVBAMTCWxvY2FsaG9zdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
ggEBAJeUCOZxbmtngF4S5lXckjSD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e7PC4xtlwv1M+CzOx0HoNpxxtKIYWLnBSWDzeMup
SUxgU/7Soh9zMSXu0zbcdI5rINKcsSQwrBfa2mUOw7VC512uYXv5eeqO4b7es6V4
DfxBUyo1yyVu8pOuUm7Rrg7foJcNl21FWMb1fX8JYaN4MJ7z31EDR9CrjvwPevBd
kYIUEy0vMKiNqo3ELL/yb2C60t2OuGYVPaC0XdZ9XmrDD8MKFGcwKoalzlSfNhQf
K2tvaJBgJlCywcuro/pwjDdHqBCK2lLT0q1vI3dbSSdR0Okb1DqGNyvokrTbFbfu
4HnhsaFHCUUlJUexWH7il/+QlB+7Anyx3GgbZFkaWkTt7p/P5N0hMNQ8edVITLel
oLiNQqKydf7ox6L+OueL+LLH0/pOcrqInn3iv5sQduIr/7LcidnWzsjFq5mAEeiZ
xl2BQDBYD3od+LoLemTB6I4mGg85JuWqXv6UFf9FTGKk43LwMpQKjINVR/lpC4G9
F7Iu4FUBycIq4t++EtHV1xBOg8eDrv0=
-----END CERTIFICATE-----
79 changes: 52 additions & 27 deletions support/test-materials/test_ssl_key.pem
Original file line number Diff line number Diff line change
@@ -1,27 +1,52 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEAl5QI5nFua2eAXhLmVdySNIMtz7wL5eMwFgE/LLl4p0ljbQBD
Wz3+GGne6UjykC+X7FWjjBD6IFK87NzLbjxD5eLr7ONx4XtQ1GChg+C0mMqF3Bwd
Xea8UWtL9+n2CCgAKFolBYM7U4J9SBNZciaGTD69wNHXU5UwAn+Hvd2rMk8j2Z+r
jg9NMd9i2Cu/gsBAA6WFcgBrYH5ro+UXqyoOolpbmMtNwRGOwHCdGFQaLsl69DOR
6O6Nf+90D42NEGMof8otTmHdDvBRyG8h7PQ9dZVMKdmOkD1pHibthXTmcpB/G0Z3
vVzNgNiT6PyF3TTmN61PiKvsmQBZVqUHJslWSwIDAQABAoIBACI8Ky5xHDFh9RpK
Rn/KC7OUlTpADKflgizWJ0Cgu2F9L9mkn5HyFH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Bc/CTIWnLF8HSjv1dOVy86u1xWiV02reWlJJyQWPyZr73H2i/SL4
M3jTadyPtVN5TkntncL+e7SNECPAGFqbSR09Clo9knQKaG7+ZErWui5y/126hA4g
sQ7D9iHtfpktSwQcSfQ5hms9hJzL4A==
-----END PRIVATE KEY-----
2 changes: 1 addition & 1 deletion test/mochiweb_test_util.erl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ with_server(Transport, ServerFun, ClientFun) ->
Res.

ssl_client_opts(Opts) ->
[{server_name_indication, disable} | Opts].
[{server_name_indication, disable}, {verify, verify_none} | Opts].

sock_fun(Transport, Port) ->
Opts = [binary, {active, false}, {packet, http}],
Expand Down

0 comments on commit 4e5372e

Please sign in to comment.