NCAR / wrfcloud

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

Set up CI #2

Closed jwolff-ncar closed 2 years ago

fossell commented 2 years ago

Codebuild is implemented on AWS, need to integrate into GitHub. Codecov.io is also running. @JohnHalleyGotway - Will check to see if the results of these tests can be integrated into GitHub.

JohnHalleyGotway commented 2 years ago
JohnHalleyGotway commented 2 years ago

Inspecting AWS wrfcloud code builds, I note that the behavior changed between run numbers 161 and 162. The latter introduced an authentication error:

[Container] 2022/09/20 20:28:07 Waiting for DOWNLOAD_SOURCE
--
4 | authentication required for primary source and source version 2683de9e84dfaf842fc0cdec44739505a6fb760e

Attempting to follow this example to re-authenticate to GitHub results in this error:

User: arn:aws:iam::119569266530:user/johnhg-wrfcloud is not authorized to perform: iam:CreatePolicyVersion on resource: policy CodeBuildBasePolicy-wrfcloud-us-east-2 because no identity-based policy allows the iam:CreatePolicyVersion action

I suspect I don't have the correct AWS permissions to update this.