Skip to content

Instantly share code, notes, and snippets.

@evanshortiss
Created August 7, 2020 10:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evanshortiss/bbbf352b3be7b79cee572784e643b931 to your computer and use it in GitHub Desktop.
Save evanshortiss/bbbf352b3be7b79cee572784e643b931 to your computer and use it in GitHub Desktop.
apiVersion: build.openshift.io/v1
kind: BuildConfig
metadata:
labels:
build: webapp-npm-build
name: webapp-npm-build
namespace: node-s2i-nginx
spec:
failedBuildsHistoryLimit: 5
successfulBuildsHistoryLimit: 5
nodeSelector: null
output:
to:
kind: ImageStreamTag
name: webapp-npm-build:latest
runPolicy: Serial
source:
git:
uri: https://github.com/evanshortiss/s2i-nodejs-nginx-example
type: Git
strategy:
sourceStrategy:
from:
kind: ImageStreamTag
name: nodejs:12
namespace: openshift
type: Source
triggers:
- github:
secret: pYamXwQ72NY1296iqsd0
type: GitHub
- generic:
secret: QXRpaEjtSbGM2qwcMGDF
type: Generic
- type: ConfigChange
- imageChange:
lastTriggeredImageID: image-registry.openshift-image-registry.svc:5000/openshift/nodejs@sha256:f9829b5c49ddf3b930f81ef8cbf516354035af2e4f88a9b9651a699957274bd1
type: ImageChange
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment