Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix interpolation issue in ci.yml #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tumes
Copy link
Contributor

@tumes tumes commented Aug 20, 2024

Attempting to run the cookie cutter runs a command that should actually be output as a string in the generated template.

Attempting to run the cookie cutter runs a command that should actually be output as a string in the generated template.
@darkhelmet
Copy link

Is this the Error message: 'github' is undefined error?

I'm trying move my existing app to Lambda via Lamby and it's such a terrible process. It assumes you're starting from scratch and wants to run the cookie cutter, which doesn't run (error message above) for me, so I can't even get the bunch of files to look at. There doesn't seem to be a bundle exec lamby init action to run as there may have been in the past.

@Ulthran
Copy link

Ulthran commented Oct 3, 2024

+1 to this. I'm just trying to follow the quickstart guide and it fails on the first command:

$ docker run   --rm   --interactive   --volume "${PWD}:/var/task"   ghcr.io/rails-lambda/lamby-cookiecutter   "gh:rails-lambda/lamby-cookiecutter"

project_name [my_awesome_lambda]:
Unable to create file '.github/workflows/ci.yml'
Error message: 'github' is undefined
Context: {
    "cookiecutter": {
        "_output_dir": "/var/task",
        "_template": "gh:rails-lambda/lamby-cookiecutter",
        "project_name": "my_awesome_lambda"
    }
}

This seems to be a fairly established problematic paradigm with cookiecutter (cookiecutter/cookiecutter#1624). With my limited experience with both cookiecutter and rails, I'm confused how this exists and how it's not something everyone runs into. What am I missing here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants