offline and airgap setup instead of downloading actions from github.com #426

Open
opened 2023-11-26 04:06:46 +00:00 by abdennour · 1 comment

Hi,

I tried to run workflow mentioned in the quickstart , but i got errors even though it's all about echo .., ls .. ...etc

then, I checked logs of the act_runner, and i found that it cannot download from github.com


.your repository is {1}."', gitea.ref, gitea.repository)' evaluated to '%!t(string=echo "🔎 The name of your branch is refs/heads/main and your repository is devops-admin/test.")'
[Gitea Actions Demo/Explore-Gitea-Actions]   ☁  git clone 'https://github.com/actions/checkout' # ref=v3
[Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG]   cloning https://github.com/actions/checkout to /home/rootless/.cache/act/actions-checkout@v3
[Gitea Actions Demo/Explore-Gitea-Actions] Unable to clone https://github.com/actions/checkout refs/heads/v3: Get "https://github.com/actions/checkout/info/refs?service=git-upload-pack": net/http: TLS handshake timeout
[Gitea Actions Demo/Explore-Gitea-Actions] Get "https://github.com/actions/checkout/info/refs?service=git-upload-pack": net/http: TLS handshake timeout
[Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] expression 'echo "🍏 This job's status is ${{ job.status }}."' rewritten to 'format('echo "🍏 This job''s status is {0}."', job.status)'
[Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] evaluating expression 'format('echo "🍏 This job''s status is {0}."', job.status)'
[Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] expression 'format('echo "🍏 This job''s status is {0}."', job.status)' evaluated to '%!t(string=echo "🍏 This job's status is success.")'
[Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] expression 'echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."' rewritten to 'format('echo "💡 The {0} repository has been cloned to the runner."', gitea.repository)'
[Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] evaluating expression 'format('echo "💡 The {0} repository has been cloned to the runner."', gitea.repository)'
[Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] expression 'format('echo "💡 The {0} repository has been cloned to the runner."', gitea.repository)' evaluated to '%!t(string=echo "💡 The devops-admin/test repository has been cloned to the runner.")'
[Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] skipping post step for 'Check out repository code'; step was not executed
[Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] expression 'echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."' rewritten to 'format('echo "🔎 The name of your branch is {0} and your repository is {1}."', gitea.ref, gitea.repository)'
[Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] evaluating expression 'format('echo "🔎 The name of your branch is {0} and your repository is {1}."', gitea.ref, gitea.repository)'
[Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] expression 'format('echo "🔎 The name of your branch is {0} and your repository is {1}."', gitea.ref, gitea.repository)' evaluated to '%!t(string=echo "🔎 The name of your branch is refs/heads/main and your repository is devops-admin/test.")'
[Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] expression 'echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"' rewritten to 'format('echo "🐧 This job is now running on a {0} server hosted by Gitea!"', runner.os)'
[Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] evaluating expression 'format('echo "🐧 This job is now running on a {0} server hosted by Gitea!"', runner.os)'
[Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] expression 'format('echo "🐧 This job is now running on a {0} server hosted by Gitea!"', runner.os)' evaluated to '%!t(string=echo "🐧 This job is now running on a linux server hosted by Gitea!")'
[Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] expression 'echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."' rewritten to 'format('echo "🎉 The job was automatically triggered by a {0} event."', gitea.event_name)'
[Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] evaluating expression 'format('echo "🎉 The job was automatically triggered by a {0} event."', gitea.event_name)'
[Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] expression 'format('echo "🎉 The job was automatically triggered by a {0} event."', gitea.event_name)' evaluated to '%!t(string=echo "🎉 The job was automatically triggered by a push event.")'
[Gitea Actions Demo/Explore-Gitea-Actions] Cleaning up services for job Explore-Gitea-Actions
time="2023-11-26T04:04:17Z" level=info msg="Parallel tasks (0) below minimum, setting to 1"
[Gitea Actions Demo/Explore-Gitea-Actions] Cleaning up container for job Explore-Gitea-Actions
[Gitea Actions Demo/Explore-Gitea-Actions] 🏁  Job failed
Hi, I tried to run [workflow mentioned in the quickstart](https://docs.gitea.com/usage/actions/quickstart) , but i got errors even though it's all about `echo ..`, `ls ..` ...etc then, I checked logs of the act_runner, and i found that it cannot download from github.com ```log .your repository is {1}."', gitea.ref, gitea.repository)' evaluated to '%!t(string=echo "🔎 The name of your branch is refs/heads/main and your repository is devops-admin/test.")' [Gitea Actions Demo/Explore-Gitea-Actions] ☁ git clone 'https://github.com/actions/checkout' # ref=v3 [Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] cloning https://github.com/actions/checkout to /home/rootless/.cache/act/actions-checkout@v3 [Gitea Actions Demo/Explore-Gitea-Actions] Unable to clone https://github.com/actions/checkout refs/heads/v3: Get "https://github.com/actions/checkout/info/refs?service=git-upload-pack": net/http: TLS handshake timeout [Gitea Actions Demo/Explore-Gitea-Actions] Get "https://github.com/actions/checkout/info/refs?service=git-upload-pack": net/http: TLS handshake timeout [Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] expression 'echo "🍏 This job's status is ${{ job.status }}."' rewritten to 'format('echo "🍏 This job''s status is {0}."', job.status)' [Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] evaluating expression 'format('echo "🍏 This job''s status is {0}."', job.status)' [Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] expression 'format('echo "🍏 This job''s status is {0}."', job.status)' evaluated to '%!t(string=echo "🍏 This job's status is success.")' [Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] expression 'echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."' rewritten to 'format('echo "💡 The {0} repository has been cloned to the runner."', gitea.repository)' [Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] evaluating expression 'format('echo "💡 The {0} repository has been cloned to the runner."', gitea.repository)' [Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] expression 'format('echo "💡 The {0} repository has been cloned to the runner."', gitea.repository)' evaluated to '%!t(string=echo "💡 The devops-admin/test repository has been cloned to the runner.")' [Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] skipping post step for 'Check out repository code'; step was not executed [Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] expression 'echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."' rewritten to 'format('echo "🔎 The name of your branch is {0} and your repository is {1}."', gitea.ref, gitea.repository)' [Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] evaluating expression 'format('echo "🔎 The name of your branch is {0} and your repository is {1}."', gitea.ref, gitea.repository)' [Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] expression 'format('echo "🔎 The name of your branch is {0} and your repository is {1}."', gitea.ref, gitea.repository)' evaluated to '%!t(string=echo "🔎 The name of your branch is refs/heads/main and your repository is devops-admin/test.")' [Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] expression 'echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"' rewritten to 'format('echo "🐧 This job is now running on a {0} server hosted by Gitea!"', runner.os)' [Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] evaluating expression 'format('echo "🐧 This job is now running on a {0} server hosted by Gitea!"', runner.os)' [Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] expression 'format('echo "🐧 This job is now running on a {0} server hosted by Gitea!"', runner.os)' evaluated to '%!t(string=echo "🐧 This job is now running on a linux server hosted by Gitea!")' [Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] expression 'echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."' rewritten to 'format('echo "🎉 The job was automatically triggered by a {0} event."', gitea.event_name)' [Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] evaluating expression 'format('echo "🎉 The job was automatically triggered by a {0} event."', gitea.event_name)' [Gitea Actions Demo/Explore-Gitea-Actions] [DEBUG] expression 'format('echo "🎉 The job was automatically triggered by a {0} event."', gitea.event_name)' evaluated to '%!t(string=echo "🎉 The job was automatically triggered by a push event.")' [Gitea Actions Demo/Explore-Gitea-Actions] Cleaning up services for job Explore-Gitea-Actions time="2023-11-26T04:04:17Z" level=info msg="Parallel tasks (0) below minimum, setting to 1" [Gitea Actions Demo/Explore-Gitea-Actions] Cleaning up container for job Explore-Gitea-Actions [Gitea Actions Demo/Explore-Gitea-Actions] 🏁 Job failed ```
Owner

Please read the documentations, you can chose download from any git service if you use an absolute repository url or you can use your local Gitea instance if you changed your configuration.

Please read the documentations, you can chose download from any git service if you use an absolute repository url or you can use your local Gitea instance if you changed your configuration.
lunny added the
reviewed
needs feedback
label 2023-11-27 15:29:44 +00:00
lng2020 added the
kind
help wanted
label 2023-11-28 06:18:24 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/act_runner#426
No description provided.