generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
127 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
ARG DEBEZIUM_VERSION | ||
|
||
|
||
FROM debezium/kafka:1.9 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
--- | ||
kind: Template | ||
apiVersion: template.openshift.io/v1 | ||
metadata: | ||
name: "${API_NAME}-build-template" | ||
creationTimestamp: | ||
objects: | ||
- kind: ImageStream | ||
apiVersion: v1 | ||
metadata: | ||
name: "${API_NAME}" | ||
- kind: BuildConfig | ||
apiVersion: v1 | ||
metadata: | ||
name: "${API_NAME}-build" | ||
labels: | ||
app: "${API_NAME}-build" | ||
spec: | ||
runPolicy: Serial | ||
source: | ||
type: Git | ||
git: | ||
uri: "${GIT_REPO_URL}" | ||
ref: "${GIT_REF}" | ||
contextDir: "${SOURCE_CONTEXT_DIR}" | ||
strategy: | ||
type: Docker | ||
dockerStrategy: | ||
dockerfilePath: "${DOCKER_FILE_PATH}" | ||
output: | ||
to: | ||
kind: ImageStreamTag | ||
name: "${API_NAME}:latest" | ||
parameters: | ||
- name: API_NAME | ||
displayName: Name | ||
description: The name assigned to all of the resources defined in this template. | ||
required: true | ||
value: debezium-kafka | ||
- name: GIT_REPO_URL | ||
displayName: Git Repo URL | ||
description: The URL to your GIT repo. | ||
required: true | ||
value: https://github.com/bcgov/nr-epd-digital-services | ||
- name: GIT_REF | ||
displayName: Git Reference | ||
description: The git reference or branch. | ||
required: true | ||
value: fix/task-164 | ||
- name: SOURCE_CONTEXT_DIR | ||
displayName: Source Context Directory | ||
description: The source context directory. | ||
required: false | ||
value: etl/debezium-kafka | ||
- name: DOCKER_FILE_PATH | ||
displayName: Docker File Path | ||
description: The path to the docker file defining the build. | ||
required: false | ||
value: "Dockerfile" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters