1
0
forked from suse-edge/Factory

Merge branch 'main' into import-3.1

This commit is contained in:
Denislav Prodanov 2024-10-21 16:32:36 +02:00
commit beab68c274
3 changed files with 0 additions and 112 deletions

View File

@ -26,20 +26,6 @@ def add_package_to_workflow(name: str):
} }
) )
modified = True 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: if modified:
with open(".obs/workflows.yml", "w") as wf_file: with open(".obs/workflows.yml", "w") as wf_file:
yaml.dump(workflows, wf_file) yaml.dump(workflows, wf_file)

View File

@ -16,11 +16,6 @@ def delete_package_from_workflow(name: str):
for x in workflows["staging_build"]["steps"] for x in workflows["staging_build"]["steps"]
if x["branch_package"]["source_package"] != name 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: with open(".obs/workflows.yml", "w") as wf_file:
yaml.dump(workflows, wf_file) yaml.dump(workflows, wf_file)

View File

@ -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: staging_build:
filters: filters:
event: pull_request event: pull_request