Azure-Samples / modern-data-warehouse-dataops

DataOps for the Modern Data Warehouse on Microsoft Azure. https://aka.ms/mdw-dataops.
MIT License
570 stars 451 forks source link

./deploy.sh throws unbound variable error #482

Closed AraiYuno closed 2 years ago

AraiYuno commented 2 years ago

Description

image Tried both .devcontainer and normal route on parking_sensors e2e project.

Expected Behavior

It should start the deployment process

Reproduce

  1. Fork the repo
  2. Clone
  3. Update the .envtemplate variables
  4. Go to parking_sensors root folder and run ./deploy.sh

Additional Context

devlace commented 2 years ago

@AraiYuno The error tells me that the GITHUB_REPO environment variable is not set. You need to either set this manually (ei. export GITHUB_REPO=XXX).

If using the devcontainer, you need to create a devcontainer.env based on the .envtemplate, then start the devcontainer. Do not modify the .envtemplate file directly. See this for more info: https://github.com/Azure-Samples/modern-data-warehouse-dataops/blob/main/e2e_samples/parking_sensors/docs/devcontainer.md.