2
0

new version of config and resource limits

This commit is contained in:
2021-12-09 17:39:09 +01:00
parent 759fe954c6
commit 8194d39793
2 changed files with 19 additions and 5 deletions

View File

@@ -43,7 +43,13 @@ spec:
git checkout $(params.version) || exit 1
git pull
- name: build-openwrt
#image: cr.lan/debian-stable-build-essential
resources:
requests:
memory: 1Gi
cpu: 500m
limits:
memory: 1.5Gi
cpu: 3000m
image: cr.lan/debian-stable-openwrt-build
script: |
#!/usr/bin/env bash
@@ -63,7 +69,7 @@ spec:
./scripts/feeds install -a -f
# build env does not like to be run as root....
make -j4 download world $(params.make_flags)
make V=s -j4 download world $(params.make_flags) 2>&1
- name: upload-assets
image: docker.io/minio/mc
env:
@@ -112,4 +118,4 @@ spec:
- name: usr-src
persistentVolumeClaim:
claimName: tektoncd-workspaces
subPath: usr_src
subPath: usr_src