From 42ec1b033199c6abf28c5d4853d40bdfa411d5de Mon Sep 17 00:00:00 2001 From: Tobias Reiher Date: Thu, 29 Aug 2024 08:43:41 +0200 Subject: [PATCH] Add CI job for creating Rust crates archive Ref. eng/recordflux/RecordFlux#1744 --- .gitlab-ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1f0526d68..85bc170ac 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -714,3 +714,19 @@ installation_from_testpypi: - *setup_gnat - *setup_python_venv - make test_package PIP_ARGS="--index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ --pre" PACKAGE=RecordFlux + +############### +# Manual jobs # +############### + +rust_crates: + services: + - image:recordflux + - security_group:GitLabRunnerTasksExecPrivilegedSG + script: + - cargo vendor + - tar -czf recordflux-$(date '+%Y%m%d')-rust-crates.tar.gz vendor + artifacts: + paths: + - recordflux-*-rust-crates.tar.gz + when: manual