Skip to content

Commit 31411fb

Browse files
author
wwanarif
committed
temporary update e2e test and initial push for proxy environment support
Signed-off-by: wwanarif <[email protected]>
1 parent 11ac0ba commit 31411fb

File tree

20 files changed

+98
-378
lines changed

20 files changed

+98
-378
lines changed

.github/ISSUE_TEMPLATE/1_bug_template.yml

Lines changed: 0 additions & 129 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/2_feature_template.yml

Lines changed: 0 additions & 80 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/workflows/_build-image-to-registry.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,6 @@ jobs:
3535
with:
3636
ref: ${{ env.CHECKOUT_REF }}
3737
fetch-depth: 0
38-
39-
- name: Check Dangerous Command Injection
40-
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
41-
uses: opea-project/validation/actions/check-cmd@main
42-
with:
43-
work_dir: ${{ github.workspace }}
4438

4539
- name: Build Image and Push Image
4640
run: |

.github/workflows/pr-code-scan.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ jobs:
3434
- name: Checkout out Repo
3535
uses: actions/checkout@v4
3636

37-
- name: Check Dangerous Command Injection
38-
uses: opea-project/validation/actions/check-cmd@main
39-
with:
40-
work_dir: ${{ github.workspace }}
41-
4237
- name: Docker Build
4338
run: |
4439
docker build -f ${{ github.workspace }}/.github/workflows/docker/${{ env.DOCKER_FILE_NAME }}.dockerfile -t ${{ env.REPO_NAME }}:${{ env.REPO_TAG }} .

.github/workflows/scripts/change_color

Lines changed: 0 additions & 80 deletions
This file was deleted.

setup-scripts/setup-genai-studio/manifests/studio-manifest-aws-ecr.yaml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,9 @@ rules:
256256
- apiGroups: [""]
257257
resources: ["nodes"]
258258
verbs: ["list", "get"]
259+
- apiGroups: [""]
260+
resources: ["persistentvolumeclaims"]
261+
verbs: ["get", "create", "list", "watch"]
259262
---
260263
apiVersion: rbac.authorization.k8s.io/v1
261264
kind: ClusterRoleBinding
@@ -290,6 +293,20 @@ spec:
290293
containers:
291294
- name: studio-backend
292295
image: ${REGISTRY}/studio-backend:${TAG}
296+
imagePullPolicy: Always
297+
env:
298+
- name: APP_FRONTEND_IMAGE
299+
value: ${REGISTRY}/app-frontend:${TAG}
300+
- name: APP_BACKEND_IMAGE
301+
value: ${REGISTRY}/app-backend:${TAG}
302+
- name: REGISTRY
303+
value: opea
304+
- name: TAG
305+
value: latest
306+
- name: SBX_HTTP_PROXY
307+
value: ${HTTP_PROXY}
308+
- name: SBX_NO_PROXY
309+
value: ${NO_PROXY}
293310
ports:
294311
- containerPort: 5000
295312
resources:
@@ -347,12 +364,7 @@ spec:
347364
containers:
348365
- name: studio-frontend
349366
securityContext: {}
350-
image: ${REGISTRY}/studio-backend:${TAG}
351-
env:
352-
- name: APP_FRONTEND_IMAGE
353-
value: ${REGISTRY}/app-frontend:${TAG}
354-
- name: APP_BACKEND_IMAGE
355-
value: ${REGISTRY}/app-backend:${TAG}
367+
image: ${REGISTRY}/studio-frontend:${TAG}
356368
ports:
357369
- name: studio-frontend
358370
containerPort: 8080

setup-scripts/setup-genai-studio/manifests/studio-manifest.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,9 @@ rules:
246246
- apiGroups: [""]
247247
resources: ["nodes"]
248248
verbs: ["list", "get"]
249+
- apiGroups: [""]
250+
resources: ["persistentvolumeclaims"]
251+
verbs: ["get", "create", "list", "watch"]
249252
---
250253
apiVersion: rbac.authorization.k8s.io/v1
251254
kind: ClusterRoleBinding
@@ -280,6 +283,7 @@ spec:
280283
containers:
281284
- name: studio-backend
282285
image: ${REGISTRY}/studio-backend:${TAG}
286+
imagePullPolicy: Always
283287
env:
284288
- name: APP_FRONTEND_IMAGE
285289
value: ${REGISTRY}/app-frontend:${TAG}
@@ -289,6 +293,10 @@ spec:
289293
value: opea
290294
- name: TAG
291295
value: latest
296+
- name: SBX_HTTP_PROXY
297+
value: ${HTTP_PROXY}
298+
- name: SBX_NO_PROXY
299+
value: ${NO_PROXY}
292300
ports:
293301
- containerPort: 5000
294302
resources:

0 commit comments

Comments
 (0)