Skip to content

Commit

Permalink
Enable Docker CI
Browse files Browse the repository at this point in the history
  • Loading branch information
AshwinHIBM committed Dec 9, 2024
1 parent f40c3e4 commit 6c2c9b3
Showing 1 changed file with 207 additions and 0 deletions.
207 changes: 207 additions & 0 deletions config/jobs/periodic/docker/periodic-ci-docker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,207 @@
periodics:
- name: periodic-config-docker
cluster: k8s-ppc64le-cluster
labels:
preset-build-docker: "true"
cron: 0 0 * * *
decorate: true
extra_refs:
- base_ref: main
org: ppc64le-cloud
repo: docker-ce-build
reporter_config:
slack:
channel: 'prow-job-notifications'
report_template: 'Job {{.Spec.Job}} of type {{.Spec.Type}} ended with state {{.Status.State}}. <!subteam^S02N6DWBX0F> <{{.Status.URL}}|View logs>'
spec:
containers:
- image: quay.io/powercloud/docker-ce-build@sha256:b89afc315f96f5cfd43de82b3b02f9221983592b893f838d816db5954088c9fc
resources:
requests:
cpu: "8000m"
limits:
cpu: "8000m"
command:
- /bin/bash
args:
- -c
- |
set -o errexit
set -o nounset
set -o pipefail
set -o xtrace
echo "* Start prow-info-docker *"
chmod ug+x $PWD/upstream-master-ci/prow-info-docker.sh
$PWD/upstream-master-ci/prow-info-docker.sh
rc=$?
[ $rc != 0 ] && echo "ERROR: prow-info-docker exited with code:$rc"
exit $rc
securityContext:
privileged: true
volumeMounts:
- name: boot
mountPath: /boot
volumes:
- name: boot
hostpath:
path: /boot/
- name: periodic-build-dev-image-docker
cluster: k8s-ppc64le-cluster
labels:
preset-build-docker: "true"
cron: 0 3 * * *
decorate: true
extra_refs:
- base_ref: main
org: ppc64le-cloud
repo: docker-ce-build
reporter_config:
slack:
channel: 'prow-job-notifications'
report_template: 'Job {{.Spec.Job}} of type {{.Spec.Type}} ended with state {{.Status.State}}. <!subteam^S02N6DWBX0F> <{{.Status.URL}}|View logs>'
spec:
containers:
- image: quay.io/powercloud/docker-ce-build@sha256:b89afc315f96f5cfd43de82b3b02f9221983592b893f838d816db5954088c9fc
resources:
requests:
cpu: "8000m"
limits:
cpu: "8000m"
command:
- /bin/bash
args:
- -c
- |
set -o errexit
set -o nounset
set -o pipefail
set -o xtrace
echo "* Start prow-build-dev-image *"
chmod ug+x $PWD/upstream-master-ci/prow-build-dev-image.sh
$PWD/upstream-master-ci/prow-build-dev-image.sh
rc=$?
[ $rc != 0 ] && echo "ERROR: prow-build-dev-image exited with code:$rc"
exit $rc
securityContext:
privileged: true
- name: periodic-unit-test-docker
cluster: k8s-ppc64le-cluster
labels:
preset-build-docker: "true"
cron: 0 9 * * *
decorate: true
extra_refs:
- base_ref: main
org: ppc64le-cloud
repo: docker-ce-build
reporter_config:
slack:
channel: 'prow-job-notifications'
report_template: 'Job {{.Spec.Job}} of type {{.Spec.Type}} ended with state {{.Status.State}}. <!subteam^S02N6DWBX0F> <{{.Status.URL}}|View logs>'
spec:
containers:
- image: quay.io/powercloud/docker-ce-build@sha256:b89afc315f96f5cfd43de82b3b02f9221983592b893f838d816db5954088c9fc
resources:
requests:
cpu: "8000m"
limits:
cpu: "8000m"
command:
- /bin/bash
args:
- -c
- |
set -o errexit
set -o nounset
set -o pipefail
set -o xtrace
echo "* Start prow-unit-test-docker *"
chmod ug+x $PWD/upstream-master-ci/prow-unit-test-docker.sh
$PWD/upstream-master-ci/prow-unit-test-docker.sh
rc=$?
[ $rc != 0 ] && echo "ERROR: prow-unit-test-docker exited with code:$rc"
exit $rc
securityContext:
privileged: true
- name: periodic-integration-cli-docker
cluster: k8s-ppc64le-cluster
labels:
preset-build-docker: "true"
cron: 0 14 * * *
decorate: true
decoration_config:
timeout: 3h
extra_refs:
- base_ref: main
org: ppc64le-cloud
repo: docker-ce-build
reporter_config:
slack:
channel: 'prow-job-notifications'
report_template: 'Job {{.Spec.Job}} of type {{.Spec.Type}} ended with state {{.Status.State}}. <!subteam^S02N6DWBX0F> <{{.Status.URL}}|View logs>'
spec:
containers:
- image: quay.io/powercloud/docker-ce-build@sha256:b89afc315f96f5cfd43de82b3b02f9221983592b893f838d816db5954088c9fc
resources:
requests:
cpu: "2000m"
limits:
cpu: "2000m"
command:
- /bin/bash
args:
- -c
- |
set -o errexit
set -o nounset
set -o pipefail
set -o xtrace
echo "* Start prow-integration-tests *"
chmod ug+x $PWD/upstream-master-ci/prow-integration-cli.sh
$PWD/upstream-master-ci/prow-integration-cli.sh
rc=$?
[ $rc != 0 ] && echo "ERROR: prow-integration-tests exited with code:$rc"
exit $rc
securityContext:
privileged: true
- name: periodic-integration-test-docker
cluster: k8s-ppc64le-cluster
labels:
preset-build-docker: "true"
cron: 30 14 * * *
decorate: true
decoration_config:
timeout: 3h
extra_refs:
- base_ref: main
org: ppc64le-cloud
repo: docker-ce-build
reporter_config:
slack:
channel: 'prow-job-notifications'
report_template: 'Job {{.Spec.Job}} of type {{.Spec.Type}} ended with state {{.Status.State}}. <!subteam^S02N6DWBX0F> <{{.Status.URL}}|View logs>'
spec:
containers:
- image: quay.io/powercloud/docker-ce-build@sha256:b89afc315f96f5cfd43de82b3b02f9221983592b893f838d816db5954088c9fc
resources:
requests:
cpu: "4000m"
limits:
cpu: "4000m"
command:
- /bin/bash
args:
- -c
- |
set -o errexit
set -o nounset
set -o pipefail
set -o xtrace
echo "* Start prow-integration-tests *"
chmod ug+x $PWD/upstream-master-ci/prow-integration-tests.sh
$PWD/upstream-master-ci/prow-integration-tests.sh
rc=$?
[ $rc != 0 ] && echo "ERROR: prow-integration-tests exited with code:$rc"
exit $rc
securityContext:
privileged: true

0 comments on commit 6c2c9b3

Please sign in to comment.