Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ubuntu release #16

Open
rvr31 opened this issue Oct 12, 2018 · 4 comments
Open

Add ubuntu release #16

rvr31 opened this issue Oct 12, 2018 · 4 comments

Comments

@rvr31
Copy link

rvr31 commented Oct 12, 2018

Did a release for ubuntu:

https://github.com/robin31/config-gen/releases/

@shakyShane
Copy link
Contributor

shakyShane commented Oct 12, 2018

@Robin31 do you know how we can incorporate these releases into CI?, I'm new to rust :)

@tdgroot
Copy link
Contributor

tdgroot commented Nov 12, 2018

@shakyShane this is related to your issue #22. You could build on travis-ci on MacOS and Linux and then create a release. It's even possible to run docker containers within travis-ci if you want to have build environments for different Linux distributions.

@tdgroot
Copy link
Contributor

tdgroot commented Nov 12, 2018

For now, I just pull in latest changes and run cargo build to build the application for my environment :).

@davidalger
Copy link

If anyone wants to run this from a container, I authored a Dockerfile to build this into one. Wouldn't take too much to convert the Dockerfile to build off Ubuntu (I used CentOS 7), just had to fork this and alter config-gen code in my branch to bind to 0.0.0.0 so the port forward will work: https://hub.docker.com/r/davidalger/config-gen/dockerfile

This is how I'm running the image in the context of a Warden orchestrated local environment:

version: "3.5"
services:
  config-gen:
    container_name: ${WARDEN_ENV_NAME}_config-gen
    image: davidalger/config-gen
    volumes:
    - ./etc:/etc/config-gen:ro
    ports:
    - 8888:8888
    command: >-
      --port 8888
      --seed /etc/config-gen/seed.json
      --config /etc/config-gen/config.yml
      https://${TRAEFIK_SUBDOMAIN}.${TRAEFIK_DOMAIN}/
    extra_hosts:
    ## This IP address should point at the IP of the traefik container:
    ##
    ##   docker container inspect traefik --format '{{.NetworkSettings.Networks.warden.IPAddress}}'
    ##
    - "${TRAEFIK_SUBDOMAIN}.${TRAEFIK_DOMAIN}:172.19.0.5"

networks:
  default:
    external: true
    name: warden

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants