Skip to content

Instantly share code, notes, and snippets.

@agocorona
Last active August 29, 2015 14:08
Show Gist options
  • Save agocorona/58d41bf1cd347808c8c3 to your computer and use it in GitHub Desktop.
Save agocorona/58d41bf1cd347808c8c3 to your computer and use it in GitHub Desktop.
C:\Users\magocoal\OneDrive\Haskell\devel\tryhplay>git push heroku master
Initializing repository, done.
Total 0 (delta 0), reused 0 (delta 0)
-----> Fetching custom git buildpack... done
-----> Haskell app detected
-----> Deploying with Haskell on Heroku
BUILDPACK_URL: http://github.com/mietek/haskel
l-on-heroku
HALCYON_AWS_ACCESS_KEY_ID: AKIAIOPS5GYNUGCDUIZA
HALCYON_AWS_SECRET_ACCESS_KEY: (secret)
HALCYON_S3_ACL: public-read
HALCYON_S3_BUCKET: mflowdemo1
-----> Installing buildpack... done, 3a22893
-----> Installing Halcyon... done, 6463409
-----> Installing bashmenot... done, bb9d0a6
-----> Archiving app source
Creating buildpack-app-source.tar.gz... done, 1.3MB
-----> Deploying app from slug
App label: tryplayground-0.1.0.0
Source hash: 5c5faeb
External storage: private and public
-----> Restoring slug
Downloading s3://mflowdemo1/linux-ubuntu-14.04-x86_64/halcyon-slug-5c5fae
b-tryplayground-0.1.0.0.tar.gz... 404 (not found)
Downloading http://s3.halcyon.sh/linux-ubuntu-14.04-x86_64/halcyon-slug-5
c5faeb-tryplayground-0.1.0.0.tar.gz... 404 (not found)
-----> Deploying app
App label: tryplayground-0.1.0.0
Source hash: 5c5faeb
Constraints hash: aebc015
GHC version: 7.8.3
Cabal version: 1.20.0.3
Cabal repository: Hackage
Sandbox magic hash: 26f4b22
Sandbox extra apps: cpphs-1.18.6
App magic hash: 26f4b22
External storage: private and public
-----> Restoring GHC layer
Downloading s3://mflowdemo1/linux-ubuntu-14.04-x86_64/halcyon-ghc-7.8.3.t
ar.gz... 404 (not found)
Downloading http://s3.halcyon.sh/linux-ubuntu-14.04-x86_64/halcyon-ghc-7.
8.3.tar.gz... done
Uploading s3://mflowdemo1/linux-ubuntu-14.04-x86_64/halcyon-ghc-7.8.3.tar
.gz... done
Extracting halcyon-ghc-7.8.3.tar.gz... done, 701MB
-----> GHC layer restored: 7.8.3
-----> Locating Cabal layers
Listing s3://mflowdemo1/?prefix=linux-ubuntu-14.04-x86_64/halcyon-cabal-1
.20.0.3-hackage-... done
Listing http://s3.halcyon.sh/?prefix=linux-ubuntu-14.04-x86_64/halcyon-ca
bal-1.20.0.3-hackage-... done
-----> Restoring Cabal layer
Downloading s3://mflowdemo1/linux-ubuntu-14.04-x86_64/halcyon-cabal-1.20.
0.3-hackage-2014-11-03.tar.gz... 404 (not found)
Downloading http://s3.halcyon.sh/linux-ubuntu-14.04-x86_64/halcyon-cabal-
1.20.0.3-hackage-2014-11-03.tar.gz... done
Uploading s3://mflowdemo1/linux-ubuntu-14.04-x86_64/halcyon-cabal-1.20.0.
3-hackage-2014-11-03.tar.gz... done
Extracting halcyon-cabal-1.20.0.3-hackage-2014-11-03.tar.gz... done, 167M
B
-----> Cabal layer restored: 1.20.0.3 (Hackage 2014-11-03)
-----> Restoring sandbox layer
Downloading s3://mflowdemo1/linux-ubuntu-14.04-x86_64/ghc-7.8.3/halcyon-s
andbox-aebc015.26f4b22-tryplayground-0.1.0.0.tar.gz... 404 (not found)
Downloading http://s3.halcyon.sh/linux-ubuntu-14.04-x86_64/ghc-7.8.3/halc
yon-sandbox-aebc015.26f4b22-tryplayground-0.1.0.0.tar.gz... done
Uploading s3://mflowdemo1/linux-ubuntu-14.04-x86_64/ghc-7.8.3/halcyon-san
dbox-aebc015.26f4b22-tryplayground-0.1.0.0.tar.gz... done
Extracting halcyon-sandbox-aebc015.26f4b22-tryplayground-0.1.0.0.tar.gz..
. done, 155MB
-----> Sandbox layer restored: tryplayground-0.1.0.0 (aebc015.
26f4b22)
-----> Restoring app layer
Downloading s3://mflowdemo1/linux-ubuntu-14.04-x86_64/ghc-7.8.3/halcyon-a
pp-tryplayground-0.1.0.0.tar.gz... 404 (not found)
Downloading http://s3.halcyon.sh/linux-ubuntu-14.04-x86_64/ghc-7.8.3/halc
yon-app-tryplayground-0.1.0.0.tar.gz... done
Uploading s3://mflowdemo1/linux-ubuntu-14.04-x86_64/ghc-7.8.3/halcyon-app
-tryplayground-0.1.0.0.tar.gz... done
Extracting halcyon-app-tryplayground-0.1.0.0.tar.gz... done, 22MB
-----> App layer restored: tryplayground-0.1.0.0
-----> Examining app changes
* .profile.d/haste.sh
-----> Building app layer
-----> Compiling app
The sandbox was created after the package was already configured.
Re-configuring with most recently used options. If this fails, please run
configure manually.
Resolving dependencies...
Configuring tryplayground-0.1.0.0...
Building tryplayground-0.1.0.0...
Preprocessing executable 'tryplayground' for tryplayground-0.1.0.0...
Linking dist/build/tryplayground/tryplayground ...
-----> App compiled, 28MB
Stripping app layer... done, 22MB
-----> Archiving app layer
Creating halcyon-app-tryplayground-0.1.0.0.tar.gz... done, 5.1MB
Uploading s3://mflowdemo1/linux-ubuntu-14.04-x86_64/ghc-7.8.3/halcyon-app
-tryplayground-0.1.0.0.tar.gz... done
Uploading s3://mflowdemo1/linux-ubuntu-14.04-x86_64/ghc-7.8.3/halcyon-app
-constraints-tryplayground-0.1.0.0.cabal.config... done
-----> App layer installed: tryplayground-0.1.0.0
-----> Building slug
-----> Copying app
-----> App copied, 16MB
-----> Executing slug post-build hook
-----> Preparing slug
haste-compiler version: 0.4.3
hplayground version: 0.1.2.1
-----> Unpacking app
-----> Deploying app from slug
App label: haste-compiler-0.4.3
Source hash: 3c6a845
External storage: private and public
-----> Restoring slug
Downloading s3://mflowdemo1/linux-ubuntu-14.04-x86_64/halcyon-slug
-3c6a845-haste-compiler-0.4.3.tar.gz... 404 (not found)
Downloading http://s3.halcyon.sh/linux-ubuntu-14.04-x86_64/halcyon
-slug-3c6a845-haste-compiler-0.4.3.tar.gz... done
Uploading s3://mflowdemo1/linux-ubuntu-14.04-x86_64/halcyon-slug-3
c6a845-haste-compiler-0.4.3.tar.gz... done
Extracting halcyon-slug-3c6a845-haste-compiler-0.4.3.tar.gz... don
e, 128MB
-----> Slug restored: haste-compiler-0.4.3 (3c
6a845)
-----> Installing hplayground
Writing a default package environment file to
/tmp/halcyon-dummy-sandbox.pgmNSffpII/cabal.sandbox.config
Creating a new sandbox at /tmp/halcyon-dummy-sandbox.pgmNSffpII
Resolving dependencies...
Notice: installing into a sandbox located at
/tmp/halcyon-dummy-sandbox.pgmNSffpII
Downloading acme-dont-1.1...
Configuring acme-dont-1.1...
Building acme-dont-1.1...
Installed acme-dont-1.1
-----> Compiling hplayground
Resolving dependencies...
Downloading haste-perch-0.1.0.4...
Configuring haste-perch-0.1.0.4...
Building haste-perch-0.1.0.4...
Installed haste-perch-0.1.0.4
Downloading hplayground-0.1.2.1...
Configuring hplayground-0.1.2.1...
Building hplayground-0.1.2.1...
Installed hplayground-0.1.2.1
-----> Slug post-build hook executed
Stripping slug... done, 144MB
-----> Archiving slug
Creating halcyon-slug-5c5faeb-tryplayground-0.1.0.0.tar.gz... done, 29MB
Uploading s3://mflowdemo1/linux-ubuntu-14.04-x86_64/halcyon-slug-5c5faeb-
tryplayground-0.1.0.0.tar.gz... done
Listing s3://mflowdemo1/?prefix=linux-ubuntu-14.04-x86_64/halcyon-slug-..
. done
-----> Slug installed: tryplayground-0.1.0.0 (5c5faeb)
-----> App deployed: tryplayground-0.1.0.0
-----> Examining cache changes
+ halcyon-app-tryplayground-0.1.0.0.tar.gz
+ halcyon-cabal-1.20.0.3-hackage-2014-11-03.tar.gz
+ halcyon-ghc-7.8.3.tar.gz
+ halcyon-sandbox-aebc015.26f4b22-tryplayground-0.1.0.0.tar.gz
+ halcyon-slug-3c6a845-haste-compiler-0.4.3.tar.gz
+ halcyon-slug-5c5faeb-tryplayground-0.1.0.0.tar.gz
-----> Deploy finished
-----> To see the deployed app, spin up at least one web dyno:
$ heroku ps:scale web=1
$ heroku open
-----> To run GHCi, use a one-off dyno to restore the app environment:
$ heroku run bash
$ restore
$ cabal repl
-----> Discovering process types
Procfile declares types -> web
-----> Compressing... done, 31.9MB
-----> Launching... done, v9
https://tryplayg1.herokuapp.com/ deployed to Heroku
To git@heroku.com:tryplayg1.git
* [new branch] master -> master
C:\Users\magocoal\OneDrive\Haskell\devel\tryhplay>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment