From 71e50456820d16af84ac8e8c76f43da02a48f48a Mon Sep 17 00:00:00 2001 From: Daniel Messias Date: Mon, 16 Oct 2023 12:22:17 +0100 Subject: [PATCH] Add departmentName when getting user data for identify calls --- .drone.yml | 11 +++++++++++ datahub-web-react/src/graphql/me.graphql | 1 + 2 files changed, 12 insertions(+) diff --git a/.drone.yml b/.drone.yml index a36fc937a6e78..44f1a4aaffc42 100644 --- a/.drone.yml +++ b/.drone.yml @@ -64,6 +64,17 @@ steps: ENVIRONMENT: production AMPLITUDE_API_KEY: f0b9cf5c530426c3dbacb91e74f009a5 + # Push the staging image, tagged with the branch name. Useful for testing the image in fc-datahub. + - name: docker_frontend_development + <<: *docker_build_config + settings: + context : /drone/src/staging/ + dockerfile: /drone/src/staging/docker/datahub-frontend/Dockerfile + tags: + - ${DRONE_BRANCH//\//-} + depends_on: + - build_frontend_staging + - name: docker_frontend_staging <<: *docker_build_config <<: *when_internal_branch diff --git a/datahub-web-react/src/graphql/me.graphql b/datahub-web-react/src/graphql/me.graphql index 2c693c747af56..c3088077168d6 100644 --- a/datahub-web-react/src/graphql/me.graphql +++ b/datahub-web-react/src/graphql/me.graphql @@ -11,6 +11,7 @@ query getMe { lastName fullName email + departmentName } editableProperties { displayName