PrivacyLx / privacylx-issue-tracker

PrivacyLx Issue Tracker repository
0 stars 0 forks source link

Website deployment role #16

Closed anadahz closed 4 years ago

anadahz commented 5 years ago

This issue is about the creating a website deployment role.

francisco-core commented 5 years ago

now working on this

francisco-core commented 5 years ago

Pull request in progress here: https://github.com/PrivacyLx/devops/pull/2

@anadahz you had already done some progress in a deployment role for a hugo website with caddy but there were a few problems:

But it seems to work mostly fine

anadahz commented 5 years ago

Thanks for working on this.

caddy no longer provides the builds repository (discussion here) on which your deployment role relied. So I made it install caddy from binary on the deployment machine instead of on a docker container

I have chosen to build caddy from source rather than using the binary in order to get rid of the telemetry function. Do you know if the binary is without the telemetry function (not only disabled)?

francisco-core commented 5 years ago

Thanks for working on this.

no problem :)

Yes, I am aware. The binary by default disables the telemetry through the environment variable. On the forums it gives the impression that it is mostly disabled but not as disabled as through doing it in the source like before.

I have chosen to build caddy from source rather than using the binary in order to get rid of the telemetry function. Do you know if the binary is without the telemetry function (not only disabled)?

What should we do about this. Is it worth it to put in the effort to revive the docker image?

Activado ter, jun 25, 2019 às 19:08, anadahz notifications@github.com escreveu:

Thanks for working on this.

caddy no longer provides the builds repository (discussion here) on which your deployment role relied. So I made it install caddy from binary on the deployment machine instead of on a docker container

I have chosen to build caddy from source rather than using the binary in order to get rid of the telemetry function. Do you know if the binary is without the telemetry function (not only disabled)?

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub, or mute the thread.

anadahz commented 5 years ago

What should we do about this. Is it worth it to put in the effort to revive the docker image?

What was the issue exactly? I see that Caddy's builder Dockerfile is still active (was updated 2 days ago).

francisco-core commented 5 years ago

What was the issue exactly? I see that Caddy's builder Dockerfile is still active (was updated 2 days ago).

It was just outdated. So we need to remake it with the docker image compiling it from source and removing the telemetry at compile time.