Skip to content

Commit 7302421

Browse files
committed
remove build feilong
1 parent f88ed5d commit 7302421

1 file changed

Lines changed: 8 additions & 18 deletions

File tree

.github/workflows/sumaform-validation.yml

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -41,24 +41,14 @@ jobs:
4141
run: |
4242
pip install -r jenkins_pipelines/scripts/tf_vars_generator/requirements.txt
4343
44-
- name: Build Feilong terraform provider
45-
run: |
46-
echo "::group::Build Feilong Provider"
47-
git clone --depth 1 --branch v0.0.9 https://github.com/Bischoff/terraform-provider-feilong.git build_feilong
48-
cd build_feilong
49-
50-
go build -o terraform-provider-feilong
51-
52-
# Registry: registry.terraform.io | Namespace: bischoff | Type: feilong | Version: 0.0.9
53-
PLUGIN_DIR="$HOME/.terraform.d/plugins/registry.terraform.io/bischoff/feilong/0.0.9/linux_amd64"
54-
mkdir -p "$PLUGIN_DIR"
55-
56-
mv terraform-provider-feilong "$PLUGIN_DIR/"
57-
chmod +x "$PLUGIN_DIR/terraform-provider-feilong"
58-
59-
echo "Success! Provider v0.0.9 installed to $PLUGIN_DIR"
60-
ls -l "$PLUGIN_DIR"
61-
echo "::endgroup::"
44+
- name: Download Feilong terraform provider asset
45+
if: steps.tf_files.outputs.added_modified
46+
uses: robinraju/release-downloader@v1.9
47+
with:
48+
repository: Bischoff/terraform-provider-feilong
49+
tag: v0.0.9
50+
fileName: terraform-provider-feilong_0.0.9_linux_amd64.tar.gz
51+
extract: true
6252

6353
- name: Setup Providers
6454
run: |

0 commit comments

Comments
 (0)