Closed paul-rinaldi closed 4 years ago
@mitchellhenke @knutsoned @romkedehaan @abstractcoder any ideas here? if you'd like to take on this just please do so, I would like to take time to work on firebase as an alternative; I've been working on getting amplify devops to work correctly for a month now, we even have 114 service provider records in our dynamodb (can be fetched from local if you have my config)
Let me know if you need to know the environment variables. These are the names of them (let me know if I need to add something else):
Describe the bug All deployment builds, test, and deployment fail and AWS Amplify webhooks isn't executing for master/pr previews on PR for feature AWS amplify #66
To Reproduce Steps to reproduce the behavior:
Run ambientlight/amplify-cli-action@0.2.1 /usr/bin/docker run --name e5c352fdbe311b6974c1e9234450dd8930d34_eac8e4 --label 1e5c35 --workdir /github/workspace --rm -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e AWS_REGION -e INPUT_AMPLIFY_COMMAND -e INPUT_AMPLIFY_ENV -e INPUT_PROJECT_DIR -e INPUT_SOURCE_DIR -e INPUT_DISTRIBUTION_DIR -e INPUT_BUILD_COMMAND -e INPUT_AMPLIFY_CLI_VERSION -e INPUT_DELETE_LOCK -e INPUT_AMPLIFY_ARGUMENTS -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_PATH -e GITHUB_ENV -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/DECARCERATION-PLATFORM/DECARCERATION-PLATFORM":"/github/workspace" 1e5c35:2fdbe311b6974c1e9234450dd8930d34 "" "src" "dist" "npm run build" "configure" "***" "true" "" "" using amplify available at PATH /usr/local/bin/amplify amplify version Scanning for plugins... Plugin scan successful 4.29.8 /entrypoint.sh: line 62: ./amplify/.config/local-env-info.json: No such file or directory
Expected behavior Builds Pass, deploy succeeds The backend and frontend of this public repository should deploy to AWS on pushes to PRs and on the master branch.
Screenshots
Additional context example configuration amplify cli getting started It is most likely now (2020.10.15) that the yaml file for this amplify ci is slightly wrong.
AWS Amplify Console was deploying the PRs and Master until I deleted the webhook and replaced it with a new one that is now connected to the correct branch of the codeformilwaukee/DECARCERATION-PLATFORM codebase.