Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

Commit

Permalink
Always flush memcache after deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
petele committed Oct 16, 2018
1 parent 803f8ef commit 13ae175
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -24,6 +24,7 @@ script:
after_success:
- ./tools/travis/deploy-master.sh
- ./tools/travis/deploy-pr.sh
- ./tools/travis/flush-memcache.sh
- node ./tools/travis/removeStagedPRs.js
branches:
only:
Expand Down
4 changes: 0 additions & 4 deletions tools/travis/deploy-master.sh
Expand Up @@ -31,7 +31,3 @@ fi
# Deploy to AppEngine
echo "Deploying to AppEngine (master)..."
$HOME/google-cloud-sdk/bin/gcloud app deploy app.yaml -q --no-promote --version master

# Flush the MemCache
echo "Flushing MemCache..."
curl https://$AE_APP_ID.appspot.com/flushMemCache
9 changes: 9 additions & 0 deletions tools/travis/flush-memcache.sh
@@ -0,0 +1,9 @@
#!/bin/bash

#
# Flush MemCache after deployment
#

# Flush the MemCache
echo "Flushing MemCache..."
curl https://$AE_APP_ID.appspot.com/flushMemCache

0 comments on commit 13ae175

Please sign in to comment.