Atif
CCoder.com
•Created by ayush on 12/20/2024 in #help
Need Simplified Approach
my coder workspace , should restart , so that the scripts of the workspace would pull the latest code from the projectYou don't have to restart the workspace to run the scripts. See my answer above for suggestion on running commands without a restart.
4 replies
CCoder.com
•Created by ayush on 12/20/2024 in #help
Need Simplified Approach
You need to pull latest code from gitlab in your workspace whenever the upstream changes. I can't think of a simple way to keep watching for the repo for changes continuously but can suggest something that runs on a schedule or on demand.
For running on a schedule,
You can probably add a
coder_script
with that runs on cron
to pull changes.
https://registry.terraform.io/providers/coder/coder/latest/docs/resources/script#cron-1
For running on demand,
A coder_app
that runs a command
to pull your changes whenever you click the button in UI.
https://registry.terraform.io/providers/coder/coder/latest/docs/resources/app#command-14 replies
CCoder.com
•Created by ayush on 12/19/2024 in #help
Restart a workspace through the coder api
You need to pull latest code from gitlab in your workspace whenever the upstream chnages?
You can probably add a
coder_script
with that runs on cron
or a coder_app
that runs a command
to pull your chnages whenever you click the button in UI.7 replies
CCoder.com
•Created by ayush on 12/19/2024 in #help
Restart a workspace through the coder api
Yes you can do that by making two API calls.
https://coder.com/docs/reference/api/builds#create-workspace-build
one with
"transition": "stop"
then when it completes do another with "transition": "start"
7 replies
CCoder.com
•Created by Jaidyn on 12/18/2024 in #help
Jetbrains IDE Support
Envbuilder only works on Linux
26 replies
CCoder.com
•Created by Jaidyn on 12/18/2024 in #help
Jetbrains IDE Support
Try using the Docker template
26 replies
CCoder.com
•Created by Jaidyn on 12/18/2024 in #help
Jetbrains IDE Support
Also @Jaidyn could you try using https://registry.coder.com/modules/jetbrains-gateway and see if you are able to connect?
26 replies
CCoder.com
•Created by Jaidyn on 12/18/2024 in #help
Jetbrains IDE Support
@sdrx Have you seen this before?
26 replies
CCoder.com
•Created by Winton on 12/5/2024 in #help
SSH from vscode/terminal back to local desktop?
Can it be done using the revere port forwarding?
coder port-forward -r
?10 replies
CCoder.com
•Created by Spiked_Grape on 12/10/2024 in #help
questions on coder module jfrog-oauth
Have you contacted JFrog support too about the problem? Maybe with the help of JFrog team we can solve this issue for you
15 replies
CCoder.com
•Created by Spiked_Grape on 12/10/2024 in #help
questions on coder module jfrog-oauth
I am not an Artifactory expert myself. Could you elaborate a bit on why you want to use the group scoped tokens? Also what is the limitation of using the current user scoped tokens?
15 replies
CCoder.com
•Created by Spiked_Grape on 12/10/2024 in #help
questions on coder module jfrog-oauth
Could you share steps to reproduce this?
15 replies
CCoder.com
•Created by Spiked_Grape on 12/10/2024 in #help
questions on coder module jfrog-oauth
What is you current settings? How are you creating the Application? What scope are you setting in Coder external auth?
15 replies
CCoder.com
•Created by Spiked_Grape on 12/10/2024 in #help
questions on coder module jfrog-oauth
I totally forgot to hit enter for the remaing of the message.
15 replies
CCoder.com
•Created by Alex{ ᵐᶜ } on 12/13/2024 in #help
The ping place is not working
hi @Alex{} could you open a GitHub issue? with your Coder version and setup(how Coder is installed)
68 replies
CCoder.com
•Created by Spiked_Grape on 12/10/2024 in #help
questions on coder module jfrog-oauth
Hi @Spiked_Grape
15 replies
CCoder.com
•Created by Kbs56 on 12/12/2024 in #help
K8s + Coder Permissions Issues
Its unfortunate. You should be able to fix that by either upgrading to coder provider version 2; https://registry.terraform.io/providers/coder/coder/latest/docs/guides/version-2-upgrade
Or set
version = "1.0.4"
in that example main.tf10 replies
CCoder.com
•Created by Šimon DJ Čecháček on 12/4/2024 in #help
Issue with starting workspaces that were running for months.
It should help you migrate without a issue. IF you see any isssues, please let us know and we will update the guide.
36 replies
CCoder.com
•Created by Šimon DJ Čecháček on 12/4/2024 in #help
Issue with starting workspaces that were running for months.
Also have you checked the upgrade guide at: https://registry.terraform.io/providers/coder/coder/latest/docs/guides/version-2-upgrade
36 replies
CCoder.com
•Created by Šimon DJ Čecháček on 12/4/2024 in #help
Issue with starting workspaces that were running for months.
Hi @Šimon DJ Čecháček We recommned always pinning provider versions in prodiction.
36 replies