Skip to content

Instantly share code, notes, and snippets.

View Tailzip's full-sized avatar

Antoine Tailzip

  • Zenika
  • Singapore
  • 10:23 (UTC +08:00)
View GitHub Profile
@Tailzip
Tailzip / Dockerfile
Last active July 13, 2022 10:38
Custom Datadog Synthetics Private Location Worker Docker image
FROM datadog/synthetics-private-location-worker:1.0.1
COPY entrypoint.sh /home/dog/custom-entrypoint.sh
ENTRYPOINT ["/home/dog/custom-entrypoint.sh"]
@Tailzip
Tailzip / deploy.rb
Last active August 29, 2015 14:27
Ruby on Rails: Automatically push changes to Git repository before deploying with Capistrano (cap deploy)
# I use this Capistrano task so I don't have manually run 'git push' before 'cap
# deploy'. It includes some error checking to make sure I'm on the right branch
# (master) and haven't got any uncommitted changes.
# Simply add the code below to config/deploy.rb, then run 'cap deploy:push' to
# test it, and 'cap deploy' to deploy as usual.
namespace :deploy do
desc "Push local changes to Git repository"
task :push do