[DO-1651] update aosp container (!70)
Co-authored-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech> Reviewed-on: https://git.avroid.tech/DevOps/jenkins-shared-lib/pulls/70
This commit is contained in:
@@ -84,38 +84,6 @@ Object tavroAuroraV5Template = """
|
|||||||
- name: ${env.JENKINS_K8S_HARBOR_SECRET}
|
- name: ${env.JENKINS_K8S_HARBOR_SECRET}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
Object containerAuroraTemplate = """
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
container.apparmor.security.beta.kubernetes.io/aurora: unconfined
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: aurora
|
|
||||||
image: ${env.JENKINS_DOCKER_REGISTRY}/container/container-build-aurora:5.1.3.85-2
|
|
||||||
securityContext:
|
|
||||||
runAsUser: 1000
|
|
||||||
runAsGroup: 1000
|
|
||||||
capabilities:
|
|
||||||
add:
|
|
||||||
- SYS_ADMIN
|
|
||||||
tty: true
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
cpu: 15
|
|
||||||
memory: 128Gi
|
|
||||||
requests:
|
|
||||||
cpu: 15
|
|
||||||
memory: 32Gi
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: ${global.AURORA_CUSTOM_WORKSPACE} # Because home path removed within chroot
|
|
||||||
name: "workspace-volume"
|
|
||||||
ttyEnabled: true
|
|
||||||
imagePullSecrets:
|
|
||||||
- name: ${env.JENKINS_K8S_HARBOR_SECRET}
|
|
||||||
"""
|
|
||||||
|
|
||||||
Object containerLinuxTemplate = """
|
Object containerLinuxTemplate = """
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Pod
|
kind: Pod
|
||||||
@@ -132,7 +100,7 @@ Object containerLinuxTemplate = """
|
|||||||
capabilities:
|
capabilities:
|
||||||
add:
|
add:
|
||||||
- SYS_ADMIN
|
- SYS_ADMIN
|
||||||
image: ${env.JENKINS_DOCKER_REGISTRY}/container/container-build-linux:1.2
|
image: ${env.JENKINS_DOCKER_REGISTRY}/container/container-build-linux:1.3
|
||||||
command:
|
command:
|
||||||
- sleep
|
- sleep
|
||||||
args:
|
args:
|
||||||
|
|||||||
Reference in New Issue
Block a user