summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
AgeCommit message (Collapse)Author
2023-07-04ci: Fix "0 B" image size display Jonas Zohren
works around gitlab issue https://gitlab.com/gitlab-org/gitlab/-/issues/388865#workaround
2023-06-26ci: Adjust to current dockerJonas Zohren
2023-06-10chore(ci): Adjust to rust version bumpsJonas Zohren
2023-05-21* Fix Debian builds by actually including the whole `debian` directory into ↵Jonas Zohren
deb creation * Fix CI by explicitly setting hostname of docker in docker service * Fix Docker build by bumping the Rust version to 1.69 * Fix cargo check in CI by bumping the Rust version to 1.69
2023-01-19fix: adjust CI config to runner requirementsThe one with the braid
- make use of more stable BTRFS driver - set default pull policy to `if-not-present` Signed-off-by: The one with the braid <the-one@with-the-braid.cf>
2022-11-02fix(ci): Only build in (remote host) docker and switch to glibcJonas Zohren
2022-10-10feat(ci): Split clippy into own fallible jobJonas Zohren
For some reason, the clippy build does not work. This change allows the cargo:test job to still succeed and the pipeline to pass
2022-03-18chore(docker): Bump alpine (base image) versionJonas Zohren
2022-03-08fix(ci): Fix musl buildsJonas Zohren
This pins the image to use for cross to a working image's sha256
2022-02-19feat(ci): Add dependency audit to CI testsJonas Zohren
2022-02-18chore(ci): Split up testsJonas Zohren
2022-02-15feat(ci): Lint dockerfiles with hadolintJonas Zohren
2022-02-15fix(ci): Also run CI for git tagsJonas Zohren
2022-02-15fix(ci): Also create versioned docker imageJonas Zohren
2022-02-04fix(ci): Always build debug version for sytestJonas Zohren
2022-02-01Use prebuilt CI-containers from https://gitlab.com/jfowl/conduit-containersJonas Zohren
Also run all builds on approved MRs
2022-01-26fix: correct RUSTC_WRAPPER path in cross containerMaxim De Clercq
2022-01-23fix: remove trailing slash from shared pathMaxim De Clercq
2022-01-23fix: use readelf for checking static compilationMaxim De Clercq
2022-01-23fix: always print ELF informationMaxim De Clercq
2022-01-23fix: pass RUSTC_WRAPPER to the cross container and enforce static buildsMaxim De Clercq
2022-01-23feat: support targetting i686Maxim De Clercq
2022-01-23feat: use rustembedded/cross images and use static relocation model to fix ↵Maxim De Clercq
cross-compile
2022-01-22fix: make sure libatomic is always linked because it's skipped on arm targetsMaxim De Clercq
2022-01-22fix: make sure libstdc++ is linked statically when cross-compilingMaxim De Clercq
2022-01-21fix: linking against libatomic is no longer required since the library path ↵Maxim De Clercq
is fixed
2022-01-21fix: make sure cc-rs and bindgen use the correct paths when cross-compilingMaxim De Clercq
2022-01-20Use MSRV for build CI jobsJonas Platte
The test job will use the latest stable so all stable lints are included.
2022-01-16CI: Fix cargo-testJonas Zohren
2022-01-13Fix(ci): Disable CARGO_HOME cachingJonas Zohren
2021-12-14CI: Use curl instead of wgetJonas Zohren
The rust docker image already comes with curl, no need to install wget.
2021-12-14CI: Optionally use sccache for compilationJonas Zohren
This moves compiler caching for incremental builds away from GitLab caching the whole target/ folder to caching each code unit in S3. This aleviates the need to zip and unzip and just caches on the fly. This feature is optional and gated behind the SCCACHE_BIN_URL env
2021-11-25Fixes for !225Jonas Zohren
2021-11-21CI: New Multiarch builds and Docker images + cargo clippy/test output now ↵Jonas Zohren
integrated into GitLab
2021-09-14fix(ci): Convince kaniko that it is indeed running in a container by ↵Jonas Zohren
--force-ing it.
2021-09-14fix(ci): Fix aarch64 buildJonas Zohren
gcc-8-aarch64-linux-gnu is not available in debian 11 (which the rust image uses), so update to gcc-10 Signed-off-by: Jonas Zohren <git-pbkyr@jzohren.de>
2021-09-14Remove the "register an account with element" testJonas Zohren
Broke due to a timeout and Timo does not like broken tests. Less testing means less failing tests. Also, hopefully sytest is less broken now.
2021-09-02chore(CI): Adjust CI for master and next branch development modelJonas Zohren
- Build release builds for branches "master" and "next" - Push docker images under different tags, depending on why the pipeline started - branch master: push to `latest` - branch next: push to `next` - tag: push to `$TAG_NAME` Signed-off-by: Jonas Zohren <git-pbkyr@jzohren.de>
2021-09-02chore: Also run CI on git tags, not only new commits.Jonas Zohren
Signed-off-by: Jonas Zohren <git-pbkyr@jzohren.de>
2021-08-31Use `$CI_COMMIT_SHORT_SHA` for `GIT_REF`Daniel Wiesenberg
Using `$CI_COMMIT_REF_NAME` means we get `master` for every image build, which is not very useful/informative. Using `$CI_COMMIT_SHORT_SHA`, on the other hand, makes it possible to see exactly from which commit an image was built.
2021-08-22Only apply max. optimizations in CI builds.Jonas Zohren
The average german man has a life expectancy of 78.7 years, or 689884.2 hours. Assuming that Timo is 20 years old, he has rougly 514564.2 hours left on planet earth. Also assuming that cross release builds took him 25 minutes before, but 2-2.5x of that with the current release compilation config he wasted roughly an hour waiting for it to complete. If he continued to work on Conduit for 20 more years (or 175320 hours), and makes a release compilation about once per day, this means 7305 hours or 304 days wasted waiting for the rust compiler. By cutting that back down to the original settings, he get's 182 days of his life back. That's about 0.63% of his remaining life. 182 joyful days he can spend with family and loved ones.
2021-08-14Use full optimizations for master and faster config elseJonas Zohren
Signed-off-by: Jonas Zohren <git-pbkyr@jzohren.de>
2021-07-30Also push docker image to docker hubDaniel Wiesenberg
2021-07-19Add hardcoded artifacts.expose_as to show them in MRsJonas Zohren
2021-07-19CI: Create docker image with musl binaryJonas Zohren
2021-07-19CI: Fix package uploadJonas Zohren
2021-07-19CI: Add sytestJonas Zohren
2021-07-19CI: Test registration with element webJonas Zohren
2021-07-14CI: Check format before running testJonas Zohren
Testing needs compilation and is slow. Format checking is quick. As format checking fails more often than tests, switching them should result in faster failure and feedback
2021-07-12Use thin-lto [1] for "better" release builds.Jonas Zohren
This performs a rather quick variant of Link Time Optimization [2]. It should add negligible build time but also more optimized binaries. [1]: https://doc.rust-lang.org/cargo/reference/profiles.html#lto [2]: https://llvm.org/docs/LinkTimeOptimization.html