ci: remove server-build-* resources from non-prod pipelines
Below resources are only used by the "Publish Server Builds" job, which
is only enabled on prod pipelines, so we should remove these resources
from non-prod pipelines otherwise they will cause errors when
set-pipeline.
server-build-centos6
server-build-centos7
server-build-ubuntu18.04
@@ -527,6 +527,7 @@ resources:
regexp: server/published/master/server-build-(.*)-rhel6_x86_64((rc-build-type-gcs)).tar.gz
{% endif %}
+{% endif %}
{% endif %}
{% if pipeline_configuration == "prod" %}
- name: bin_gpdb_centos6_icw_green
@@ -614,6 +615,7 @@ resources:
regexp: server/published/master/server-build-(.*)-rhel7_x86_64((rc-build-type-gcs)).tar.gz
{% endif %}
+{% endif %}
{% endif %}
{% if "ubuntu18.04" in os_types %}
- name: bin_gpdb_ubuntu18.04
@@ -639,6 +641,7 @@ resources:
regexp: server/published/master/server-build-(.*)-ubuntu18.04_x86_64((rc-build-type-gcs)).tar.gz
{% endif %}
+{% endif %}
{% endif %}
{% if "win" in os_types %}
- name: terraform_windows
