Code Monkey home page Code Monkey logo

Comments (16)

npalm avatar npalm commented on June 11, 2024 1

Yep, no development is going on, feel free to create a PR

from terraform-aws-gitlab-runner.

npalm avatar npalm commented on June 11, 2024

@roock cool idea, any idea thoughts for an implementation?

from terraform-aws-gitlab-runner.

roock avatar roock commented on June 11, 2024

some thoughts:

  • we would need to aquire an static Elastic IP address
  • we could assign this IP with the following script: https://github.com/skymill/aws-ec2-assign-elastic-ip
  • we would need an additiona parameter to add a rule to the security group for allowing Gitlab to the websession port

from terraform-aws-gitlab-runner.

kayman-mk avatar kayman-mk commented on June 11, 2024

Oh yes, a feature I missed already. Guess no work is going on at the moment, right?

from terraform-aws-gitlab-runner.

kayman-mk avatar kayman-mk commented on June 11, 2024

The EIP is assigned to the runner agent. #124 will not be solved here.
I will also offer the possibility to add a rule to a load balancer instead of assigning an EIP.

from terraform-aws-gitlab-runner.

kayman-mk avatar kayman-mk commented on June 11, 2024

I reviewed my last comment and think that it makes no sense to add an IP or load balancer or something else. The reason is, that you should already been able to reach the runner from your gitlab instance (to start the build jobs).

from terraform-aws-gitlab-runner.

roock avatar roock commented on June 11, 2024

I reviewed my last comment and think that it makes no sense to add an IP or load balancer or something else. The reason is, that you should already been able to reach the runner from your gitlab instance (to start the build jobs).

Afaik there is a difference between regular runner jobs and the session Server. For regular jobs, the runner will establish a http connection to the gitlab server. For the session server, Gitlab will establish a (tls-encrypted) connection to the runner, so you will need to expose the session service to Gitlab.

from terraform-aws-gitlab-runner.

kayman-mk avatar kayman-mk commented on June 11, 2024

Oh yes, you are absolutely right. I will add options for an IP address and a load balancer (ALB, ELB do not work here, see https://docs.gitlab.com/ee/administration/integration/terminal.html#enabling-and-disabling-terminal-support)

from terraform-aws-gitlab-runner.

roock avatar roock commented on June 11, 2024

The module already supports adding an EIP directly to the instance. Not sure if it is strictly required to put it behind a ALB, although it might be a more elegant solution.

from terraform-aws-gitlab-runner.

kayman-mk avatar kayman-mk commented on June 11, 2024

@roock Yeah, just saw it. So nothing to do for the EIP. An ALB listener can now be passed to the module. But the test is still missing. The idea is to use either EIP or ALB. Depends on your preferences, company guidelines, ...

from terraform-aws-gitlab-runner.

kayman-mk avatar kayman-mk commented on June 11, 2024

Hm, still on my wishlist. Using an ALB is too complicated. Let's stick with the EIP solution which is already in place.

from terraform-aws-gitlab-runner.

kayman-mk avatar kayman-mk commented on June 11, 2024

Ok, let's give it another try. Stick with EIP for the base feature and add ALB support later.

from terraform-aws-gitlab-runner.

github-actions avatar github-actions commented on June 11, 2024

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days.

from terraform-aws-gitlab-runner.

github-actions avatar github-actions commented on June 11, 2024

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days.

from terraform-aws-gitlab-runner.

github-actions avatar github-actions commented on June 11, 2024

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days.

from terraform-aws-gitlab-runner.

github-actions avatar github-actions commented on June 11, 2024

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days.

from terraform-aws-gitlab-runner.

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.