This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apc package build --name java-1.8 java-package.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "java-1.8" | |
| version: "1.8.77" | |
| provides [ | |
| { runtime: "java" }, | |
| { runtime: "java-1" }, | |
| { runtime: "java-1.8" }, | |
| { runtime: "java-1.8.0" }, | |
| { runtime: "java-1.8.0_77" } ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ apc app create rubytest --staging=ruby | |
| ... | |
| Packaging... done | |
| Uploading package... done | |
| [STAGING] Subscribing to the staging process... | |
| [STAGING] Beginning staging with 'ruby' pipeline, 2 stager(s) defined. | |
| [STAGING] Launching instance of stager 'ruby'... | |
| [STAGING] Downloading package for processing... | |
| [STAGING] Found Rack application | |
| [STAGING] Stager needs relaunching |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| export TMPDIR=/tmp | |
| # Download the package to stage | |
| echo "Downloading to /app" | |
| curl $STAGER_URL/data > $TMPDIR/raw.tar.gz 2>/dev/null | |
| cd /app |
NewerOlder