Sha256: c66194309112afd37262f29df9c80b456b78fb6a62cdceb8c964fed0a7f0e768
Contents?: true
Size: 558 Bytes
Versions: 9
Compression:
Stored size: 558 Bytes
Contents
# frozen_string_literal: true module Shipit class DestroyRepositoryJob < BackgroundJob queue_as :default # repository # +-- stacks # +-- api_clients # +-- commits # | +-- commit_deployments # | | +-- statuses # | +-- statuses # +-- github_hooks # +-- hooks # +-- pull_requests # +-- tasks # +-- chunks def perform(repository) repository.stacks.each { |stack| DestroyStackJob.perform_now(stack) } repository.destroy! end end end
Version data entries
9 entries across 9 versions & 1 rubygems