Re: [PATCH] CI: special purpose build, testing compatibility against "no-deprecated" openssl

2020-04-21 Thread Илья Шипицин
nice, I finished all CI stuff :)

I'll focus in copr / rpm next

вт, 21 апр. 2020 г. в 13:29, William Lallemand :

> On Mon, Apr 20, 2020 at 07:12:41PM +0500, Илья Шипицин wrote:
> > Lukas, Willy ?
> >
> > чт, 16 апр. 2020 г. в 23:16, Илья Шипицин :
> >
> > > Hello,
> > >
> > > I added weekly build for detection incompatibilities against
> > > "no-deprecated" openssl.
> > >
> > > (well, I first thought to add those option to travis, but it became
> > > over-engineered from my point of view)
> > >
> > > Lukas, if you have suggestions how to add to travis, I can try.
> > >
> > > Cheers,
> > > Ilya Shipitsin
> > >
>
> Thanks Ilya, I merged it.
>
> --
> William Lallemand
>


Re: [PATCH] CI: special purpose build, testing compatibility against "no-deprecated" openssl

2020-04-21 Thread William Lallemand
On Mon, Apr 20, 2020 at 07:12:41PM +0500, Илья Шипицин wrote:
> Lukas, Willy ?
> 
> чт, 16 апр. 2020 г. в 23:16, Илья Шипицин :
> 
> > Hello,
> >
> > I added weekly build for detection incompatibilities against
> > "no-deprecated" openssl.
> >
> > (well, I first thought to add those option to travis, but it became
> > over-engineered from my point of view)
> >
> > Lukas, if you have suggestions how to add to travis, I can try.
> >
> > Cheers,
> > Ilya Shipitsin
> >

Thanks Ilya, I merged it.

-- 
William Lallemand



Re: [PATCH] CI: special purpose build, testing compatibility against "no-deprecated" openssl

2020-04-20 Thread Lukas Tribus
Hello Ilya ,


On Mon, 20 Apr 2020 at 16:12, Илья Шипицин  wrote:
>> I added weekly build for detection incompatibilities against "no-deprecated" 
>> openssl.
>>
>> (well, I first thought to add those option to travis, but it became 
>> over-engineered from my point of view)
>>
>> Lukas, if you have suggestions how to add to travis, I can try.

I agree that it would be nice to have testing around the no-deprecated
openssl option, it's just that I don't know anything about
travis/github actions *at all*.

I did see the make options in this patch and I don't see anything wrong with it.

So from my point of view, you can proceed how you see fit.


Thanks,
Lukas



Re: [PATCH] CI: special purpose build, testing compatibility against "no-deprecated" openssl

2020-04-20 Thread Илья Шипицин
Lukas, Willy ?

чт, 16 апр. 2020 г. в 23:16, Илья Шипицин :

> Hello,
>
> I added weekly build for detection incompatibilities against
> "no-deprecated" openssl.
>
> (well, I first thought to add those option to travis, but it became
> over-engineered from my point of view)
>
> Lukas, if you have suggestions how to add to travis, I can try.
>
> Cheers,
> Ilya Shipitsin
>


[PATCH] CI: special purpose build, testing compatibility against "no-deprecated" openssl

2020-04-16 Thread Илья Шипицин
Hello,

I added weekly build for detection incompatibilities against
"no-deprecated" openssl.

(well, I first thought to add those option to travis, but it became
over-engineered from my point of view)

Lukas, if you have suggestions how to add to travis, I can try.

Cheers,
Ilya Shipitsin
From ccb2e27d4566581196a139ccacdaecac097be2c1 Mon Sep 17 00:00:00 2001
From: Ilya Shipitsin 
Date: Thu, 16 Apr 2020 23:10:45 +0500
Subject: [PATCH] CI: run weekly OpenSSL "no-deprecated" builds

OpenWRT uses such OpenSSL builds (those builds are smaller)

some details might be found at ML: https://www.mail-archive.com/haproxy@formilux.org/msg35759.html
   GH: https://github.com/haproxy/haproxy/issues/367
---
 .github/workflows/openssl-nodeprecated.yml | 33 ++
 1 file changed, 33 insertions(+)
 create mode 100644 .github/workflows/openssl-nodeprecated.yml

diff --git a/.github/workflows/openssl-nodeprecated.yml b/.github/workflows/openssl-nodeprecated.yml
new file mode 100644
index 0..758ccbcc9
--- /dev/null
+++ b/.github/workflows/openssl-nodeprecated.yml
@@ -0,0 +1,33 @@
+#
+# special purpose CI: test against OpenSSL built in "no-deprecated" mode
+# let us run those builds weekly
+#
+# for example, OpenWRT uses such OpenSSL builds (those builds are smaller)
+#
+#
+# some details might be found at NL: https://www.mail-archive.com/haproxy@formilux.org/msg35759.html
+#GH: https://github.com/haproxy/haproxy/issues/367
+
+name: openssl no-deprecated
+
+on:
+  schedule:
+- cron: "0 0 * * 4"
+
+jobs:
+  test:
+
+runs-on: ubuntu-latest
+
+steps:
+- uses: actions/checkout@v1
+- name: prepare VTest
+  run: |
+git clone https://github.com/VTest/VTest.git ../vtest
+make -C ../vtest FLAGS="-O2 -s -Wall"
+- name: build haproxy
+  run: |
+make DEFINE="-DOPENSSL_API_COMPAT=0x1010L -DOPENSSL_NO_DEPRECATED" -j3 CC=gcc ERR=1 TARGET=linux-glibc USE_OPENSSL=1
+- name: run reg-tests
+  run: |
+make reg-tests VTEST_PROGRAM=../vtest/vtest
-- 
2.25.2