Closed mimelator closed 1 year ago
Build is broken: https://github.com/mimelator/wavelength-js/actions/runs/5930283007
/usr/bin/docker run --name ef7d858aac75aedc3045a789c9b70bc6e4b672_6d5f4f --label ef7d85 --workdir /github/workspace --rm -e "INPUT_COMMAND" -e "INPUT_SOURCE" -e "INPUT_DESTINATION" -e "INPUT_AWS_ACCESS_KEY_ID" -e "INPUT_AWS_SECRET_ACCESS_KEY" -e "INPUT_AWS_REGION" -e "INPUT_FLAGS" -e "INPUT_AWS_SESSION_TOKEN" -e "INPUT_METADATA_SERVICE_TIMEOUT" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_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_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -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/wavelength-js/wavelength-js":"/github/workspace" ef7d85:8aac75aedc3045a789c9b70bc6e4b672 v1.0.0 AWS Session Token was not found. Using configuration from previous step. Metadata service timeout was not found. Using configuration from previous step. Using provided command aws-cli/2.4.23 Python/3.8.8 Linux/5.15.0-1041-azure docker/x86_64.amzn.2 prompt/off aws s3 cp ./www/ --recursive upload failed: www/sketch.js to sketch.js An error occurred (NoSuchBucket) when calling the PutObject operation: The specified bucket does not exist
aws --region us-east-1 cloudformation deploy \
--stack-name wavelength-js \
--template-file packaged.template \
--capabilities CAPABILITY_NAMED_IAM CAPABILITY_AUTO_EXPAND \
--parameter-overrides DomainName=wavelengthjs.com SubDomain=www HostedZoneId=XXX
aws --region us-east-1 cloudformation package \
--template-file templates/main.yaml \
--s3-bucket wavelength-js \
--output-template-file packaged.template
Needed to recreate the s3 bucket, then re-run the scripts and wait for cloud formation to complete creation of the new stack
Once i validated my route 53 email accounts for the domain wavelengthjs.com my certificate was able to be recreated. Now i need to deal with cross site issues.
Needed to add Cross Site Scripting update for cached js script: https://github.com/mimelator/wavelength-js/issues/20#issuecomment-1666095055
wavelength-js bucket