-
Notifications
You must be signed in to change notification settings - Fork 837
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'daytonaio:main' into option-ssh
- Loading branch information
Showing
72 changed files
with
2,238 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Trigger External Workflow on Release | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
trigger-external-workflow: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Trigger release workflow | ||
if: github.event.release.prerelease == false | ||
uses: peter-evans/repository-dispatch@v3 | ||
with: | ||
token: ${{ secrets.GITHUBBOT_TOKEN }} | ||
repository: daytonaio/daytona-release | ||
event-type: new-release | ||
client-payload: '{"release_tag": "${{ github.event.release.tag_name }}"}' | ||
|
||
- name: Trigger prerelease workflow | ||
if: github.event.release.prerelease == true | ||
uses: peter-evans/repository-dispatch@v3 | ||
with: | ||
token: ${{ secrets.GITHUBBOT_TOKEN }} | ||
repository: daytonaio/daytona-release | ||
event-type: new-prerelease | ||
client-payload: '{"prerelease_tag": "${{ github.event.release.tag_name }}"}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
## daytona target set-default | ||
|
||
Set target to be used by default | ||
|
||
``` | ||
daytona target set-default [TARGET_NAME] [flags] | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--help help for daytona | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [daytona target](daytona_target.md) - Manage provider targets | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: daytona target set-default | ||
synopsis: Set target to be used by default | ||
usage: daytona target set-default [TARGET_NAME] [flags] | ||
inherited_options: | ||
- name: help | ||
default_value: "false" | ||
usage: help for daytona | ||
see_also: | ||
- daytona target - Manage provider targets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Copyright 2024 Daytona Platforms Inc. | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
package conversion | ||
|
||
import ( | ||
"github.com/daytonaio/daytona/pkg/provider" | ||
"github.com/daytonaio/daytona/pkg/server/providertargets/dto" | ||
) | ||
|
||
func ToProviderTarget(createProviderTargetDto dto.CreateProviderTargetDTO) *provider.ProviderTarget { | ||
return &provider.ProviderTarget{ | ||
Name: createProviderTargetDto.Name, | ||
ProviderInfo: createProviderTargetDto.ProviderInfo, | ||
Options: createProviderTargetDto.Options, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.