Code Monkey home page Code Monkey logo

Comments (2)

epappas avatar epappas commented on September 13, 2024 1

thanks @distorhead I'll give trdl a try as well. Feel free to close the issue or manage it however it seems fit.

from multiwerf.

distorhead avatar distorhead commented on September 13, 2024

Hi, @epappas!

First of all thanks for your interest in werf project.

There is a new generation package manager for werf called trdl ("true delivery" :)): https://github.com/werf/trdl.
We are currently use this package manager internally (alpha testning phase).
Starting with coming weeks we are going to make this package manager as main way to use werf. Multiwerf installations will still be active, these will be migrated to trdl smoothly a little bit later.

Trdl uses S3 compatible storage to store packages for a project in a TUF-repository format: https://theupdateframework.io/
This is way more secure than an approach currently used by the multiwerf.

Werf project releases already published into tuf-repository, which is located in the google-storage currently (we have been moved away from storage.yandexcloud.net).

You can easily use trdl instead of multiwerf like that:

# install trdl client (this is a cli-tool similar to multiwerf, which could download packages releases from TUF-repositories)
curl https://tuf.trdl.dev/targets/releases/0.1.3/linux-amd64/bin/trdl --output /tmp/trdl && chmod +x /tmp/trdl && mkdir -p ~/bin && mv /tmp/trdl ~/bin/trdl

# add werf official TUF repository into your system
trdl add werf https://tuf.werf.io 1 b7ff6bcbe598e072a86d595a3621924c8612c7e6dc6a82e919abe89707d7e3f468e616b5635630680dd1e98fc362ae5051728406700e6274c5ed1ad92bea52a2

# use werf similarly to multiwerf
source $(trdl use werf 1.2 ea)

Some more details about trdl add params. These are sort of "fingerprints" of trusted tuf-repository:

trdl add werf https://tuf.werf.io 1 b7ff6bcbe598e072a86d595a3621924c8612c7e6dc6a82e919abe89707d7e3f468e616b5635630680dd1e98fc362ae5051728406700e6274c5ed1ad92bea52a2
# 1 stands for a version of root.json tuf metadata file: https://tuf.werf.io/1.root.json
# hash is a sha512 of root.json tuf metadata file: https://tuf.werf.io/root.json

Upd. It is better to use tuf.werf.io instead of storage.googleapis.com/werf-tuf directly and tuf.trdl.dev instead of storage.googleapis.com/trdl-tuf

from multiwerf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.