tis-flux-portable icon

flux

Paquet d’installation silencieuse pour flux

2.8.2-1
Utilities
Utilities

Les paquets PREPROD sont des paquets construits via LUTI. Ils restent généralement 5 jours en PREPROD, après quoi un deuxième scan VirusTotal est effectué pour vérifier que le status n'a pas changé.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.

  • package: tis-flux-portable
  • name: flux
  • version: 2.8.2-1
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: opensource_free,wapt_public
  • target_os: windows
  • architecture: x86
  • signature_date:
  • size: 23.73 Mo
  • homepage : https://fluxcd.io/

package           : tis-flux-portable
version           : 2.8.2-1
architecture      : x86
section           : base
priority          : optional
name              : flux
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : Open and extensible continuous delivery solution for Kubernetes. Powered by GitOps Toolkit
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Solution de livraison continue ouverte et extensible pour Kubernetes. Développé par GitOps Toolkit
description_pl    : Otwarte i rozszerzalne rozwiązanie do ciągłego dostarczania dla Kubernetes. Obsługiwane przez GitOps Toolkit
description_de    : Offene und erweiterbare Continuous-Delivery-Lösung für Kubernetes. Angetrieben von GitOps Toolkit
description_es    : Solución de entrega continua abierta y extensible para Kubernetes. Desarrollado por GitOps Toolkit
description_pt    : Solução de entrega contínua aberta e extensível para Kubernetes. Desenvolvido por GitOps Toolkit
description_it    : Soluzione di continuous delivery aperta ed estensibile per Kubernetes. Alimentato da GitOps Toolkit
description_nl    : Open en uitbreidbare continuous delivery oplossing voor Kubernetes. Aangedreven door GitOps Toolkit
description_ru    : Открытое и расширяемое решение для непрерывной доставки Kubernetes. На базе GitOps Toolkit
audit_schedule    : 
editor            : 
keywords          : 
licence           : opensource_free,wapt_public
homepage          : https://fluxcd.io/
package_uuid      : ad820658-287d-4e7f-a023-84e545d4ca69
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 0de161b4427c495d508fa867cad3d9af6353d37563e735f28dc47bdafdda9d95
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-03-12T15:39:33.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : i1S2mHPWk7fIXPIr7nSHswuqft0Z6lP84qfuyjeTz4zvnSQXiZv4Ot7Zm+f/fM/n1nk7bPDg3xKpibyLhwN6H50yDvsoY3HEZCzP71YwqG4rmUA7jdj26eO0ZT56qFqAoE8xtQzSIhE/lOSn5GbVjD9wTctvkWzMGkAx5Vv1lemByygAPuQPMbZDnGGS7RXKys9idp2Qbp0+WIBAf9Cs+slfVob/QBo3j5QZ5ATP2zbWHDEUFK8J6kf1MhayRJJl284KMyYisGSEsS4+Wf9uzgBAA4r6mqOhpqVdqEAF4pJAsX/SflwXVBvulo7Eaw6IN/Ia/ZavjNVGkLrafc8ZFw==

# -*- coding: utf-8 -*-
from setuphelpers import *

"""


"""


app_name = "flux "
editor_dir = makepath(programfiles, "flux")
app_dir = makepath(editor_dir, "flux")
app_path = makepath(app_dir,"flux.exe")
audit_version = False


def get_installed_version(app_path):
    return get_file_properties(app_path).get("FileVersion", "")


def install():
    # Declaring local variables
    zip_name = glob.glob(f"flux_*.zip")[0]

    unzipped_dir = "flux"


    # Installing software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_dir) and force:
        remove_tree(app_dir)
    mkdirs(app_dir)
    print("Extracting: %s to: %s" % (zip_name, unzipped_dir))
    unzip(zip_name, unzipped_dir)
    print('Copy flux to %s' % app_dir)
    copytree2(unzipped_dir, app_dir, onreplace=default_overwrite)
    add_to_system_path(app_dir)

    

def audit():
    # Auditing software
    audit_status = "OK"
    installed_version = get_installed_version(app_path)
    if Version(installed_version) < Version(control.get_software_version()) and audit_version:
        print("%s is installed in version (%s) instead of (%s)" % (app_name, installed_version, control.get_software_version()))
        audit_status = "WARNING"
    elif isdir(app_dir) and not dir_is_empty(app_dir):
        print("%s (%s) is installed" % (app_name, installed_version))
        audit_status = "OK"
    else:
        print("%s is not installed" % app_name)
        audit_status = "ERROR"
    return audit_status


def uninstall():
    # Uninstalling software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_dir):
        remove_tree(app_dir)
    if dir_is_empty(editor_dir):
        remove_tree(editor_dir)

  

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import json

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def update_package():
    result = False
    proxies = get_proxies()

    if not proxies:
        proxies = get_proxies_from_wapt_console()
    dict_arch = {
        "x64" :"_windows_amd64.zip",
        "x86" :"_windows_386.zip"
    }
    git_repo = "fluxcd/flux2"
    url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo   
    # Getting latest version information from official sources
    print("API used is: %s" % url_api)
    json_load = json.loads(wgets(url_api, proxies=proxies))

    for download in json_load["assets"]:
        if download["browser_download_url"].endswith('.zip') and dict_arch[control.architecture] in download["browser_download_url"]:
            url_dl = download["browser_download_url"]
            version = json_load["tag_name"].replace("v","")
            filename = download["name"]
            break

    if not isfile(filename):
        package_updated = True
        wget(url_dl,filename,proxies=proxies)

    #nettoyer les fichiers temporaires
    for f in glob.glob('*.zip'):
        if f != filename:
            remove_file(f)

    
    control.set_software_version(version)
    control.save_control_to_wapt()

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
e336408cd7786c305606e37dc2fa216eb158e0f9dd2a32f8852f827527845c51 : WAPT/control
0de161b4427c495d508fa867cad3d9af6353d37563e735f28dc47bdafdda9d95 : WAPT/icon.png
3c8b20d640da1ebc6f3af0888403c69563e081a1808327643fe7cb8681e52345 : flux_2.8.2_windows_386.zip
81a88dfbbdc713d186af5efa2381c7a669344a2fac2a9a3aaeff646af319f3f5 : luti.json
40aec881aaa7fd4ab63b8682a5c8b57ccb1ba2f4bc74e92c781b12a2b5daaff9 : setup.py
d32bc08d65224fbac626c3ee07a2a34b9d001b6e099880552e69739268e0c4b9 : update_package.py