Skip to content

Commit d860db1

Browse files
committed
chore: Show container, processes dashboard links
1 parent dda618e commit d860db1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.gitlab-ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,12 @@ default:
117117
- .gitlab/cgroup-info.sh
118118
- gitlab_section_end "cgroup-info"
119119

120+
.container_info: &container_info
121+
- |
122+
echo -e "${TEXT_BOLD}${TEXT_YELLOW}Runner dashboard, these are live (expire after 1 hour)${TEXT_CLEAR}"
123+
echo -e "${TEXT_BOLD}${TEXT_YELLOW} Containers:${TEXT_CLEAR} https://app.datadoghq.com/containers?query=image_name%3A%2A%2Fdatadog%2Fdd-trace-java-docker-build%20AND%20pod_name%3A${POD_NAME}"
124+
echo -e "${TEXT_BOLD}${TEXT_YELLOW} Processes:${TEXT_CLEAR} https://app.datadoghq.com/process?query=image_name%3A%2A%2Fdatadog%2Fdd-trace-java-docker-build%20AND%20pod_name%3A${POD_NAME}"
125+
120126
.gitlab_base_ref_params: &gitlab_base_ref_params
121127
- |
122128
export GIT_BASE_REF=$(.gitlab/find-gh-base-ref.sh)
@@ -165,6 +171,7 @@ default:
165171
unprotect: true
166172
before_script:
167173
- source .gitlab/gitlab-utils.sh
174+
- *container_info
168175
# Akka token added to SSM from https://account.akka.io/token
169176
- export ORG_GRADLE_PROJECT_akkaRepositoryToken=$(aws ssm get-parameter --region us-east-1 --name ci.dd-trace-java.akka_repo_token --with-decryption --query "Parameter.Value" --out text)
170177
- export ORG_GRADLE_PROJECT_mavenRepositoryProxy=$MAVEN_REPOSITORY_PROXY
@@ -195,6 +202,7 @@ default:
195202
- gitlab_section_end "gradle-dance"
196203
after_script:
197204
- *cgroup_info
205+
- *container_info
198206

199207
# Check and fail early if maven central credentials are incorrect. When a new token is generated
200208
# on the central publisher portal, it invalidates the old one. This check prevents going further.

0 commit comments

Comments
 (0)