Skip to content

Instantly share code, notes, and snippets.

@rawlingsj
Created August 10, 2020 14:44
Show Gist options
  • Save rawlingsj/fbd8f658346b5bce03e16716e3dec1ea to your computer and use it in GitHub Desktop.
Save rawlingsj/fbd8f658346b5bce03e16716e3dec1ea to your computer and use it in GitHub Desktop.
buildPack: none
pipelineConfig:
pipelines:
release:
pipeline:
agent:
image: gcr.io/kaniko-project/executor:9912ccbf8d22bbafbf971124600fbb0b13b9cbd6
stages:
- name: maven
options:
containerOptions:
resources:
limits:
cpu: 4
memory: 8Gi
requests:
cpu: 1
memory: 3072Mi
steps:
- name: buildmaven
image: maven:3.6.3-openjdk-15
command: mvn
args: ['install']
- name: nodejs
options:
containerOptions:
resources:
limits:
cpu: 1
memory: 2Gi
requests:
cpu: 0.5
memory: 1Gi
steps:
- name: buildnode
image: node:lts
command: npm
args: ['install']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment