Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

Commit

Permalink
added another deployment example [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
farshidtz committed Aug 3, 2019
1 parent 7ef60e1 commit b5ade9a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions examples/orders/zip-deploy-python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
source:
zip: UEsDBAoAAAAAABRTA08AAAAAAAAAAAAAAAAHAAAAcHl0aG9uL1BLAwQKAAAAAAAUUwNP3W7joOAAAADgAAAAGAAAAHB5dGhvbi9jb3VudF90b190b3RhbC5weSMhL3Vzci9iaW4vZW52IHB5dGhvbgppbXBvcnQganNvbgoKd2l0aCBvcGVuKCdjb25maWcuanNvbicpIGFzIGNvbmZpZ19maWxlOgogICAgY29uZmlnID0ganNvbi5sb2FkKGNvbmZpZ19maWxlKQogICAgcHJpbnQgKCJsb2FkZWQgY29uZmlnIGZpbGU6ICVzIiAlIGNvbmZpZykKCmZvciBpIGluIHJhbmdlKDEsIGNvbmZpZ1sndG90YWwnXSsxKToKICAgIHByaW50KCJoZWxsbyAlZCIgJSAoaSkpUEsDBAoAAAAAABRTA0+qp6fkEAAAABAAAAASAAAAcHl0aG9uL2NvbmZpZy5qc29uewogICJ0b3RhbCI6IDMKfVBLAQIUAAoAAAAAABRTA08AAAAAAAAAAAAAAAAHAAAAAAAAAAAAEAAAAAAAAABweXRob24vUEsBAhQACgAAAAAAFFMDT91u46DgAAAA4AAAABgAAAAAAAAAAAAAAAAAJQAAAHB5dGhvbi9jb3VudF90b190b3RhbC5weVBLAQIUAAoAAAAAABRTA0+qp6fkEAAAABAAAAASAAAAAAAAAAAAAAAAADsBAABweXRob24vY29uZmlnLmpzb25QSwUGAAAAAAMAAwC7AAAAewEAAAAA

deploy:
install:
commands:
- chmod +x count_to_total.py

run:
commands:
- ./count_to_total

target:
ids:
tags:
- swarm

debug: true

0 comments on commit b5ade9a

Please sign in to comment.