forked from RedHatInsights/export-service-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile
41 lines (37 loc) · 1.52 KB
/
Jenkinsfile
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
38
39
40
41
def secrets = [
[path: params.VAULT_PATH_SVC_ACCOUNT_EPHEMERAL, engineVersion: 1, secretValues: [
[envVar: 'OC_LOGIN_TOKEN_DEV', vaultKey: 'oc-login-token-dev'],
[envVar: 'OC_LOGIN_SERVER_DEV', vaultKey: 'oc-login-server-dev']]],
[path: params.VAULT_PATH_QUAY_PUSH, engineVersion: 1, secretValues: [
[envVar: 'QUAY_USER', vaultKey: 'user'],
[envVar: 'QUAY_TOKEN', vaultKey: 'token']]],
[path: params.VAULT_PATH_RHR_PULL, engineVersion: 1, secretValues: [
[envVar: 'RH_REGISTRY_USER', vaultKey: 'user'],
[envVar: 'RH_REGISTRY_TOKEN', vaultKey: 'token']]]
]
def configuration = [vaultUrl: params.VAULT_ADDRESS, vaultCredentialId: params.VAULT_CREDS_ID, engineVersion: 1]
pipeline {
agent { label 'insights' }
options {
timestamps()
}
environment {
APP_NAME="export-service" // name of app-sre "application" folder this component lives in
COMPONENT_NAME="export-service" // name of app-sre "resourceTemplate" in deploy.yaml for this component
IMAGE="quay.io/cloudservices/export-service"
IQE_PLUGINS="export_service"
// IQE_IMAGE_TAG="export-service-b4619e78"
// IQE_MARKER_EXPRESSION="smoke"
IQE_FILTER_EXPRESSION=""
IQE_CJI_TIMEOUT="30m"
// Install bonfire repo/initialize
CICD_URL="https://raw.githubusercontent.com/RedHatInsights/bonfire/master/cicd"
}
stages {
stage('Pipeline') {
steps {
sh 'mkdir -p artifacts'
}
}
}
}