Skip to content
Snippets Groups Projects

Ingest

Merged Ghost User requested to merge ingest into main
Compare and Show latest version
2 files
+ 27
8
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 27
8
stages:
- test
- build
- release
fmt:
stage: test
default:
image: rust:latest
tags:
- docker, specific
fmt:
stage: test
before_script:
- rustup component add rustfmt
script:
@@ -13,9 +17,6 @@ fmt:
clippy:
stage: test
image: rust:latest
tags:
- docker, specific
before_script:
- rustup component add clippy
script:
@@ -23,8 +24,26 @@ clippy:
test:
stage: test
image: rust:latest
tags:
- docker, specific
script:
- cargo test
build:
stage: release
script:
- cargo build --release
artifacts:
paths:
- target/release/freva-ingest
rules:
- if: $CI_COMMIT_TAG
release:
stage: release
image: registry.gitlab.com/gitlab-org/release-cli:latest
script:
- echo "creating release $CI_COMMIT_TAG"
release:
name: $CI_COMMIT_TAG
description: ./CHANGELOG.md
tag_name: $CI_COMMIT_TAG
ref: $CI_COMMIT_SHA
Loading