Пример #1
0
 def _tag_match(self, tag_str):
     return is_match(regexify, self.image_tag, tag_str)
Пример #2
0
 def matches(self, fired_trigger_obj):
     return self.gate == fired_trigger_obj.trigger.gate_cls.__gate_name__.lower() and \
            (self.trigger_id == fired_trigger_obj.id or is_match(regexify, self.trigger_id, fired_trigger_obj.id))
Пример #3
0
 def _repository_match(self, repository_str):
     return is_match(regexify, self.repository, repository_str)