gitlab-labkit 4.0.0 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c872947164d25ef7f75203c6195fe04bbc8c9002639d59fadf10672d47201862
4
- data.tar.gz: d0308016fd538669e466d2e499aa283d47e82bb4d53bd530c07bce74162b16b4
3
+ metadata.gz: 2006ee9fbf6cdd11b7e35588aa56f475349a03bbe56ce7f02a32e8f2bb62b82b
4
+ data.tar.gz: 8d9210051eeeb0316d03a3883600dc166d88b0131f01ddafd3f93ea4213055bc
5
5
  SHA512:
6
- metadata.gz: e6cb4000c77a3ebe764b61e0d536db95dbe3c79378a1d95744747e7eff2509cb435561eba2963ae83107eea37364f5515e3a64bd9491c799c2b9508c9293c793
7
- data.tar.gz: 64cc36f40cb6140b09fc54d873a102098a7fe05b2e967960317c782dc53b224c513fe676e6435dae48b6b0fc33e9e95dd8f32f10230900dea809bbef8bdd03e0
6
+ metadata.gz: 98a57b3f123c8c0e1338079e427bd6a03c50493dff5b3ef9c738138cb9132d389ad5170458b0dc4814dd450d603856e859f200be2e473c7b8031f56a45626614
7
+ data.tar.gz: fe6a91ad6fa0db7f44dc6954240a5137a6f7f88e17fee2fd14c4eafa283a3b8f04516a05a451d94c9d772eb0aa4a1265e5d5bd38b40a2595ec9d5a81b2d89e59
data/.gitlab-ci.yml CHANGED
@@ -19,13 +19,13 @@ include:
19
19
  # It includes standard checks, gitlab-scanners, validations and release processes
20
20
  # common to all projects using this template library.
21
21
  # see https://gitlab.com/gitlab-com/gl-infra/common-ci-tasks/-/blob/main/templates/standard.md
22
- - component: $CI_SERVER_FQDN/gitlab-com/gl-infra/common-ci-tasks/standard-build@v4.22
22
+ - component: $CI_SERVER_FQDN/gitlab-com/gl-infra/common-ci-tasks/standard-build@v4.36
23
23
 
24
24
  # Runs rspec tests and rubocop on the project
25
25
  # see https://gitlab.com/gitlab-com/gl-infra/common-ci-tasks/-/blob/main/templates/ruby.md
26
- - component: $CI_SERVER_FQDN/gitlab-com/gl-infra/common-ci-tasks/ruby-build@v4.22
26
+ - component: $CI_SERVER_FQDN/gitlab-com/gl-infra/common-ci-tasks/ruby-build@v4.36
27
27
 
28
- - component: $CI_SERVER_FQDN/gitlab-com/gl-infra/common-ci-tasks/danger@v4.22
28
+ - component: $CI_SERVER_FQDN/gitlab-com/gl-infra/common-ci-tasks/danger@v4.36
29
29
 
30
30
  # Attach a redis service to the rspec job from common-ci-tasks/ruby-build.
31
31
  # GitLab merges keys when a local job has the same name as an included one,
@@ -25,7 +25,7 @@ repos:
25
25
  # Documentation available at
26
26
  # https://gitlab.com/gitlab-com/gl-infra/common-ci-tasks/-/blob/main/docs/pre-commit.md
27
27
  - repo: https://gitlab.com/gitlab-com/gl-infra/common-ci-tasks
28
- rev: v4.22 # renovate:managed
28
+ rev: v4.36 # renovate:managed
29
29
 
30
30
  hooks:
31
31
  - id: shellcheck # Run shellcheck for changed Shell files
data/lib/labkit/fields.rb CHANGED
@@ -192,7 +192,7 @@ module Labkit
192
192
 
193
193
  MAPPINGS = {
194
194
  Fields::CORRELATION_ID => %w[tags.correlation_id],
195
- Fields::GL_USER_ID => %w[user_id userid extra.user_id extra.current_user_id meta.user_id],
195
+ Fields::GL_USER_ID => %w[user_id userid extra.user_id extra.current_user_id meta.user_id gitlab_user_id],
196
196
  Fields::GL_USER_NAME => %w[username extra.user meta.user],
197
197
  Fields::ERROR_MESSAGE => %w[error err error.message exception.message graphql_errors],
198
198
  Fields::HTTP_STATUS_CODE => %w[status_code extra.status status_text http_status],
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-labkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Newdigate