forked from cyberark/authn-jwt-gitlab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
37 lines (34 loc) · 1.17 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
variables:
CONJUR_APPLIANCE_URL: "https://conjur_server"
CONJUR_ACCOUNT: "myConjurAccount"
CONJUR_AUTHN_JWT_SERVICE_ID: "gitlab"
ubuntu:
id_tokens:
ID_TOKEN_1:
aud: https://gitlab.com
variables:
CONJUR_AUTHN_JWT_TOKEN: $ID_TOKEN_1
image: cyberark/authn-jwt-gitlab:ubuntu-1.0.0
script:
- export TEST_USERNAME=$(CONJUR_SECRET_ID="Dev-Team-credential1" /authn-jwt-gitlab)
- export TEST_PASSWORD=$(CONJUR_SECRET_ID="Dev-Team-credential2" /authn-jwt-gitlab)
alpine:
id_tokens:
ID_TOKEN_2:
aud: https://gitlab.com
variables:
CONJUR_AUTHN_JWT_TOKEN: $ID_TOKEN_2
image: cyberark/authn-jwt-gitlab:alpine-1.0.0
script:
- export TEST_USERNAME=$(CONJUR_SECRET_ID="Dev-Team-credential1" /authn-jwt-gitlab)
- export TEST_PASSWORD=$(CONJUR_SECRET_ID="Dev-Team-credential2" /authn-jwt-gitlab)
ubi-fips:
id_tokens:
ID_TOKEN_3:
aud: https://gitlab.com
variables:
CONJUR_AUTHN_JWT_TOKEN: $ID_TOKEN_3
image: cyberark/authn-jwt-gitlab:ubi-1.0.0
script:
- export TEST_USERNAME=$(CONJUR_SECRET_ID="Dev-Team-credential1" /authn-jwt-gitlab)
- export TEST_PASSWORD=$(CONJUR_SECRET_ID="Dev-Team-credential2" /authn-jwt-gitlab)