Skip to content

Instantly share code, notes, and snippets.

@ashphy
Created October 14, 2017 14:58
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 ashphy/1721f4192e7088a3ba49f47d2395d769 to your computer and use it in GitHub Desktop.
Save ashphy/1721f4192e7088a3ba49f47d2395d769 to your computer and use it in GitHub Desktop.
pipeline:
restore-cache:
image: plugins/s3-cache:1
pull: true
endpoint: http://minio:9000
access_key: DRONE
secret_key: DRONEDRONE
restore: true
build:
image: node
commands:
- npm install
rebuild-cache:
image: plugins/s3-cache:1
pull: true
endpoint: http://minio:9000
access_key: DRONE
secret_key: DRONEDRONE
rebuild: true
mount:
- node_modules
flush_cache:
image: plugins/s3-cache:1
pull: true
endpoint: http://minio:9000
access_key: DRONE
secret_key: DRONEDRONE
flush: true
flush_age: 14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment