https://linen.dev logo
Join Discord
Powered by
# general
  • k

    KozmikNano

    04/13/2023, 3:38 PM
    I set it to just
    /home/
  • b

    Ben

    04/13/2023, 3:54 PM
    We're doing our first Coder Office Hours next week: https://discord.com/events/747933592273027093/1096101028421697577
  • k

    KozmikNano

    04/13/2023, 4:11 PM
    Dang, I got film class during that :/
  • b

    Ben

    04/13/2023, 4:21 PM
    I'll try & record it šŸ™‚
  • k

    KozmikNano

    04/13/2023, 4:26 PM
    Thank you šŸ™‚
  • j

    JanL

    04/13/2023, 7:34 PM
    I'll try to make it - have to discuss it with my better half as its already 9pm here šŸ˜‰
  • j

    JanL

    04/13/2023, 7:36 PM
    I've a general question about the named user licenses. We have a stock of normal developers which stay for a long time with us but we also have freelance externals which come and go on a 3-12 month contract. Is it possible to delete them from coder when they've left and reuse their license for a replacement?
  • j

    JanL

    04/13/2023, 7:37 PM
    (i really mean "delete" - not "deactivate")
  • c

    colin (rust enthusiast)

    04/13/2023, 8:01 PM
    yep! all that matters is unique user accounts within the platform
  • t

    TIEB62

    04/13/2023, 8:39 PM
    Is there somewhere a list + doc of env vars and launch flags available to code-server ?
  • j

    JanL

    04/13/2023, 8:41 PM
    https://coder.com/docs/v2/latest/cli/server
  • j

    JanL

    04/13/2023, 8:42 PM
    ah, you ment the code-server, sorry
  • t

    TIEB62

    04/13/2023, 8:42 PM
    No worries
  • j

    JanL

    04/13/2023, 8:45 PM
    maybe this: https://github.com/coder/code-server/blob/main/src/node/cli.ts#L143-L272 ?
  • t

    TIEB62

    04/13/2023, 8:47 PM
    Thanks
  • t

    TIEB62

    04/13/2023, 8:47 PM
    I assume the env vars are identical (just uppercase)
  • j

    JanL

    04/13/2023, 8:49 PM
    I'm not 100% sure. searching for
    env
    in this file gives some hits.
  • k

    KozmikNano

    04/13/2023, 9:03 PM
    https://coder.com/docs/v1/latest/workspaces/variables
  • k

    KozmikNano

    04/13/2023, 9:03 PM
    theres also this, but i dont know if thats what you are looking for
  • t

    TIEB62

    04/13/2023, 9:03 PM
    I'm talking about code-server
  • k

    KozmikNano

    04/13/2023, 9:04 PM
    I swear i clicked code-server. My bad
  • k

    KozmikNano

    04/14/2023, 1:43 AM
    Am I allowed to add my own to this list? Or is it only if coder recognizes a repo
  • a

    Atif

    04/14/2023, 3:14 AM
    You can submit a PR. I am not sure if there is any criteria
  • j

    JanL

    04/14/2023, 9:42 AM
    How can I set a terraform variable on the commandline?
  • j

    JanL

    04/14/2023, 9:45 AM
    I want to inject the latest tag of a ci-build base image in the template push - so my image is tagged with
    $CI_PIPELINE_IID-$CI_COMMIT_SHORT_SHA
    and I want to use this value then in my template which gets pushed from the same pipeline run. So I've created a terraform variable
    Copy code
    variable "IMAGE_NAME" {
      type = "string"
    }
    which I then use in the docker related resources.
  • j

    JanL

    04/14/2023, 9:50 AM
    Copy code
    āÆ coder template push --variable=var.BAR=bar testfoo   
    version mismatch: client v0.21.2+872037b, server v0.22.0+3ff2ae1                                                          
    download the server version with: 'curl -L https://coder.com/install.sh | sh -s -- --version 0.22.0'
    > Upload "."? (yes/no) yes
    āœ” Queued [435ms]
    āœ” Adding README.md... [0ms]
    āœ” Setting up [8ms]
    āœ” Parsing template parameters [13ms]
    ✘ Cleaning Up [9ms]
                                                                
      This template has required variables! They are scoped to  
      the template, and not viewable after being set.           
    
    var.BAR
    > Enter a value: ^C
    I've tried
    --variable=var.NAME=value
    and
    --variable=NAME=value
    with no success
  • j

    JanL

    04/14/2023, 10:15 AM
    Ah, it seems
    Copy code
    provider "coder" {
      feature_use_managed_variables = true
    }
    is needed - Is this correct? (always good to have the unittests for a feature available šŸ˜‰
  • k

    KozmikNano

    04/14/2023, 10:27 AM
    Sweet!
  • c

    cookiesowns

    04/14/2023, 4:17 PM
    is the v0.7.0 terraform provider still not supported by the latest release version of coder?
  • k

    kyle

    04/14/2023, 4:35 PM
    It is! Is something not working as expected?
1...818283...96Latest