Skip to content

Instantly share code, notes, and snippets.

@cassidoo
Last active October 22, 2022 04:12
Show Gist options
  • Star 58 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save cassidoo/49966ff32b1ea676843284c1719662e6 to your computer and use it in GitHub Desktop.
Save cassidoo/49966ff32b1ea676843284c1719662e6 to your computer and use it in GitHub Desktop.
import time
print "..."
time.sleep(1)
print "..."
print "..."
print "..."
print "..."
time.sleep(1)
print "..."
print "..."
time.sleep(1)
print "Production deployed "
print " "
print " "
print " "
print " "
print " "
print " "
print " "
print " "
@apoorvagnihotri
Copy link

apoorvagnihotri commented Jul 26, 2019

Thanks! I hope I will be able to get my head around this soon. Or I might not even try.

@AliceDiNunno
Copy link

I think there is a bug between line 14 and 21

Clearly you can see that there is some carriage return missing 🤔

@vaastav
Copy link

vaastav commented Jul 26, 2019

Breaks with Python 3+ :(

@shaggyfrog
Copy link

Ship it!

@fire9
Copy link

fire9 commented Jul 26, 2019

Just Kidding

@aditya-konarde
Copy link

Its not real production deploys unless you have ascii emoji's involved in deployer script logs

@rubentd
Copy link

rubentd commented Jul 26, 2019

a real serverless architecture everyone!

@Horopter
Copy link

I don't want to be that guy but this is written for python 2. Might face version incompatibility issues later. Better to include parentheses. :)

@sanvishal
Copy link

Where are the Emojis!

@sarasfox
Copy link

I don't want to be that guy but this is written for python 2. Might face version incompatibility issues later. Better to include parentheses. :)

it looks so good in python 2

@HilmiZul
Copy link

⭐️ 14 stars. why?! 😅

ok let me save this to save my deploy 😄👍🏻

@apoorvagnihotri
Copy link

14 stars. why?!

ok let me save this to save my deploy 👍🏻

less right?!? I don't think it's getting the attention it deserves.

@ThomRoman
Copy link

hehehehehhe 🎶🎶

@eimihar
Copy link

eimihar commented Jul 27, 2019

Thank you. This will save many souls that lost in many Fridays. <3

@japzio
Copy link

japzio commented Jul 27, 2019

@swingfox super advanced deploy script

@mzedeler
Copy link

Does anyone know how to port this to bash?

@mikkelrask
Copy link

So forking this 😁

@eapostol
Copy link

I believe forming and merging all these commits with my mission critical software and deploying it int the middle of the day Friday is a wise thing to do

@humblerookie
Copy link

humblerookie commented Jul 27, 2019

Nice also this seemed missing

if date.today().weekday() == 5:        #Fridays must be forbidden
   print(" Nice Try")
   sys.exit()

@igbanam
Copy link

igbanam commented Jul 27, 2019

Clean Code 😎

@diegomichell
Copy link

It's beautiful

@swingfox
Copy link

@swingfox super advanced deploy script

way ahead of our time

@sfxworks
Copy link

Can't wait to containerize this

@itamark
Copy link

itamark commented Jul 28, 2019

I wish I could simply import time.

@kamililyas
Copy link

Needs more cowbell

@neon-ninja
Copy link

neon-ninja commented Aug 5, 2019

Does anyone know how to port this to bash?

Sure - echo ...;sleep 1;echo -e "...\n...\n...\n...";sleep 1;echo -e "...\n...";sleep 1;echo -e "Production deployed\n\n\n\n\n\n\n\n"

@mzedeler

@CRodriguez25
Copy link

A masterpiece

@unmesh-shukla
Copy link

This is unfair. You should have written some documentation for this. How can we earth people comprehend this?

@Sal7one
Copy link

Sal7one commented Apr 14, 2020

It's been 9 months and I'm still struggling to grasp this

@realFranco
Copy link

Omg no way! hahaha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment