Skip to content

Commit cb5dc04

Browse files
Merge pull request #993 from jiridanek/jd_rstudio_build_config
RHOAIENG-22439: fix(manifests/rstudio): dismantle the broken RStudio BuildConfig chain and build the image directly
2 parents 4ce55a2 + f42e162 commit cb5dc04

File tree

1 file changed

+0
-60
lines changed

1 file changed

+0
-60
lines changed

manifests/base/cuda-rstudio-buildconfig.yaml

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,6 @@
11
---
22
kind: ImageStream
33
apiVersion: image.openshift.io/v1
4-
metadata:
5-
name: cuda-rhel9
6-
spec:
7-
lookupPolicy:
8-
local: true
9-
tags:
10-
- name: latest
11-
referencePolicy:
12-
type: Source
13-
---
14-
kind: ImageStream
15-
apiVersion: image.openshift.io/v1
164
metadata:
175
annotations:
186
opendatahub.io/notebook-image-creator: RHOAI
@@ -44,51 +32,6 @@ spec:
4432
---
4533
kind: BuildConfig
4634
apiVersion: build.openshift.io/v1
47-
metadata:
48-
name: cuda-rhel9
49-
labels:
50-
app: buildchain
51-
component: cuda-rhel9
52-
spec:
53-
source:
54-
type: Git
55-
git:
56-
uri: "https://github.com/red-hat-data-services/notebooks"
57-
ref: rhoai-2.19
58-
strategy:
59-
type: Docker
60-
dockerStrategy:
61-
dockerfilePath: "rstudio/rhel9-python-3.11/Dockerfile.cuda"
62-
noCache: true
63-
volumes:
64-
- name: secret-mvn
65-
source:
66-
type: Secret
67-
secret:
68-
secretName: rhel-subscription-secret
69-
defaultMode: 420
70-
mounts:
71-
- destinationPath: /opt/app-root/src/.sec
72-
output:
73-
to:
74-
kind: ImageStreamTag
75-
name: "cuda-rhel9:latest"
76-
resources:
77-
limits:
78-
cpu: "1"
79-
memory: 8Gi
80-
requests:
81-
cpu: "1"
82-
memory: 8Gi
83-
successfulBuildsHistoryLimit: 2
84-
failedBuildsHistoryLimit: 2
85-
runPolicy: Serial
86-
triggers:
87-
- imageChange: {}
88-
type: ImageChange
89-
---
90-
kind: BuildConfig
91-
apiVersion: build.openshift.io/v1
9235
metadata:
9336
name: cuda-rstudio-server-rhel9
9437
labels:
@@ -105,9 +48,6 @@ spec:
10548
dockerStrategy:
10649
dockerfilePath: "rstudio/rhel9-python-3.11/Dockerfile.cuda"
10750
noCache: true
108-
from:
109-
kind: "ImageStreamTag"
110-
name: "cuda-rhel9:latest"
11151
volumes:
11252
- name: secret-mvn
11353
source:

0 commit comments

Comments
 (0)