Skip to content

Commit

Permalink
Add CI job for creating Rust crates archive
Browse files Browse the repository at this point in the history
Ref. eng/recordflux/RecordFlux#1744
  • Loading branch information
treiher committed Aug 29, 2024
1 parent ff15ab5 commit 42ec1b0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 42ec1b0

Please sign in to comment.