Skip to content

Commit cbb3fcf

Browse files
chore(patch): setup Datadog APM source code
1 parent 396985b commit cbb3fcf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/deploy-online-serverest.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ jobs:
8585
--update-env-vars=DD_API_KEY=$DD_API_KEY \
8686
--update-env-vars=DD_ENV='staging.serverest.dev' \
8787
--update-env-vars=DD_VERSION=${{ github.ref_name }} \
88+
--update-env-vars=DD_TAGS='git.commit.sha:${{ github.sha }},git.repository_url:github.com/ServeRest/ServeRest' \
8889
--update-env-vars=ENVIRONMENT='staging.serverest.dev'
8990
env:
9091
DD_API_KEY: ${{ env.DD_API_KEY }}
@@ -165,6 +166,7 @@ jobs:
165166
--update-env-vars=DD_API_KEY=$DD_API_KEY \
166167
--update-env-vars=DD_ENV='serverest.dev' \
167168
--update-env-vars=DD_VERSION=${{ github.ref_name }} \
169+
--update-env-vars=DD_TAGS='git.commit.sha:${{ github.sha }},git.repository_url:github.com/ServeRest/ServeRest' \
168170
--update-env-vars=ENVIRONMENT='serverest.dev'
169171
env:
170172
DD_API_KEY: ${{ env.DD_API_KEY }}
@@ -213,6 +215,7 @@ jobs:
213215
--update-env-vars=DD_API_KEY=$DD_API_KEY \
214216
--update-env-vars=DD_ENV='compassuol' \
215217
--update-env-vars=DD_VERSION=${{ github.ref_name }} \
218+
--update-env-vars=DD_TAGS='git.commit.sha:${{ github.sha }},git.repository_url:github.com/ServeRest/ServeRest' \
216219
--update-env-vars=ENVIRONMENT='compassuol'
217220
env:
218221
DD_API_KEY: ${{ env.DD_API_KEY }}

cloudbuild.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ steps:
66
'--file', 'Dockerfile',
77
'--tag', 'gcr.io/${_PROJECT_ID}/${_SERVICE_NAME}:$COMMIT_SHA',
88
'--tag', 'gcr.io/${_PROJECT_ID}/${_SERVICE_NAME}:${_VERSION}',
9-
'--label', 'org.opencontainers.image.revision=$COMMIT_SHA',
10-
'--label', 'org.opencontainers.image.source=github.com/ServeRest/ServeRest',
119
'.']
1210
# Push the container image to Container Registry
1311
- name: 'gcr.io/cloud-builders/docker'

0 commit comments

Comments
 (0)