Skip to content

Commit

Permalink
Add Assisted Disconnected UI
Browse files Browse the repository at this point in the history
  • Loading branch information
rawagner committed Feb 25, 2025
1 parent 6b39fe2 commit 8c01605
Show file tree
Hide file tree
Showing 4 changed files with 176 additions and 2 deletions.
13 changes: 13 additions & 0 deletions ci-operator/config/openshift-assisted/assisted-installer-ui/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools.
# Fetched from https://github.com/openshift-assisted/assisted-installer-ui root OWNERS
# If the repo had OWNERS_ALIASES then the aliases were expanded
# Logins who are not members of 'openshift' organization were filtered out
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md

approvers:
- batzionb
- rawagner
options: {}
reviewers:
- batzionb
- rawagner
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
base_images:
node18:
name: nodejs-18-minimal
namespace: edge-infrastructure
tag: latest
openshift_release_golang-1.21:
name: release
namespace: openshift
tag: golang-1.21
openshift_ubi-micro_9:
name: ubi-micro
namespace: ocp
tag: "9"
build_root:
project_image:
dockerfile_literal: |
FROM quay.io/centos/centos:stream9
RUN dnf install git -y
images:
- dockerfile_path: apps/assisted-disconnected-ui/Containerfile
inputs:
node18:
as:
- registry.access.redhat.com/ubi9/nodejs-18-minimal:latest
openshift_release_golang-1.21:
as:
- registry.access.redhat.com/ubi9/go-toolset:1.21
openshift_ubi-micro_9:
as:
- registry.access.redhat.com/ubi9/ubi-micro
to: assisted-disconnected-ui
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
tests:
- as: lint
commands: yarn lint:all
container:
from: assisted-disconnected-ui
zz_generated_metadata:
branch: master
org: openshift-assisted
repo: assisted-installer-ui
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
presubmits:
openshift-assisted/assisted-installer-ui:
- agent: kubernetes
always_run: true
branches:
- ^master$
- ^master-
cluster: build03
context: ci/prow/images
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-assisted-assisted-installer-ui-master-images
rerun_command: /test images
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --target=[images]
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )images,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- ^master$
- ^master-
cluster: build03
context: ci/prow/lint
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-assisted-assisted-installer-ui-master-lint
rerun_command: /test lint
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --target=lint
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )lint,?($|\s.*)
6 changes: 4 additions & 2 deletions core-services/image-mirroring/_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -495,8 +495,8 @@ supplementalCIImages:
image: quay.io/edge-infrastructure/assisted-service-index:ocm-2.12
edge-infrastructure/assisted-service-index:ocm-2.13:
image: quay.io/edge-infrastructure/assisted-service-index:ocm-2.13
edge-infrastructure/nodejs-16:latest:
image: registry.access.redhat.com/ubi8/nodejs-16:latest
edge-infrastructure/nodejs-18-minimal:latest:
image: registry.access.redhat.com/ubi9/nodejs-18-minimal:latest
logging/mirror-5.y:lokistack-gateway:
image: quay.io/observatorium/api:latest
logging/mirror-5.y:opa-openshift:
Expand Down Expand Up @@ -539,6 +539,8 @@ supplementalCIImages:
image: registry.access.redhat.com/ubi9/ruby-31:latest
ocp/ubi-micro:8:
image: registry.access.redhat.com/ubi8/ubi-micro:latest
ocp/ubi-micro:9:
image: registry.access.redhat.com/ubi9/ubi-micro:latest
ocp/openshift-docs-asciidoc:latest:
image: quay.io/redhat-docs/openshift-docs-asciidoc:latest
ocp/openshift-docs-asciidoc:test:
Expand Down

0 comments on commit 8c01605

Please sign in to comment.