Skip to content

Commit

Permalink
Remove openshift-service-mesh sail-operator nightly-images job (opens…
Browse files Browse the repository at this point in the history
…hift#58104)

Signed-off-by: bmangoen <[email protected]>
Co-authored-by: bmangoen <[email protected]>
  • Loading branch information
2 people authored and obochan-rh committed Oct 31, 2024
1 parent bb9dc8b commit 833b0c3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 146 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -378,74 +378,6 @@ tests:
memory: 100Mi
timeout: 2h0m0s
workflow: servicemesh-istio-e2e-hypershift
- as: nightly-images
cron: 00 03 * * *
steps:
cluster_profile: ossm-aws
dependencies:
RELEASE_IMAGE_LATEST: release:latest
env:
BASE_DOMAIN: servicemesh.devcluster.openshift.com
HYPERSHIFT_HC_RELEASE_IMAGE: quay.io/openshift-release-dev/ocp-release:4.16.5-multi
MAISTRA_BUILDER_IMAGE: registry.ci.openshift.org/ci/maistra-builder:upstream-master
MAISTRA_NAMESPACE: maistra-nightly-images
MAISTRA_SC_POD: maistra-nightly-images-pod
test:
- as: copy-src
cli: latest
commands: |
# copy the script to privileged pod
# SRC_PATH does end with /. : the content of the source directory is copied into dest directory
oc cp ./. "${MAISTRA_NAMESPACE}"/"${MAISTRA_SC_POD}":/work/
env:
- name: MAISTRA_NAMESPACE
- name: MAISTRA_SC_POD
from: src
resources:
requests:
cpu: 100m
memory: 100Mi
timeout: 10m0s
- as: build
cli: latest
commands: |
export QUAY_PASS=$(cat /quay-secret/password)
export GITHUB_TOKEN=$(cat /creds-github/token)
# login to quay.io in the privileged pod
oc rsh -n "${MAISTRA_NAMESPACE}" "${MAISTRA_SC_POD}" \
docker login -u='maistra-dev+prow' \
-p=${QUAY_PASS} quay.io
# build and push images and publish the bundle into OperatorHub
oc rsh -n "${MAISTRA_NAMESPACE}" "${MAISTRA_SC_POD}" \
entrypoint \
sh -c \
"git config --global user.email '[email protected]'; \
git config --global user.name 'Jonh Wendell'; \
cd /work && \
export BUILD_WITH_CONTAINER="0" && \
export VERSIONS_YAML_FILE=versions.yaml && \
rm Makefile.vendor.mk bundle/**/*.yaml && \
# generate everything using versions.yaml not ossm/versions.yaml
make gen && \
make -e GITHUB_TOKEN=${GITHUB_TOKEN} -e NIGHTLY=true docker-buildx bundle-publish-nightly"
oc cp "${MAISTRA_NAMESPACE}"/"${MAISTRA_SC_POD}":"${ARTIFACT_DIR}"/. "${ARTIFACT_DIR}"
credentials:
- mount_path: /quay-secret
name: quay-pass
namespace: test-credentials
- mount_path: /creds-github
name: ossm-github
namespace: test-credentials
env:
- name: MAISTRA_NAMESPACE
- name: MAISTRA_SC_POD
from: src
resources:
requests:
cpu: 100m
memory: 100Mi
timeout: 2h0m0s
workflow: servicemesh-istio-e2e-hypershift
zz_generated_metadata:
branch: main
org: openshift-service-mesh
Expand Down
Original file line number Diff line number Diff line change
@@ -1,82 +1,4 @@
periodics:
- agent: kubernetes
cluster: build03
cron: 00 03 * * *
decorate: true
decoration_config:
skip_cloning: true
extra_refs:
- base_ref: main
org: openshift-service-mesh
repo: sail-operator
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: ossm-aws
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-openshift-service-mesh-sail-operator-main-nightly-images
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --secret-dir=/usr/local/nightly-images-cluster-profile
- --target=nightly-images
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /usr/local/nightly-images-cluster-profile
name: cluster-profile
- 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: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: cluster-profile
secret:
secretName: cluster-secrets-ossm-aws
- 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
- agent: kubernetes
cluster: build01
cron: 00 0,3,6,9,12,15,18,21 * * 1-5
Expand Down

0 comments on commit 833b0c3

Please sign in to comment.