s_("HarborIntegration|Use Harbor as this project's container registry.")
end
defhelp
s_("HarborIntegration|After the Harbor integration is activated, global variables ‘$HARBOR_USERNAME’, ‘$HARBOR_PASSWORD’, ‘$HARBOR_URL’ and ‘$HARBOR_PROJECT’ will be created for CI/CD use.")
end
class<<self
defto_param
name.demodulize.downcase
end
defsupported_events
[]
end
defsupported_event_actions
[]
end
end
deftest(*_args)
client.ping
end
deffields
[
{
type:'text',
name:'url',
title:s_('HarborIntegration|Harbor URL'),
placeholder:'https://demo.goharbor.io',
help:s_('HarborIntegration|Base URL of the Harbor instance.'),