23 Mar 2025 |
Kwonunn | is this workflow on your main branch? | 12:56:13 |
cryptolukas | no feature branch | 12:56:22 |
cryptolukas | * nope feature branch | 12:56:26 |
Kwonunn | i'm pretty sure dispatches are only read from the main branch of the repository | 12:56:44 |
cryptolukas | let me try it | 12:56:54 |
cryptolukas | the button appear now :) | 12:58:20 |
Kwonunn | nice ^-^ | 12:58:28 |
cryptolukas | thank you for the suport that was quick and super helpful | 13:01:09 |
cryptolukas | How to use terraform? | 13:08:08 |
cryptolukas | This is not working.
steps:
- name: Greet the user
run: echo "Hello, ${{ inputs.name }}!"
- uses: hashicorp/setup-terraform@v3
| 13:08:29 |
Kwonunn | it would be helpful if you showed the output of the setup-terraform action | 13:09:20 |
cryptolukas | Starting container: 11332d8f7f9b70d30ac53d2d356abc20a75b9333cec47dcb6d24af25f0a7cd72
Started container: 11332d8f7f9b70d30ac53d2d356abc20a75b9333cec47dcb6d24af25f0a7cd72
Writing entry to tarball workflow/event.json len:4732
Writing entry to tarball workflow/envs.txt len:0
Extracting content to '/var/run/act/'
☁ git clone 'https://data.forgejo.org/hashicorp/setup-terraform' # ref=v3
cloning https://data.forgejo.org/hashicorp/setup-terraform to /home/rootless/.cache/act/828fb1e895fca74fb54317f2e3239abe70714836ac18c3fd18705074cff6f9b1
Unable to clone https://data.forgejo.org/hashicorp/setup-terraform refs/heads/v3: repository not found
repository not found
skipping post step for 'hashicorp/setup-terraform@v3'; step was not executed
Cleaning up container for job deployment
Removed container: 11332d8f7f9b70d30ac53d2d356abc20a75b9333cec47dcb6d24af25f0a7cd72
🐳 docker volume rm GITEA-ACTIONS-TASK-2590_WORKFLOW-Manual-Trigger-with-Input_JOB-deployment
🐳 docker volume rm GITEA-ACTIONS-TASK-2590_WORKFLOW-Manual-Trigger-with-Input_JOB-deployment-env
Cleaning up network for job deployment, and network name is: GITEA-ACTIONS-TASK-2590_WORKFLOW-Manual-Trigger-with-Input_JOB-deployment-deployment-network
🏁 Job failed
repository not found
| 13:10:08 |
Kwonunn |
Unable to clone https://data.forgejo.org/hashicorp/setup-terraform refs/heads/v3: repository not found
| 13:10:34 |
Kwonunn | this is your problem | 13:10:37 |
cryptolukas | How to fix it? | 13:10:53 |
Kwonunn | by default Forgejo Actions gets its actions from the data.forgejo.org instance. | 13:10:59 |
Kwonunn | i assume this action is available on github, so you would want to write uses: github.com/hashicorp/setup-terraform@v3 | 13:11:33 |
cryptolukas | What is a better way to use it forgejo? | 13:12:06 |
Kwonunn | i don't understand your question | 13:12:32 |
Kwonunn | this is the way you would be able to use this action | 13:12:45 |
cryptolukas | Do forgejo provide terraform / opentofu on the default location data.forgejo.org | 13:13:31 |
Kwonunn | no | 13:13:46 |
Kwonunn | there are just mirrors for some of the more common actions | 13:13:57 |
Kwonunn | in general it is good practice to write complete urls instead of the shorter version | 13:14:15 |
cryptolukas | Have this steps but still use the default location
steps:
- name: echo
run: echo "foobar"
- uses: github.com/hashicorp/setup-terraform@v3
| 13:17:10 |
cryptolukas | Unable to clone https://data.forgejo.org/github.com/hashicorp refs/heads/v3: repository not found
repository not found
skipping post step for 'github.com/hashicorp/setup-terraform@v3'; step was not executed | 13:17:27 |
Kwonunn | my bad, it should have been https://github.com/hashicorp/setup-transform@v3 | 13:18:12 |
cryptolukas | make sense :P | 13:18:24 |
cryptolukas | looks better :) | 13:19:15 |
Jeroen Baten (Kwoot) | In reply to@kwonunn:matrix.org the forgejo dump command may be useful Thank you. This clarifies it for me. | 13:52:11 |