Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,19 @@ variables:
deploy_to_sonatype:
stage: deploy_to_sonatype
tags: [ "arch:amd64" ]
image: registry.ddbuild.io/images/mirror/maven:3.8.6-openjdk-8
image: registry.ddbuild.io/images/mirror/maven:3.9-eclipse-temurin-17
only:
- tags
script:
# Ensure we don't print commands being run to the logs during credential
# operations
- set +x

- echo "Installing AWSCLI..."
- apt update
- apt install -y python3 python3-pip
- python3 -m pip install awscli
- echo "Installing AWSCLI and GnuPG..."
- apt-get update
- apt-get install -y --no-install-recommends gnupg pipx
- pipx install awscli
- export PATH="$PATH:$HOME/.local/bin"

- echo "Fetching Sonatype user..."
- export SONATYPE_USER=$(aws ssm get-parameter --region us-east-1 --name ci.datadog-api-client-java.publishing.sonatype_username --with-decryption --query "Parameter.Value" --out text)
Expand All @@ -34,7 +35,7 @@ deploy_to_sonatype:

- echo "Fetching signing key..."
- GPG_KEY=$(aws ssm get-parameter --region us-east-1 --name ci.datadog-api-client-java.signing.gpg_private_key --with-decryption --query "Parameter.Value" --out text)
- printf -- "$GPG_KEY" | gpg --import --batch
- printf '%s' "$GPG_KEY" | gpg --import --batch

- set -x

Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@
</execution>
</executions>
<configuration>
<doclint>none</doclint>
<tags>
<tag>
<name>http.response.details</name>
Expand Down
Loading