Initial setup of gitea actions
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
name: Setup OpenTofu Environment
|
||||
description: Prepare the environment for A13labs CI/CD pipelines
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Setup OpenTofu
|
||||
shell: bash
|
||||
run: |
|
||||
TOFU_VERSION="1.9.1"
|
||||
curl -sL "https://github.com/opentofu/opentofu/releases/download/v${TOFU_VERSION}/tofu_${TOFU_VERSION}_linux_amd64.zip" -o /tmp/tofu.zip
|
||||
unzip -o /tmp/tofu.zip -d /usr/local/bin
|
||||
rm /tmp/tofu.zip
|
||||
tofu version
|
||||
|
||||
- name: Install required python packages
|
||||
shell: bash
|
||||
run: |
|
||||
python3 -m pip install -r requirements/opentofu.txt
|
||||
Reference in New Issue
Block a user