Sha256: 24df68350cc78de90b6372c598c09e7fa335b79212a18e1148cceae9b0944fb0
Contents?: true
Size: 585 Bytes
Versions: 32
Compression:
Stored size: 585 Bytes
Contents
module Souls module Gcloud module Run class << self def awake(app_name: "souls-app", url: "") app_name = Souls.configuration.app if app_name.blank? system( "gcloud scheduler jobs create http #{app_name}-awake --schedule '0,10,20,30,40,50 * * * *' --uri #{url} --http-method GET" ) end def list(project_id: "") project_id = Souls.configuration.project_id if project_id.blank? system("gcloud run services list --project #{project_id}") end end end end end
Version data entries
32 entries across 32 versions & 1 rubygems