NCAR / wrfcloud

WRF Cloud Framework
Apache License 2.0
14 stars 6 forks source link

Bug/95 code build #192

Closed hahnd closed 1 year ago

hahnd commented 1 year ago

Expected Differences

Updated to latest version of buildspec. Added quotes around variables in the buildspec to prevent possible word-splitting. Changed default build branch to "develop". Updated Dockerfile for test container to work with the latest amazonlinux image. This required installing additional OS packages that are no longer present; an d changing how NPM and ng-cli are installed and configured. Fixed the coverage script to include all python files, and do not open a browser window when in the container. Disabled some pylint errors, since we will not have pygrib installed in the container. Commented-out some tests that require access to S3 account resources and beyond. Fixed a DynamoDB test -- table deletion was failing. Added an error at start of Dockerbuild if user is building the image on an ARM architecture. x86_64 is required for AWS CodeBuild compatibility.

** Added code to remove pygrib dependency, as this would require installing compilers in the container and building all grib library dependencies. @fossell - Do we want to spend time on updating the test container?

Pull Request Testing

Pull Request Checklist

Closes #95.