You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There could be a way to ensure the workspace urls remained the same, by making the Id of the workspace a function of the folder that it is in, in source.
e.g. in a pipeline, some kind of numeric hash could be fathomed
of course the challenge here is that every workspace has its own key and secret.
The answer has previously been "no" to the CLI being able to effectively "upsert" a workspace.
Is this beyond the intended scope of the CLI, or just not feasible?
Would the answer be to use the admin API? If so, would it be acceptable for the admin API to be given an identifier to create a workspace? I see this is not an option, at present. Could this operation be idempotent etc?
Would the recommendation be to use both the admin API and the CLI in such a a scenario?
The alternative option is to manually create every workspace and then place its id, url, key/secretidentifiers, in a file alongside each workspace
It would be really cool to be able to push multiple workspaces from within a pipeline without the need for those steps
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I note the previously closed discussion around a similar theme.
There could be a way to ensure the workspace urls remained the same, by making the Id of the workspace a function of the folder that it is in, in source.
e.g. in a pipeline, some kind of numeric hash could be fathomed
of course the challenge here is that every workspace has its own key and secret.
The answer has previously been "no" to the CLI being able to effectively "upsert" a workspace.
Is this beyond the intended scope of the CLI, or just not feasible?
Would the answer be to use the admin API? If so, would it be acceptable for the admin API to be given an identifier to create a workspace? I see this is not an option, at present. Could this operation be idempotent etc?
Would the recommendation be to use both the admin API and the CLI in such a a scenario?
The alternative option is to manually create every workspace and then place its id, url, key/secretidentifiers, in a file alongside each workspace
It would be really cool to be able to push multiple workspaces from within a pipeline without the need for those steps
Beta Was this translation helpful? Give feedback.
All reactions