appsembler / configuration

a simple, but flexible, way for anyone to stand up an instance of the edX platform that is fully configured and ready-to-go
GNU Affero General Public License v3.0
15 stars 13 forks source link

RED-1961 fix undefined variable #363

Closed OmarIthawi closed 3 years ago

OmarIthawi commented 3 years ago

also refactored the two steps into a single step

Fixes:

TASK [edxapp : sync LMS webpack-stats.json file]
fatal: [...]: FAILED! => {"msg": "The conditional check 'item != \"lms-preview\"' failed. The error was: error while evaluating conditional (item != \"lms-preview\"): 'item' is undefined\n\nThe error appears to be in 'roles/edxapp/tasks/service_variant_config.yml': line 543, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: sync LMS webpack-stats.json file\n  ^ here\n"}

Related build: https://console.cloud.google.com/cloud-build/builds;region=global/5c146664-c8f9-4d0e-8f92-c8dd63492f59?project=appsembler-tahoe-0