-
Notifications
You must be signed in to change notification settings - Fork 13
/
service.yml
85 lines (85 loc) · 2.84 KB
/
service.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
name: kafka-rest-images
lang: unknown
lang_version: unknown
codeowners:
enable: true
git:
enable: true
semaphore:
enable: true
pipeline_type: cp-dockerfile
docker_repos: ['confluentinc/cp-kafka-rest',]
maven_phase: 'package'
maven_skip_deploy: true
os_types: ['ubi8']
nano_version: true
build_arm: true
cve_scan: true
sign_images: true
use_packages: true
cp_images: true
push_latest: true
tasks:
- name: cp-dockerfile-build
branch: master
pipeline_file: .semaphore/cp_dockerfile_build.yml
parameters:
- name: CONFLUENT_VERSION
description: 'Confluent Platform version.'
required: true
default_value: 'NONE'
- name: PACKAGES_URL
description: 'S3 bucket url where the debian packages are located.'
required: true
default_value: 'NONE'
- name: PACKAGES_MAVEN_URL
description: 'URL to Maven packages from upstream packaging job.'
required: true
default_value: 'NONE'
- name: PACKAGING_BUILD_NUMBER
description: 'Build number of packaging job. Required except when doing promote to production. For promote to production only this will default to latest.'
required: true
default_value: 'NONE'
- name: ALLOW_UNSIGNED
description: 'Allow unsigned packages.'
required: true
default_value: 'False'
options:
- 'True'
- 'False'
- name: CONFLUENT_DEB_VERSION
description: 'Debian package version.'
required: true
default_value: '1'
- name: cp-dockerfile-promote
branch: master
pipeline_file: .semaphore/cp_dockerfile_promote.yml
parameters:
- name: CONFLUENT_VERSION
description: 'Confluent Platform version.'
required: true
default_value: 'NONE'
- name: IMAGE_REVISION
description: 'Revision for Docker images. This is used with promote to production only.'
required: true
default_value: '1'
- name: UPDATE_LATEST_TAG
description: 'Should the latest tag on docker hub be updated to point at this new image version.'
required: true
default_value: 'NONE'
- name: PACKAGING_BUILD_NUMBER
description: 'Build number of packaging job. Required except when doing promote to production. For promote to production only this will default to latest.'
required: true
default_value: 'NONE'
- name: PROMOTE_OS_TYPE
description: 'The image OS type to promote to DockerHub. Required only when doing promote to production.'
required: true
default_value: 'ubi'
options:
- 'deb'
- 'ubi'
code_artifact:
enable: true
package_paths:
- maven-snapshots/maven/io.confluent.kafka-rest-images/kafka-rest-images-parent
- maven-snapshots/maven/io.confluent.kafka-rest-images/cp-kafka-rest