Skip to content

Instantly share code, notes, and snippets.

@kwa29
Created December 15, 2017 17:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kwa29/f5acec5e062576a7f35c990f4884b1cd to your computer and use it in GitHub Desktop.
Save kwa29/f5acec5e062576a7f35c990f4884b1cd to your computer and use it in GitHub Desktop.
###################################
#
# Recipe to have happiest dev
#
###############################
########
# Cake #
########
)
(.)
.|.
l8J
| |
_.--| |--._
.-'; ;`-'& ; `&.
& & ; & ; ; \
\ ; & &_/
F"""---...---"""J
| | | | | | | | |
J | | | | | | | F
`---.|.|.|.---'
-------
APP/ --> $app_name-$release.zip CONFIG/ --> $app_name-$release-config.zip App.yml --> $app_name-$release-manifest.zip
-------
###########
# Ansible #
###########
////////////////////////
////////////////////////|
//////////////////////// |
////////////////////////| |
| _\/_ | _\/_ | |
| )o(> | <)o( | |
| _/ <\ | /> \_ | |
| (_____) | (_____) | |_
| ~~~oOo~~~ | ~~~0oO~~~ |/__|
_|====\_=====|=====_/====|_ ||
|_|\_________ O _________/|_|||
||//////////|_|\\\\\\\\\\|| ||
|| || |\_\\ || ||
||/|| \\_\\ ||/||
||/|| \)_\) ||/||
|| || \ o / || ||
|| \ / || LGB
||
||
________
\________/======
/ ( || ) \
--------
APP/ --> Copy to the targeted host
CONFIG/ --> Transformed using placeholders and Manifest file vaulted
App.yml --> Get value for Kubernetes Orchestration/Docker/IIS
----------
__..--"".--.`""--..__
_..--" _.--/ \''--. "--..
.' .--. '-..-' ) (``\ '.
| .--''/ \-'''-. __.-' _.' ) |
;\ ( '-..-' ) _.-' _.-' /;
\'-:-._ _.._.-''` ( ,.-' _.-'/
'-._ ``--`..___ __:.--''``_.-'
``--..___ ````` __..--``
##################
# Targeted Hosts #
##################
----------
APP/ --> Deployed under C:/release/app_name/App (windows) or /App (linux)
CONFIG/ ---> Deployed under C:/release/app_name/Config | /Config/ app_name-env.(json|config|xml)
App.yml ---> Deployed under Kubernetes sets (deployment), docker running command, IIS specific configuration
-----------
_, . '__ .
'_(_0o),(__)o().
,o(__),_)o(_)O,(__)o
o(_,-o(_ )(),(__(_)oO)_
.O(__)o,__).(_ )o(_)Oo_)
.----| | | | | |_)0
/ .--| | | | | |,_)
| / | | | | | |o(_)
| | | | | | | |_/`)
| | | | | | | |O_)
| | | | | | | |
| \ | | | | | |
\ '--| | | | | |
'----| | | | | |
| | | | | |
\ \ \ / / /
`"""""""""""""""""`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment