We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here's the error from the tail of my Build log:
[Container] 2021/10/22 16:10:23 Running command ls -lah ./infrastructure -- 879 | ls: cannot access ./infrastructure: No such file or directory 880 | 881 | [Container] 2021/10/22 16:10:23 Command did not exit successfully ls -lah ./infrastructure exit status 2 882 | [Container] 2021/10/22 16:10:23 Phase complete: POST_BUILD State: FAILED 883 | [Container] 2021/10/22 16:10:23 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: ls -lah ./infrastructure. Reason: exit status 2 884 | [Container] 2021/10/22 16:10:23 Expanding base directory path: . 885 | [Container] 2021/10/22 16:10:23 Assembling file list 886 | [Container] 2021/10/22 16:10:23 Expanding . 887 | [Container] 2021/10/22 16:10:23 Expanding file paths for base directory . 888 | [Container] 2021/10/22 16:10:23 Assembling file list 889 | [Container] 2021/10/22 16:10:23 Expanding infrastructure/* 890 | [Container] 2021/10/22 16:10:23 Phase complete: UPLOAD_ARTIFACTS State: FAILED 891 | [Container] 2021/10/22 16:10:23 Phase context status code: CLIENT_ERROR Message: no matching artifact paths found
I'm following this demo
Here's some earlier log output:
[Container] 2021/10/22 16:10:20 Phase complete: BUILD State: SUCCEEDED 830 | [Container] 2021/10/22 16:10:20 Phase context status code: Message: 831 | [Container] 2021/10/22 16:10:20 Entering phase POST_BUILD 832 | [Container] 2021/10/22 16:10:20 Running command ls -l 833 | total 38712 834 | -rwxrwxr-x 1 root root 3158 Oct 22 15:47 CONTRIBUTING.md 835 | -rwxrwxr-x 1 root root 814 Oct 22 15:47 Dockerfile 836 | -rwxrwxr-x 1 root root 926 Oct 22 15:47 LICENSE 837 | -rwxrwxr-x 1 root root 25609 Oct 22 15:47 README.md 838 | drwxr-xr-x 2 root root 4096 Oct 22 16:10 components 839 | drwxr-xr-x 2 root root 4096 Oct 22 16:10 copilot 840 | -rwxr-xr-x 1 root root 39452672 Oct 4 15:17 copilot-linux 841 | drwxr-xr-x 2 root root 4096 Oct 22 16:10 docs 842 | drwxr-xr-x 2 root root 4096 Oct 22 16:10 lib 843 | -rwxrwxr-x 1 root root 108744 Oct 22 15:47 package-lock.json 844 | -rwxrwxr-x 1 root root 794 Oct 22 15:47 package.json 845 | drwxr-xr-x 4 root root 4096 Oct 22 16:10 pages 846 | drwxr-xr-x 3 root root 4096 Oct 22 16:10 public 847 | drwxr-xr-x 2 root root 4096 Oct 22 16:10 seed 848 | drwxr-xr-x 2 root root 4096 Oct 22 16:10 styles 849 | 850 | [Container] 2021/10/22 16:10:20 Running command export COLOR="false" 851 | 852 | [Container] 2021/10/22 16:10:20 Running command pipeline=$(cat $CODEBUILD_SRC_DIR/copilot/pipeline.yml \| ruby -ryaml -rjson -e 'puts JSON.pretty_generate(YAML.load(ARGF))') 853 | 854 | [Container] 2021/10/22 16:10:22 Running command pl_envs=$(echo $pipeline \| jq '.stages[].name' \| sed 's/"//g') 855 | 856 | [Container] 2021/10/22 16:10:22 Running command for pl_env in $pl_envs; do ./copilot-linux env upgrade -n $pl_env; done; 857 | 858 | Environment test is already on the latest version v1.6.1, skip upgrade. 859 | 860 | [Container] 2021/10/22 16:10:23 Running command svcs=$(./copilot-linux svc ls --local --json \| jq '.services[].name' \| sed 's/"//g') 861 | jq: error (at <stdin>:1): Cannot iterate over null (null) 862 | 863 | [Container] 2021/10/22 16:10:23 Running command jobs=$(./copilot-linux job ls --local --json \| jq '.jobs[].name' \| sed 's/"//g') 864 | jq: error (at <stdin>:1): Cannot iterate over null (null) 865 | 866 | [Container] 2021/10/22 16:10:23 Running command tag=$(sed 's/:/-/g' <<<"$CODEBUILD_BUILD_ID" \| rev \| cut -c 1-128 \| rev) 867 | 868 | [Container] 2021/10/22 16:10:23 Running command for env in $pl_envs; do 869 | for svc in $svcs; do 870 | ./copilot-linux svc package -n $svc -e $env --output-dir './infrastructure' --tag $tag; 871 | done; 872 | for job in $jobs; do 873 | ./copilot-linux job package -n $job -e $env --output-dir './infrastructure' --tag $tag; 874 | done; 875 | done;
was it necessary for me to add the ./copilot/svc directory I see locally? Was that output that needed to be pushed to the remote as well?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Here's the error from the tail of my Build log:
I'm following this demo
Here's some earlier log output:
was it necessary for me to add the ./copilot/svc directory I see locally? Was that output that needed to be pushed to the remote as well?
The text was updated successfully, but these errors were encountered: