diff --git a/.obs/add_package.py b/.obs/add_package.py index a0ee75f..c2c6e21 100755 --- a/.obs/add_package.py +++ b/.obs/add_package.py @@ -26,20 +26,6 @@ def add_package_to_workflow(name: str): } ) modified = True - if not any( - x - for x in workflows["refresh_factory"]["steps"] - if x["trigger_services"]["package"] == name - ): - workflows["refresh_factory"]["steps"].append( - { - "trigger_services": { - "project": PROJECT, - "package": name, - } - } - ) - modified = True if modified: with open(".obs/workflows.yml", "w") as wf_file: yaml.dump(workflows, wf_file) diff --git a/.obs/delete_package.py b/.obs/delete_package.py index ffb60bd..3cfdf6d 100755 --- a/.obs/delete_package.py +++ b/.obs/delete_package.py @@ -16,11 +16,6 @@ def delete_package_from_workflow(name: str): for x in workflows["staging_build"]["steps"] if x["branch_package"]["source_package"] != name ] - workflows["refresh_factory"]["steps"] = [ - x - for x in workflows["refresh_factory"]["steps"] - if x["trigger_services"]["package"] != name - ] with open(".obs/workflows.yml", "w") as wf_file: yaml.dump(workflows, wf_file) diff --git a/.obs/workflows.yml b/.obs/workflows.yml index 2e0073a..f8e43ae 100644 --- a/.obs/workflows.yml +++ b/.obs/workflows.yml @@ -1,96 +1,3 @@ -refresh_factory: - filters: - branches: - only: main - event: push - steps: - - trigger_services: - package: endpoint-copier-operator - project: isv:SUSE:Edge:Factory - - trigger_services: - package: endpoint-copier-operator-image - project: isv:SUSE:Edge:Factory - - trigger_services: - package: endpoint-copier-operator-chart - project: isv:SUSE:Edge:Factory - - trigger_services: - package: akri - project: isv:SUSE:Edge:Factory - - trigger_services: - package: akri-agent-image - project: isv:SUSE:Edge:Factory - - trigger_services: - package: akri-chart - project: isv:SUSE:Edge:Factory - - trigger_services: - package: akri-controller-image - project: isv:SUSE:Edge:Factory - - trigger_services: - package: akri-dashboard-extension-chart - project: isv:SUSE:Edge:Factory - - trigger_services: - package: akri-debug-echo-discovery-handler-image - project: isv:SUSE:Edge:Factory - - trigger_services: - package: akri-onvif-discovery-handler-image - project: isv:SUSE:Edge:Factory - - trigger_services: - package: akri-opcua-discovery-handler-image - project: isv:SUSE:Edge:Factory - - trigger_services: - package: akri-udev-discovery-handler-image - project: isv:SUSE:Edge:Factory - - trigger_services: - package: akri-webhook-configuration-image - project: isv:SUSE:Edge:Factory - - trigger_services: - package: obs-service-set_version - project: isv:SUSE:Edge:Factory - - trigger_services: - package: cosign - project: isv:SUSE:Edge:Factory - - trigger_services: - package: frr-k8s - project: isv:SUSE:Edge:Factory - - trigger_services: - package: cluster-api - project: isv:SUSE:Edge:Factory - - trigger_services: - package: cluster-api-operator - project: isv:SUSE:Edge:Factory - - trigger_services: - package: kubectl - project: isv:SUSE:Edge:Factory - - trigger_services: - package: upgrade-controller - project: isv:SUSE:Edge:Factory - - trigger_services: - package: cluster-api-provider-rke2 - project: isv:SUSE:Edge:Factory - - trigger_services: - package: nm-configurator - project: isv:SUSE:Edge:Factory - - trigger_services: - package: kube-rbac-proxy - project: isv:SUSE:Edge:Factory - - trigger_services: - package: edge-image-builder - project: isv:SUSE:Edge:Factory - - trigger_services: - package: metallb - project: isv:SUSE:Edge:Factory - - trigger_services: - package: hauler - project: isv:SUSE:Edge:Factory - - trigger_services: - package: ip-address-manager - project: isv:SUSE:Edge:Factory - - trigger_services: - package: baremetal-operator - project: isv:SUSE:Edge:Factory - - trigger_services: - package: cluster-api-provider-metal3 - project: isv:SUSE:Edge:Factory staging_build: filters: event: pull_request