-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add apt update in the homarr workflow
create an output directory in / instead of $HOME fix directory deep creation
- Loading branch information
Soubinan
committed
Mar 6, 2024
1 parent
a43833b
commit 6326304
Showing
2 changed files
with
83 additions
and
13 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,47 @@ | ||
### create application | ||
POST {{endpoint_url}} | ||
Authorization: Bearer {{token}} | ||
|
||
```graphql | ||
mutation CreateApplication { | ||
createApplication(data: {name: "{{app_name}}", source: "{{source}}"}) { | ||
id | ||
} | ||
} | ||
``` | ||
|
||
### publish application | ||
POST {{endpoint_url}} | ||
Authorization: Bearer {{token}} | ||
|
||
```graphql | ||
mutation PublishApplication { | ||
publishApplication(where: {name: "{{app_name}}"}) { | ||
id | ||
} | ||
} | ||
``` | ||
|
||
### create build | ||
POST {{endpoint_url}} | ||
Authorization: Bearer {{token}} | ||
|
||
```graphql | ||
mutation CreateBuild { | ||
createBuild( | ||
data: {buildId: "{{build_id}}", size: "{{size}}", version: "{{app_name}}-{{app_version}}", architecture: "{{arch}}", distribution: "{{dist}}", distRelease: "{{dist_release}}", application: {connect: {name: "{{app_name}}"}}} | ||
) | ||
} | ||
``` | ||
|
||
### publish build | ||
POST {{endpoint_url}} | ||
Authorization: Bearer {{token}} | ||
|
||
```graphql | ||
mutation PublishBuild { | ||
publishBuild(where: {version: "{{app_name}}-{{app_version}}"}) { | ||
id | ||
} | ||
} | ||
``` |
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