~comcloudway/builds.sr.ht

440ff2bbd5aeae69d29e18314ab9fdd4eef8ab81 — Josh Soref 1 year, 2 months ago 9b0fdf5
spelling: submitted

Signed-off-by: Josh Soref <jsoref@gmail.com>
2 files changed, 2 insertions(+), 2 deletions(-)

M api/graph/celery.go
M buildsrht/runner.py
M api/graph/celery.go => api/graph/celery.go +1 -1
@@ 12,7 12,7 @@ import (

var (
	buildsSubmitted = promauto.NewCounter(prometheus.CounterOpts{
		Name: "buildsrht_builds_submited_total",
		Name: "buildsrht_builds_submitted_total",
		Help: "Number of builds submitted",
	})
)

M buildsrht/runner.py => buildsrht/runner.py +1 -1
@@ 20,7 20,7 @@ runner = Celery('builds', broker=builds_broker, config_source={
})

builds_queue_metrics_collector = RedisQueueCollector(builds_broker, "buildsrht_builds", "Number of builds currently in queue")
builds_submitted = Counter("buildsrht_builds_submited", "Number of builds submitted")
builds_submitted = Counter("buildsrht_builds_submitted", "Number of builds submitted")

def submit_build(user, manifest, note=None, tags=[], visibility=None):
    resp = exec_gql("builds.sr.ht", """