diff --git a/app-config/openshift/buildconfig.yaml b/app-config/openshift/buildconfig.yaml deleted file mode 100644 index 5a72a0cd..00000000 --- a/app-config/openshift/buildconfig.yaml +++ /dev/null @@ -1,56 +0,0 @@ ---- - kind: "Template" - apiVersion: template.openshift.io/v1 - metadata: - name: "caimira-application" - creationTimestamp: null - annotations: - description: "CAiMIRA build config OpenShift template." - tags: "caimira-application" - labels: - template: "caimira-application" - objects: - - - kind: BuildConfig - apiVersion: build.openshift.io/v1 - metadata: - name: caimira-router - labels: - template: "caimira-application" - spec: - source: - type: Git - git: - ref: ${GIT_BRANCH} - uri: ${GIT_REPO} - contextDir: app-config/nginx - postCommit: {} - resources: {} - runPolicy: Serial - output: - to: - kind: ImageStreamTag - name: 'caimira-router:latest' - strategy: - sourceStrategy: - from: - kind: ImageStreamTag - name: 'nginx:1.18-ubi8' - namespace: openshift - type: Source - triggers: - - type: ImageChange - imageChange: {} - - type: ConfigChange - - generic: - secretReference: - name: gitlab-caimira-webhook-secret - type: Generic - nodeSelector: null - parameters: - - name: GIT_REPO - description: The GIT repo URL - value: 'https://gitlab.cern.ch/caimira/caimira.git' - - name: GIT_BRANCH - description: The name of the GIT branch to use when building the app, e.g. `live/caimira-test` in TEST, `master` in prod - required: true diff --git a/app-config/openshift/deploymentconfig.yaml b/app-config/openshift/deployments.yaml similarity index 100% rename from app-config/openshift/deploymentconfig.yaml rename to app-config/openshift/deployments.yaml