| Crates.io | outsider |
| lib.rs | outsider |
| version | 0.3.0 |
| created_at | 2025-04-13 20:40:29.909719+00 |
| updated_at | 2025-08-21 04:08:02.186941+00 |
| description | Test artifact changes locally from multiple projects that already use gitlab-art |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1632130 |
| size | 36,664 |
Test artifact changes locally from multiple projects that already use gitlab-art.
The following projects depends on project: kosma/foobar-firmware, and we have changes
locally that we want to test before pushing to the gitlab repo. We could just cp them,
but outsider removes that complexity and uses the artifacts.yml file.
artifacts.yml- project: kosma/foobar-firmware
ref: 1.4.0
job: firmware-8051
install:
build/8051/release/firmware.bin: blobs/firmware-8051.blob
kosma/foobar-firmwareWe have now updated the firmware, good thing we can easily push these changes to the other repo :)
# build build/8051/release/firmware.bin
(kosma/foobar-firmware) $ make
# move artifacts to the correct placement in project-a
(kosma/foobar-firmware) $ outsider ./project-a/artifacts.yml --project kosma/foobar-firmware
Copy files based on artifacts.yml configuration
Usage: outsider [OPTIONS] --source-dir <SOURCE_DIR> <YAML_FILE>
Arguments:
<YAML_FILE> Path to the artifacts.yml file
Options:
-p, --project <PROJECT> Only process projects whose name contains this string
-s, --source-dir <SOURCE_DIR> Source directory
-h, --help Print help
-V, --version Print version