Giter Club home page Giter Club logo

aqua-installer's People

Contributors

aquaproj-aqua[bot] avatar knqyf263 avatar ravelll avatar renovate-bot avatar renovate[bot] avatar suzuki-shunsuke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

aqua-installer's Issues

Retry on temporary error

Problem to solve

We use aqua-installer action and sometimes get the following error:

Run aquaproj/[email protected]
Run echo "${AQUA_ROOT_DIR:-${XDG_DATA_HOME:-$HOME/.local/share}/aquaproj-aqua}/bin" >> $GITHUB_PATH
Run bash "/runner/_work/_actions/aquaproj/aqua-installer/v1.0.0/action.sh"
===> Downloading https://github.com/aquaproj/aqua/releases/download/v1.17.1/aqua_linux_amd64.tar.gz ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100 5637k  100 5637k    0     0  19.5M      0 --:--:-- --:--:-- --:--:-- 19.5M
===> Install aqua v1.17.1 (linux/amd64) to /home/runner/.local/share/aquaproj-aqua/bin/aqua
time="2022-07-28T01:31:21Z" level=info msg="download and unarchive the package" aqua_version=1.17.1 env=linux/amd64 package_name=aqua-proxy package_version=v1.1.2 program=aqua registry=
time="2022-07-28T01:31:21Z" level=fatal msg="aqua failed" aqua_version=1.17.1 env=linux/amd64 error="copy the file to the temporal file: read tcp 10.11.69.172:60234->185.199.109.133:443: read: connection reset by peer" program=aqua

It seems a temporary error.

How to solve

It would be nice if aqua-installer or aqua retries on a temporary error.
Related to aquaproj/aqua#829.

Thanks.

Failed to install aqua v2.27.4

FAILED: SLSA verification failed: error searching rekor entries: no matching rekor entries
time="2024-05-10T08:43:57Z" level=info msg="Verification by slsa-verifier failed temporarily, retring" aqua_version=2.25.1 env=linux/amd64 new_version=v2.27.4 package_name=aquaproj/aqua package_version=v2.27.4 program=aqua registry= retry_count=4 wait_time=929ms
Verifying artifact /tmp/898778525: FAILED: error searching rekor entries: no matching rekor entries
SLSA verification failed: error searching rekor entries: no matching rekor entries

GitHub Actions doesn't work in container

Overview

GitHub Actions doesn't work in container.

https://docs.github.com/en/actions/using-jobs/running-jobs-in-a-container

How to reproduce

https://github.com/suzuki-shunsuke/test-github-action/blob/ee42b9ad6e5e180d189cf585357bb47a74b499b8/.github/workflows/test.yaml

---
name: test
on: pull_request
jobs:
  test:
    runs-on: ubuntu-latest
    container:
      image: golang:1.20
    steps:
      - uses: actions/checkout@83b7061638ee4956cf7545a6f7efe594e5ad0247 # v3.5.1
      - uses: aquaproj/[email protected]
        with:
          aqua_version: v2.9.0
        env:
          GITHUB_TOKEN: ${{github.token}}

https://github.com/suzuki-shunsuke/test-github-action/actions/runs/5332029013/jobs/9660678516?pr=162

Run "/home/runner/work/_actions/aquaproj/aqua-installer/v2.1.1/aqua-installer" -v "$AQUA_VERSION"
/__w/_temp/31[19](https://github.com/suzuki-shunsuke/test-github-action/actions/runs/5332029013/jobs/9660678516?pr=162#step:4:22)fcdf-4b2f-4ff8-a83a-06ceee381e9d.sh: line 1: /home/runner/work/_actions/aquaproj/aqua-installer/v2.1.1/aqua-installer: No such file or directory
Error: Process completed with exit code 127.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.

  • chore(deps): update dependency aquaproj/aqua-registry to v4.213.1

Detected dependencies

github-actions
.github/workflows/actionlint.yaml
  • actions/checkout v4.1.7@692973e3d937129bcbf40652eb9f2f61becf3332
  • aquaproj/aqua-installer v3.0.1@6ce1f8848ec8e61f14d57bd5d7597057a6dd187c
.github/workflows/test.yaml
  • dorny/paths-filter v3.0.2@de90cc6fb38fc0963ad72b210f1f284cd68cea36
  • tibdex/github-app-token v2.1.0@3beb63f4bd073e61482598c45c71c1019b59b73a
  • aquaproj/update-checksum-workflow v1.0.2@437067ad2fba9ba8ed8454cf207f2532432d4e28
  • suzuki-shunsuke/renovate-config-validator-workflow v0.2.3@4a378742d05b4e67aae34039d7c779ac913cd79d
  • actions/checkout v4.1.7@692973e3d937129bcbf40652eb9f2f61becf3332
  • aquaproj/aqua-installer v3.0.1@6ce1f8848ec8e61f14d57bd5d7597057a6dd187c
  • actions/checkout v4.1.7@692973e3d937129bcbf40652eb9f2f61becf3332
  • actions/checkout v4.1.7@692973e3d937129bcbf40652eb9f2f61becf3332
  • actions/checkout v4.1.7@692973e3d937129bcbf40652eb9f2f61becf3332
  • actions/checkout v4.1.7@692973e3d937129bcbf40652eb9f2f61becf3332
  • actions/checkout v4.1.7@692973e3d937129bcbf40652eb9f2f61becf3332
  • actions/checkout v4.1.7@692973e3d937129bcbf40652eb9f2f61becf3332
  • actions/checkout v4.1.7@692973e3d937129bcbf40652eb9f2f61becf3332
  • golang 1.23.0
regex
.github/workflows/actionlint.yaml
  • aquaproj/aqua v2.30.0
.github/workflows/test.yaml
  • aquaproj/aqua v2.30.0
  • aquaproj/aqua v2.30.0
  • aquaproj/aqua v2.30.0
  • aquaproj/aqua v2.30.0
  • aquaproj/aqua v2.30.0
  • aquaproj/aqua v2.30.0
  • aquaproj/aqua v2.30.0
renovate.json5
  • aquaproj/aqua-renovate-config 2.3.1
  • aquaproj/aqua-renovate-config 2.3.1
aqua.yaml
aqua.yaml
  • rhysd/actionlint v1.7.1
  • reviewdog/reviewdog v0.20.1
  • suzuki-shunsuke/cmdx v1.7.4
  • golangci/golangci-lint v1.60.1
  • int128/ghcp v1.13.3
  • suzuki-shunsuke/ghalint v0.2.12
aqua.yaml
  • aquaproj/aqua-registry v4.44.3

  • Check this box to trigger a request for Renovate to run again on this repository

Show which version of aqua is installed when installing

Right now when you run aqua-installer it only tells the progress and location to be installed. Is it possible to show which version is going to be installed as well?

$ aqua-installer 
===> Downloading https://github.com/aquaproj/aqua/releases/latest/download/aqua_linux_amd64.tar.gz ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 5651k  100 5651k    0     0  3255k      0  0:00:01  0:00:01 --:--:-- 10.1M
===> Install aqua latest (linux/amd64) to /home/tasato/.local/share/aquaproj-aqua/bin/aqua

It'd be also great if aqua-installer first tries to look for existing aqua cmd and if it's already latest then it skips installation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.