Skip to content

Pass app.yaml config to the adapter #61

@jameslounds

Description

@jameslounds

I intend on making a PR to implement this, but figured an issue first for thoughts would make sense.

I'm using this for a project, and I need to create an extra script to run after building to add some extra stuff to the app.yaml - some of these things are variable like env_variables, or service (dev, staging or prod).

I think it would be useful for the adapter to accept another argument, which will be dumped as yaml into the resulting app.yaml

kit: {
  adapter: appengine('build', [], {
    service:  process.env.SERVICE ,
    instance_class: "F4",
    automatic_scaling: {
      min_instances: 1
    },
    inbound_services: [ "warmup" ]
  })
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions