NCAR / wrfcloud

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

AWS CodeBuild fails - need node installed #95

Closed fossell closed 1 year ago

fossell commented 2 years ago

Describe the Problem

The github action for AWS CodeBuild failed for PR #92 which updates documentation from fossell fork. Build phase with error: COMMAND_EXECUTION_ERROR: Error while executing command: npm install. Reason: exit status 254 Suggests the need to install node in the AMI. Should also note this error when pushing the ug_update branch to fossell fork after merging develop branch: ! [remote rejected] update_ug -> update_ug (refusing to allow a Personal Access Token to create or update workflow.github/workflows/documentation.ymlwithoutworkflowscope) error: failed to push some refs to 'https://github.com/fossell/wrfcloud'

Recent PR #93 was successful in the CodeBuild tests, so might be issue related to PAT?

Expected Behavior

AWS CodeBuild github action should pass when activated for PR. It does for #93, but not for #92.

Environment

Describe your runtime environment: 1. Machine: AWS wrfcloud AMI 2. OS: wrfcloud AMI 3. Branch: from fossell fork, branch ug_update

To Reproduce

Describe the steps to reproduce the behavior: Unsure how to reproduce.

Relevant Deadlines

December 5, 2022

Define the Metadata

Assignee

Labels

Projects and Milestone

Bugfix Checklist

fossell commented 2 years ago

@JohnHalleyGotway - See the text of this issue. When I merged the develop branch into my local branch of my fork, and then pushed my local branch to my forked repo, there was a warning about access tokens. Maybe that's the issue?