Skip to content

Commit

Permalink
clean up .prow.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: pyalex <[email protected]>
  • Loading branch information
pyalex committed Jan 19, 2022
1 parent 05f4e8f commit 1f3a595
Showing 1 changed file with 0 additions and 126 deletions.
126 changes: 0 additions & 126 deletions .prow.yaml
Original file line number Diff line number Diff line change
@@ -1,102 +1,4 @@
presubmits:
- name: test-core-and-ingestion
decorate: true
spec:
containers:
- image: maven:3.6-jdk-11
command: ["infra/scripts/test-java-core-ingestion.sh"]
resources:
requests:
cpu: "2000m"
memory: "1536Mi"
skip_branches:
- ^v0\.(3|4)-branch$

- name: test-core-and-ingestion-java-8
decorate: true
always_run: true
spec:
containers:
- image: maven:3.6-jdk-8
command: ["infra/scripts/test-java-core-ingestion.sh"]
resources:
requests:
cpu: "2000m"
memory: "1536Mi"
branches:
- ^v0\.(3|4)-branch$

- name: test-serving
decorate: true
spec:
containers:
- image: maven:3.6-jdk-11
command: ["infra/scripts/test-java-serving.sh"]
skip_branches:
- ^v0\.(3|4)-branch$

- name: test-serving-java-8
decorate: true
always_run: true
spec:
containers:
- image: maven:3.6-jdk-8
command: ["infra/scripts/test-java-serving.sh"]
branches:
- ^v0\.(3|4)-branch$

- name: test-java-sdk
decorate: true
spec:
containers:
- image: maven:3.6-jdk-11
command: ["infra/scripts/test-java-sdk.sh"]
skip_branches:
- ^v0\.(3|4)-branch$

- name: test-java-sdk-java-8
decorate: true
always_run: true
spec:
containers:
- image: maven:3.6-jdk-8
command: ["infra/scripts/test-java-sdk.sh"]
branches:
- ^v0\.(3|4)-branch$

- name: test-golang-sdk
decorate: true
spec:
containers:
- image: golang:1.13
command: ["infra/scripts/test-golang-sdk.sh"]

postsubmits:
- name: publish-python-sdk
decorate: true
spec:
containers:
- image: python:3
command:
- sh
- -c
- |
make package-protos && make compile-protos-python && infra/scripts/publish-python-sdk.sh \
--directory-path sdk/python --repository pypi
volumeMounts:
- name: pypirc
mountPath: /root/.pypirc
subPath: .pypirc
readOnly: true
volumes:
- name: pypirc
secret:
secretName: pypirc
branches:
# Filter on tags with semantic versioning, prefixed with "v"
# https://github.com/semver/semver/issues/232
- ^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(-(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(\.(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*)?(\+[0-9a-zA-Z-]+(\.[0-9a-zA-Z-]+)*)?$

- name: publish-java-sdk
decorate: true
spec:
Expand Down Expand Up @@ -128,31 +30,3 @@ postsubmits:
branches:
# Filter on tags with semantic versioning, prefixed with "v".
- ^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(-(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(\.(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*)?(\+[0-9a-zA-Z-]+(\.[0-9a-zA-Z-]+)*)?$

- name: publish-java-8-sdk
decorate: true
spec:
containers:
- image: maven:3.6-jdk-8
command:
- bash
- -c
- infra/scripts/publish-java-sdk.sh --revision ${PULL_BASE_REF:1}
volumeMounts:
- name: gpg-keys
mountPath: /etc/gpg
readOnly: true
- name: maven-settings
mountPath: /root/.m2/settings.xml
subPath: settings.xml
readOnly: true
volumes:
- name: gpg-keys
secret:
secretName: gpg-keys
- name: maven-settings
secret:
secretName: maven-settings
branches:
# Filter on tags with semantic versioning, prefixed with "v". v0.3 and v0.4 only.
- ^v0\.(3|4)\.(0|[1-9]\d*)(-(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(\.(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*)?(\+[0-9a-zA-Z-]+(\.[0-9a-zA-Z-]+)*)?$

0 comments on commit 1f3a595

Please sign in to comment.