kubesphere / devops-agent

Agents for Kubesphere DevOps
Apache License 2.0
61 stars 73 forks source link

Add gradle (6.9.1) agent #45

Closed yuezhuangshi closed 2 years ago

yuezhuangshi commented 2 years ago

fix #25

ks-ci-bot commented 2 years ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: yuezhuangshi To complete the pull request process, please assign shaowenchen after the PR has been reviewed. You can assign the PR to them by writing /assign @shaowenchen in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/kubesphere/devops-agent/blob/master/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
yuezhuangshi commented 2 years ago

Hi @LinuxSuRen , Pipeline failed due to

#7 0.157 --2021-10-14 01:49:57--  https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.9.5.tar.gz
#7 0.167 Resolving mirrors.edge.kernel.org (mirrors.edge.kernel.org)... 147.75.197.195, 2604:1380:1:3600::1
#7 0.172 Connecting to mirrors.edge.kernel.org (mirrors.edge.kernel.org)|147.75.197.195|:443... connected.
#7 0.198 ERROR: cannot verify mirrors.edge.kernel.org's certificate, issued by '/C=US/O=Let\'s Encrypt/CN=R3':
#7 0.198   Issued certificate has expired.
#7 0.198 To connect to mirrors.edge.kernel.org insecurely, use `--no-check-certificate'.

Should we add --no-check-certificate flag for git installtion? What do you think?

LinuxSuRen commented 2 years ago

Should we add --no-check-certificate flag for git installtion? What do you think?

I prefer to do not to ignore the potential security issues. It's better to find a way to fix it.

yuezhuangshi commented 2 years ago

Should we add --no-check-certificate flag for git installtion? What do you think?

I prefer to do not to ignore the potential security issues. It's better to find a way to fix it.

Maybe we should wait for the maintainer to update site certificate and try again

LinuxSuRen commented 2 years ago

Maybe we should wait for the maintainer to update site certificate and try again

This is also an option.