Giter Site home page Giter Site logo

cloudflare-cache-purge-buildpack's People

Contributors

jamesmartin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cloudflare-cache-purge-buildpack's Issues

Error: bin/compile: 10: export: CF_ZONE_ID,: bad variable name

Hey! great buildpack โ€“ I am getting this error though:

bin/compile: 10: export: CF_ZONE_ID,: bad variable name

I assume the problem is the comma... but I am not sure where it's coming from, export_env_dir looks good to me.

(Yes I have set the env vars)

Script crash in exporting config vars

Hi,
I'm running a Meteor based application.
So, aside all other config vars - who are exported well - I have a config var called METEOR_SETTINGS, containing a bunch of vars in this format:

{
	"aaa": "xxx",
	"bbb": "yyy",
  	"ccc": {
		"cprime" : "xxxx",
		"csecond" : "yyy",
	},
	"public": {
	    "ddd": xxx,
	    "eee": yyyy,
	}
}

When it comes to those vars, the script is failing.
How to fix it? Or why not just looking in the script to vars who are effectively used: CF_AUTH_KEY, CF_EMAIL& CF_ZONE_ID?

Thanks

-----> Cloudflare purgeable cache buildpack... app detected
Exporting CF_AUTH_KEY
Exporting CF_EMAIL
Exporting CF_ZONE_ID
...
/app/tmp/buildpacks/dbad5bf76b26b6ad41469975f5f6c5a8144c5062c6162755e83dc78220a76364b429ca952dea13fcefef5858a70da1bda97341003c9ff4ce50d68d531066ad38/bin/compile: 54: /tmp/d20180214-70-1s9ghp7/env_exports: Kaddress:: not found
/app/tmp/buildpacks/dbad5bf76b26b6ad41469975f5f6c5a8144c5062c6162755e83dc78220a76364b429ca952dea13fcefef5858a70da1bda97341003c9ff4ce50d68d531066ad38/bin/compile: 55: /tmp/d20180214-70-1s9ghp7/env_exports: Syntax error: "}" unexpected
 !     Push rejected, failed to compile Cloudflare purgeable cache buildpack... app.
 !     Push failed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.