Ternyata memasang Mailcatcher tidak semengerikan seperti yang sebelumnya saya duga.
- Dapat dijadikan mail client untuk urusan local development
- Dapat dijadikan mail client untuk Integration Test: kita dapat memeriksa apakah emailnya benar
| Vagrant.configure(2) do |config| | |
| ... | |
| id_rsa_pub = File.read("#{Dir.home}/.ssh/id_rsa.pub") | |
| config.vm.provision "copy ssh public key", type: "shell", | |
| inline: "echo \"#{id_rsa_pub}\" >> /home/vagrant/.ssh/authorized_keys" | |
| end |
| # The initial version | |
| if [ ! -f .env ] | |
| then | |
| export $(cat .env | xargs) | |
| fi | |
| # My favorite from the comments. Thanks @richarddewit & others! | |
| set -a && source .env && set +a |
| # accesslog2csv: Convert default, unified access log from Apache, Nginx | |
| # servers to CSV format. | |
| # | |
| # Original source by Maja Kraljic, July 18, 2017 | |
| # Modified by Joshua Wright to parse all elements in the HTTP request as | |
| # different columns, December 16, 2019 | |
| import csv | |
| import re |
| ## --------------------------------------------------------------------------------- | |
| ## Get helmfile binary: https://github.com/roboll/helmfile/releases/latest | |
| ## Run it: | |
| ## $ helmfile --namespace ${NAMESPACE} -f ./demo_helmfile.yaml --interactive apply | |
| ## --------------------------------------------------------------------------------- | |
| repositories: | |
| - name: nicholaswilde | |
| url: https://nicholaswilde.github.io/helm-charts/ | |
| - name: bitnami |