diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-11-24 12:50:32 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-11-25 13:44:36 +0300 |
commit | ac359181889943fb9250f561f9099052a391c089 (patch) | |
tree | c7cd1f88237ad2170c5167cabc12fefa34979323 /.gitlab-ci.yml | |
parent | 7a76e1231a09a8d61eae5bf4b0a35ff3856acb76 (diff) |
ci: Rename jobs to have per-stage prefixes
Job names we have are quite inconsistent, making it hard to spot jobs of
specific stages and jobs which are related to each other. Rename them to
have a common stage-specific prefix.
Ideally, we'd do the same for "analyze"-style jobs like linting or
static analysis. Most of these are included via external templates
though, so changing their names wouldn't work.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cda2fcd3f..a28c652d2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -120,7 +120,7 @@ build: # apply our default set of Git patches. - GO_VERSION: [ "1.16", "1.17" ] -binaries: +build:binaries: <<: *cache_definition stage: build image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-${RUBY_VERSION}-golang-${GO_VERSION}-git-2.31 @@ -187,7 +187,7 @@ test: - POSTGRES_VERSION: "11.14-alpine" TARGET: [ test, test-with-praefect ] -cover: +test:coverage: <<: *cache_definition <<: *postgres_definition stage: test @@ -197,14 +197,14 @@ cover: reports: cobertura: _build/cover/cobertura.xml -pgbouncer_test: +test:pgbouncer: # This job verifies all operations run without issues if PgBouncer is set in between service and PostgreSQL database. <<: *test_definition <<: *pgbouncer_definition script: - make test-postgres -nightly:git: +test:nightly: <<: *test_definition <<: *postgres_definition image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-${RUBY_VERSION}-golang-${GO_VERSION}-git-2.31 @@ -218,7 +218,7 @@ nightly:git: rules: - if: '$CI_PIPELINE_SOURCE == "schedule"' -praefect_sql_connect: +test:praefect_smoke: <<: *test_definition services: - postgres:${POSTGRES_VERSION} @@ -234,7 +234,7 @@ praefect_sql_connect: - ./_build/bin/praefect -config config.praefect.toml sql-ping - ./_build/bin/praefect -config config.praefect.toml sql-migrate -objectinfo_fuzz_test: +test:fuzz_objectinfo: extends: .fuzz_base stage: test script: |