Commit Graph

231 Commits

Author SHA1 Message Date
Ivan Dyachkov c35ad653f3 ci: process both string and boolean values of inputs.publish 2023-08-09 09:33:17 +02:00
Ivan Dyachkov 92d4f6cb0b ci: pass secrets to docker and packages workflows 2023-08-09 09:22:55 +02:00
Thales Macedo Garitezi 1ca202fef7 ci: fix build package script
Since the runner changed from `ubuntu-22.04` to self hosted runner, `sudo` is no longer
passwordless.
2023-08-08 15:49:34 -03:00
Ivan Dyachkov ec75fa32cf ci: use git ref for workflow concurrency detection 2023-08-06 14:16:56 +02:00
Ivan Dyachkov a32b8fd21f ci: use single entry point for push event 2023-08-06 14:16:56 +02:00
Ivan Dyachkov 362235021c ci: refactor workflows to use single entry point on pull request trigger 2023-08-06 14:16:56 +02:00
Ivan Dyachkov 2594998fd0 ci: self-hosted runners for build-packages 2023-07-18 17:12:20 +02:00
Ivan Dyachkov 2b5bd9f183 ci: separate steps to build and test packages 2023-07-18 17:12:18 +02:00
Ivan Dyachkov cfcdc094b5 ci: always upload artefacts on build_packages 2023-07-18 16:15:10 +02:00
Ivan Dyachkov f541fc3e3d feat: build debian12 packages 2023-07-18 16:15:10 +02:00
Thales Macedo Garitezi 99378355ea ci: bump builder image -> 5.1-3 2023-07-18 09:00:29 -03:00
Ivan Dyachkov a43bf5e4fa ci: release Amazon Linux 2023 packages 2023-07-10 16:21:56 +02:00
zhongwencool 85d787f561
Merge pull request #11017 from id/0612-ci-fix-matrix-dimensions-in-build-packages
ci: fix matrix dimensions in build_packages
2023-06-12 17:51:36 +08:00
Ivan Dyachkov 7a78df1660 ci: fix matrix dimensions in build_packages 2023-06-12 09:03:30 +02:00
Thales Macedo Garitezi 683b4d2f0f ci: upgrade setup-beam -> v1.15.4 2023-06-09 10:39:02 -03:00
Zaiming (Stone) Shi 9c1f77d733 ci: upgrade to otp 25.3.2-1 and elixir 1.14.5 2023-06-02 18:01:09 +02:00
Zaiming (Stone) Shi b5e1bc4cc8 ci: check ping output in windows package start/stop test 2023-05-23 14:10:19 +02:00
Ivan Dyachkov a264827b78 ci: emqx-builder 5.0-35 2023-05-15 08:14:22 +02:00
Ivan Dyachkov b3a989970d ci: move package upload to packagecloud.io to release workflow
Fixes #10693
2023-05-14 15:19:46 +02:00
Ivan Dyachkov b688ec6ef8 ci: ensure git safe dir in build_packages 2023-05-08 14:54:08 +02:00
Zaiming (Stone) Shi 429d193af7 ci: github action boolean in env check 'true' string 2023-05-05 23:58:24 +02:00
Zaiming (Stone) Shi a7f8e33321 ci: no need to prepare source zip
source.zip was need in v4 enterprise because the rebar3 deps
fetch had to be done in the github runner host, but not inside
the runner docker containers.

now that all dependencies are opensource, there is no need for
this step any more.
2023-05-05 22:57:16 +02:00
Zaiming (Stone) Shi 22815d4cec ci(buildx): use a special builder value to indicate host build 2023-05-05 22:20:34 +02:00
Zaiming (Stone) Shi e739e3cadb ci: ensure == compare is not empty on the left 2023-05-05 21:49:15 +02:00
Zaiming (Stone) Shi 1765c429c0 ci: use cd instead of pushd 2023-05-05 21:38:47 +02:00
Zaiming (Stone) Shi ccb289974a ci: in 'prepare' step, make clean-all before fetch deps 2023-05-05 21:02:48 +02:00
Ivan Dyachkov 69d1a34461 ci: move scheduled builds to a separate workflow
so that we trigger the scheduled builds on both master and release-50
2023-05-04 19:15:27 +02:00
Ivan Dyachkov 3b5ac8321d ci: bump emqx-builder to 5.0-34 to fix el9 build 2023-04-17 21:02:07 +02:00
Serge Tupchii 761847b74a ci: update emqx-builders with OTP 24.3.4.2-3 and 25.1.2-3
These OTP versions implement mnesia_hook:unregister_hook/1
2023-03-23 11:59:43 +02:00
Ivan Dyachkov d13d54fb81 ci: emqx-builder 5.0-32 2023-03-15 19:08:51 +01:00
Ivan Dyachkov 7f71ccbf25 ci: use aws-actions/configure-aws-credentials@v2
to address EOL of Node.js 12
2023-03-15 14:22:19 +01:00
Ivan Dyachkov d337814c08 ci: tmp fix for build packages
- do not build raspbian9 and raspbian10 packages
- install krb5-devel in el9 (to be fixed in builder)
2023-03-14 19:55:03 +01:00
Ivan Dyachkov 0a70f676a9 ci: release packages for raspbian 2023-03-04 10:58:12 +01:00
Ivan Dyachkov 7c4e5d429a ci: build packages for macos12 2023-02-27 23:16:30 +01:00
Ivan Dyachkov 9065cb7429 ci: do not run scheduled workflows in forks 2023-02-27 23:16:30 +01:00
Ivan Dyachkov 7e09451530 ci: start building el9 (rocky linux 9) packages
also upgrade runners to ubuntu22.04 where possible
2023-02-27 23:16:30 +01:00
Andrew Mayorov c7f535abc7
chore: bump OTP-24 image version to 24.3.4.2-2 2023-02-17 11:16:26 +03:00
Ivan Dyachkov 43bf297b31 ci: do not upload packages to s3 and packagecloud on schedule event 2023-02-09 11:17:59 +01:00
Ivan Dyachkov 9492b40a37 ci: automatically push packages to packagecloud.io 2023-01-25 19:29:02 +01:00
Ivan Dyachkov e68ee4c2ff ci: build ubuntu 22.04 packages 2023-01-23 13:30:00 +01:00
Ivan Dyachkov 0560145771 ci: back to use upstream setup-beam action 2023-01-16 18:07:25 +01:00
Andrew Mayorov 9aeb5a15a0
ci: reenable OTP-25 package builds targeting amzn2 2022-12-28 12:10:42 +03:00
Zaiming (Stone) Shi 29a0899ed2
Merge pull request #9621 from emqx/release-50
merge release-50 back to master
2022-12-28 10:04:13 +01:00
Ivan Dyachkov b48941e307 ci: send notification to Slack when scheduled bulid failed 2022-12-27 11:44:04 +01:00
Zaiming (Stone) Shi 25e6ccc82f ci: build elixir package on OTP 24 for Amazon Linux 2 for now 2022-12-27 11:24:10 +01:00
Zaiming (Stone) Shi db28de649e ci: fix build matrix 2022-12-27 10:51:08 +01:00
Zaiming (Stone) Shi 7ec7ab785d ci: fix builder for elixir 2022-12-27 09:14:25 +01:00
Ivan Dyachkov 0599bd7cfc ci: use our own setup-beam fork
https://github.com/erlef/setup-beam/issues/167
2022-12-22 09:15:57 +01:00
Andrew Mayorov 2e1cdd039e
ci: include OTP-25 in some workflows
* Use OTP-25 exclusively for Elixir builds
* Include OTP-25 in slim package builds
* Include OTP-25 in test workflow matrices
2022-12-16 13:45:04 +03:00
Ivan Dyachkov 3013b982cc ci: build amzn2 package
also
- upgrade emqx-builder to 5.0.24
- use amzn2 instead of el8 by default
- cross-cover emqx and emqx-enterprise in slim packages
2022-12-13 09:04:45 +01:00