johnandersen777.bsky.social/socialweb-computer-console
console.socialweb.computer: kcp, kubectl and ssh compiled to wasm in a browser tab with a terminal; a kcp fork
0
0
presubmits:
- name: pull-kcp-verify
always_run: true
decorate: true
clone_uri: "https://github.com/kcp-dev/kcp"
labels:
preset-goproxy: "true"
spec:
containers:
- image: ghcr.io/kcp-dev/infra/build:1.26.4-1
command:
- make
- verify-boilerplate
- verify-modules
- verify-k8s-deps
- verify-imports
resources:
requests:
memory: 1Gi
cpu: 1
- name: pull-kcp-verify-codegen
always_run: true
decorate: true
clone_uri: "https://github.com/kcp-dev/kcp"
labels:
preset-goproxy: "true"
spec:
containers:
- image: ghcr.io/kcp-dev/infra/build:1.26.4-1
command:
- make
- verify-codegen
resources:
requests:
memory: 1Gi
cpu: 1
- name: pull-kcp-lint
decorate: true
clone_uri: "https://github.com/kcp-dev/kcp"
skip_if_only_changed: "(docs)"
labels:
preset-goproxy: "true"
spec:
containers:
- image: ghcr.io/kcp-dev/infra/build:1.26.4-1
command:
- make
- lint
resources:
requests:
memory: 4Gi
cpu: 2
- name: pull-kcp-build-image
decorate: true
clone_uri: "https://github.com/kcp-dev/kcp"
skip_if_only_changed: "(docs)"
labels:
preset-goproxy: "true"
spec:
containers:
- image: quay.io/containers/buildah:v1.38.0
command:
- hack/build-image.sh
env:
- name: DRY_RUN
value: "1"
# docker-in-docker needs privileged mode
securityContext:
privileged: true
resources:
requests:
memory: 1Gi
cpu: 1
- name: pull-kcp-test-unit
decorate: true
clone_uri: "https://github.com/kcp-dev/kcp"
skip_if_only_changed: "(docs)"
labels:
preset-goproxy: "true"
spec:
containers:
- image: ghcr.io/kcp-dev/infra/build:1.26.4-1
command:
- make
- test
env:
- name: USE_GOTESTSUM
value: "1"
resources:
requests:
memory: 4Gi
cpu: 2
- name: pull-kcp-test-integration
decorate: true
# only run integration tests if code changed.
run_if_changed: "(cmd|config|pkg|staging|test|go.mod|go.sum|Makefile|.prow.yaml)"
clone_uri: "https://github.com/kcp-dev/kcp"
labels:
preset-goproxy: "true"
spec:
containers:
- image: ghcr.io/kcp-dev/infra/build:1.26.4-1
command:
- ./hack/run-with-prow.sh
- ./hack/run-with-prometheus.sh
- make
- test-integration
env:
- name: USE_GOTESTSUM
value: "1"
- name: KUBE_CACHE_MUTATION_DETECTOR
value: "1"
- name: E2E_PARALLELISM
value: "3"
resources:
requests:
memory: 6Gi
cpu: 4
- name: pull-kcp-test-e2e
decorate: true
# only run e2e tests if code changed.
run_if_changed: "(cmd|config|pkg|staging|test|go.mod|go.sum|Makefile|.prow.yaml)"
clone_uri: "https://github.com/kcp-dev/kcp"
labels:
preset-goproxy: "true"
spec:
containers:
- image: ghcr.io/kcp-dev/infra/build:1.26.4-1
command:
- ./hack/run-with-prow.sh
- ./hack/run-with-prometheus.sh
- make
- test-e2e
env:
- name: USE_GOTESTSUM
value: "1"
- name: KUBE_CACHE_MUTATION_DETECTOR
value: "1"
- name: E2E_PARALLELISM
value: "3"
resources:
requests:
memory: 6Gi
cpu: 4
- name: pull-kcp-test-e2e-multiple-runs
decorate: true
# only run e2e tests if code changed.
run_if_changed: "(cmd|config|pkg|staging|test|go.mod|go.sum|Makefile|.prow.yaml)"
clone_uri: "https://github.com/kcp-dev/kcp"
labels:
preset-goproxy: "true"
spec:
containers:
- image: ghcr.io/kcp-dev/infra/build:1.26.4-1
command:
- ./hack/run-with-prow.sh
- ./hack/run-with-prometheus.sh
- make
- test-e2e
env:
- name: USE_GOTESTSUM
value: "1"
- name: KUBE_CACHE_MUTATION_DETECTOR
value: "1"
- name: COUNT
value: "2"
- name: E2E_PARALLELISM
value: "3"
- name: TEST_ARGS
value: "-timeout 20m"
resources:
requests:
memory: 6Gi
cpu: 4
- name: pull-kcp-test-e2e-shared
decorate: true
# only run e2e tests if code changed.
run_if_changed: "(cmd|config|pkg|staging|test|go.mod|go.sum|Makefile|.prow.yaml)"
clone_uri: "https://github.com/kcp-dev/kcp"
labels:
preset-goproxy: "true"
spec:
containers:
- image: ghcr.io/kcp-dev/infra/build:1.26.4-1
command:
- ./hack/run-with-prow.sh
- ./hack/run-with-prometheus.sh
- make
- test-e2e-shared-minimal
env:
- name: USE_GOTESTSUM
value: "1"
- name: KUBE_CACHE_MUTATION_DETECTOR
value: "1"
- name: E2E_PARALLELISM
value: "3"
resources:
requests:
memory: 6Gi
cpu: 4
- name: pull-kcp-test-e2e-sharded
decorate: true
# only run e2e tests if code changed.
run_if_changed: "(cmd|config|pkg|staging|test|go.mod|go.sum|Makefile|.prow.yaml)"
clone_uri: "https://github.com/kcp-dev/kcp"
labels:
preset-goproxy: "true"
spec:
containers:
- image: ghcr.io/kcp-dev/infra/build:1.26.4-1
command:
- ./hack/run-with-prow.sh
- ./hack/run-with-prometheus.sh
- make
- test-e2e-sharded-minimal
env:
- name: USE_GOTESTSUM
value: "1"
- name: KUBE_CACHE_MUTATION_DETECTOR
value: "1"
- name: E2E_PARALLELISM
value: "3"
resources:
requests:
memory: 6Gi
cpu: 4
# Same suite as pull-kcp-test-e2e-sharded, but each shard runs its own embedded
# virtual workspace server instead of a single standalone VW server. This
# exercises per-shard virtual workspace serving and cross-shard behaviour.
# Marked optional while known cross-shard gaps (e.g. permission-claimed
# resources served across shards) are being addressed.
- name: pull-kcp-test-e2e-sharded-embedded-vw
decorate: true
optional: true
# only run e2e tests if code changed.
run_if_changed: "(cmd|config|pkg|staging|test|go.mod|go.sum|Makefile|.prow.yaml)"
clone_uri: "https://github.com/kcp-dev/kcp"
labels:
preset-goproxy: "true"
spec:
containers:
- image: ghcr.io/kcp-dev/infra/build:1.26.4-1
command:
- ./hack/run-with-prow.sh
- ./hack/run-with-prometheus.sh
- make
- test-e2e-sharded-embedded-vw
env:
- name: USE_GOTESTSUM
value: "1"
- name: KUBE_CACHE_MUTATION_DETECTOR
value: "1"
- name: E2E_PARALLELISM
value: "3"
resources:
requests:
memory: 6Gi
cpu: 4
# Runs the controller-runtime test module (test/controller-runtime, a separate
# Go module that keeps sigs.k8s.io/controller-runtime out of the root go.mod)
# against a 2-shard server.
- name: pull-kcp-test-e2e-sharded-controller-runtime
decorate: true
optional: true
# only run e2e tests if code changed.
run_if_changed: "(cmd|config|pkg|staging|test|go.mod|go.sum|Makefile|.prow.yaml)"
clone_uri: "https://github.com/kcp-dev/kcp"
labels:
preset-goproxy: "true"
spec:
containers:
- image: ghcr.io/kcp-dev/infra/build:1.26.4-1
command:
- ./hack/run-with-prow.sh
- ./hack/run-with-prometheus.sh
- make
- test-e2e-sharded-controller-runtime
env:
- name: USE_GOTESTSUM
value: "1"
- name: KUBE_CACHE_MUTATION_DETECTOR
value: "1"
- name: E2E_PARALLELISM
value: "3"
resources:
requests:
memory: 6Gi
cpu: 4
# Verifies the upgrade path: See test/upgrade/README.md. Marked optional
# while the job is new; it also depends on downloading the latest release
# binary from GitHub.
- name: pull-kcp-test-upgrade
decorate: true
optional: true
# only run upgrade tests if code changed.
run_if_changed: "(cmd|config|pkg|staging|test|go.mod|go.sum|Makefile|.prow.yaml|hack/download-kcp-release.sh)"
clone_uri: "https://github.com/kcp-dev/kcp"
labels:
preset-goproxy: "true"
spec:
containers:
- image: ghcr.io/kcp-dev/infra/build:1.26.4-1
command:
- ./hack/run-with-prow.sh
- make
- test-upgrade
env:
- name: USE_GOTESTSUM
value: "1"
- name: KUBE_CACHE_MUTATION_DETECTOR
value: "1"
resources:
requests:
memory: 6Gi
cpu: 4