Skip to content

Commit b53c7e3

Browse files
committed
Add CI manual job to generate signing key
1 parent bc38146 commit b53c7e3

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.gitlab-ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
stages:
22
- build
3+
- create_key
34

45
default:
56
tags: [ "arch:amd64" ] # Use runners with the "arch:amd64" tag
@@ -45,3 +46,16 @@ build:
4546
coverage_format: jacoco
4647
path: ./*/build/reports/jacoco/*/jacocoTestReport.xml
4748

49+
create_key:
50+
stage: generate-signing-key
51+
when: manual
52+
variables:
53+
PROJECT_NAME: "dd-instrument-java"
54+
EXPORT_TO_KEYSERVER: "true"
55+
image: $REGISTRY/ci/agent-key-management-tools/gpg:1
56+
script:
57+
- /create.sh
58+
artifacts:
59+
expire_in: 13 mos
60+
paths:
61+
- pubkeys

0 commit comments

Comments
 (0)