Skip to content

Huge log generation on every build #22

@lool

Description

@lool

Hi

As evidenced e.g. here:
https://github.com/qualcomm-linux/qcom-deb-images/actions/runs/22516380854/job/65240288540

each workflow using this action generates a massive log because of the verbose unzipping of awscliv2.zip:

[...]
  Running hooks in /etc/ca-certificates/update.d...
  done.
   ---> Removed intermediate container 10f4ad4b002b
   ---> ab0205ac9afa
  Step 3/5 : RUN ARCH=$(uname -m) &&     if [ "$ARCH" = "x86_64" ]; then         curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip";     elif [ "$ARCH" = "aarch64" ]; then         curl "https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip" -o "awscliv2.zip";     else         echo "Unsupported architecture: $ARCH" && exit 1;     fi &&     unzip awscliv2.zip &&     ./aws/install &&     rm -rf aws awscliv2.zip
   ---> Running in 38b1c6c4e9b9
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
  
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  100 61.2M  100 61.2M    0     0   297M      0 --:--:-- --:--:-- --:--:--  297M
  Archive:  awscliv2.zip
     creating: aws/
     creating: aws/dist/
    inflating: aws/THIRD_PARTY_LICENSES  
    inflating: aws/README.md           
[...]
    inflating: aws/dist/prompt_toolkit-3.0.51.dist-info/licenses/AUTHORS.rst  
  You can now run: /usr/local/bin/aws --version
[...]

=> 8888 lines of log to install aws-cli seems excessive.

I saw this while downloading a full image build log from github, I had to deal with this massive header with useless information for consumers.

The speed is acceptable (20s), but the amount logs isn't IMO.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions