Skip to content

Commit

Permalink
💚 Fix CI failures from unparseable Makefile
Browse files Browse the repository at this point in the history
i.e.,
```
Run make provision-environment
  make provision-environment
  shell: /usr/bin/bash -e {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.9.5/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.9.5/x64/lib
Makefile:153: *** missing separator.  Stop.
Error: Process completed with exit code 2.
```

Runs fine locally with same shell and flag, expediently fixing error by
marking template as a comment. We must live with an extraneous hash
symbol.
  • Loading branch information
TeoZosa committed May 22, 2021
1 parent 39061d5 commit a804e92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions {{cookiecutter.project_slug}}/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ bump-commit-and-push-project-version-number-%:
|| git checkout HEAD -- $(VERSION_NUM_FILE) # Rollback `VERSION_NUM_FILE` file on failure

{% set PROJECT_TYPE = 'jupyter' if cookiecutter.jupyter_notebook_support == 'yes' else 'project' %}

.PHONY: deploy-{{ PROJECT_TYPE }}-docker-container-local
## Deploy locally-built dockerized {{ PROJECT_TYPE }} environment with preloaded dependencies
deploy-{{ PROJECT_TYPE }}-docker-container-local: build-container deploy-container
Expand Down

0 comments on commit a804e92

Please sign in to comment.