fix(core): DPDK stuff 77/37877/2
authorpmikus <peter.mikus@protonmail.ch>
Mon, 9 Jan 2023 09:16:57 +0000 (09:16 +0000)
committerPeter Mikus <peter.mikus@protonmail.ch>
Mon, 9 Jan 2023 09:28:26 +0000 (09:28 +0000)
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I276cbfe4f761ddb4ccc652a276be2614adc6117e

fdio.infra.ansible/roles/common/tasks/main.yaml
fdio.infra.terraform/terraform-aws-fdio-csit-dash-app-base/variables.tf
fdio.infra.terraform/terraform-aws-fdio-csit-dash-app-base/versions.tf
resources/libraries/bash/function/gather.sh

index 7d9def9..e47a1fc 100644 (file)
@@ -31,6 +31,7 @@
   ansible.builtin.pip:
     name:
       - "meson==0.64.1"
+    state: "forcereinstall"
   tags:
     - common-inst-meson
 
index d3f0eab..cfa9c3e 100644 (file)
@@ -7,7 +7,7 @@ variable "region" {
 variable "vault_provider_address" {
   description = "Vault cluster address."
   type        = string
-  default     = "http://10.30.51.24:8200"
+  default     = "http://vault.service.consul:8200"
 }
 
 variable "vault_provider_skip_tls_verify" {
index d3a7e8e..1d5fd15 100644 (file)
@@ -1,6 +1,6 @@
 terraform {
   backend "consul" {
-    address = "10.30.51.24:8500"
+    address = "consul.service.consul:8500"
     scheme  = "http"
     path    = "terraform/app-base"
   }
index 4958e52..afe7345 100644 (file)
@@ -1,5 +1,5 @@
-# Copyright (c) 2021 Cisco and/or its affiliates.
-# Copyright (c) 2021 PANTHEON.tech and/or its affiliates.
+# Copyright (c) 2023 Cisco and/or its affiliates.
+# Copyright (c) 2023 PANTHEON.tech and/or its affiliates.
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at:
@@ -92,7 +92,8 @@ function gather_dpdk () {
     then
         echo "Downloading latest DPDK packages from repo..."
         # URL is not in quotes, calling command from variable keeps them.
-        wget_command=("wget" "--no-check-certificate" "-nv" "-O" "-")
+        wget_command=("wget" "--no-check-certificate" "--compression=auto")
+        wget_command+=("-nv" "-O" "-")
         wget_command+=("${dpdk_repo}")
         dpdk_stable_ver="$("${wget_command[@]}" | grep -v "2015"\
             | grep -Eo 'dpdk-[^\"]+xz' | tail -1)" || {