-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
need to add fixed test deployments/config
- Loading branch information
Showing
4 changed files
with
346 additions
and
0 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 |
---|---|---|
@@ -1 +1,2 @@ | ||
/.quarto/ | ||
!.posit |
43 changes: 43 additions & 0 deletions
43
test/e2e/content-workspace/config-errors/.posit/publish/deployments/deployment-4QPM.toml
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,43 @@ | ||
# This file is automatically generated by Posit Publisher; do not edit. | ||
'$schema' = 'https://cdn.posit.co/publisher/schemas/posit-publishing-record-schema-v3.json' | ||
server_type = 'connect' | ||
server_url = 'http://localhost:3939' | ||
client_version = '1.10.0-21-gf65d45573' | ||
created_at = '2025-01-22T10:45:45-08:00' | ||
dismissed_at = '' | ||
type = 'python-fastapi' | ||
configuration_name = 'fastapi-simple-DHJL' | ||
id = '913f357e-1060-41f6-a619-2515a959250d' | ||
dashboard_url = 'http://localhost:3939/connect/#/apps/913f357e-1060-41f6-a619-2515a959250d' | ||
direct_url = 'http://localhost:3939/content/913f357e-1060-41f6-a619-2515a959250d/' | ||
logs_url = 'http://localhost:3939/connect/#/apps/913f357e-1060-41f6-a619-2515a959250d/logs' | ||
deployed_at = '2025-02-10T12:27:54-08:00' | ||
bundle_id = '402' | ||
bundle_url = 'http://localhost:3939/__api__/v1/content/913f357e-1060-41f6-a619-2515a959250d/bundles/402/download' | ||
files = [ | ||
'.posit/publish/deployments/deployment-4QPM.toml', | ||
'.posit/publish/fastapi-simple-DHJL.toml', | ||
'requirements.txt', | ||
'simple.py' | ||
] | ||
requirements = [ | ||
'fastapi' | ||
] | ||
|
||
[configuration] | ||
'$schema' = 'https://cdn.posit.co/publisher/schemas/posit-publishing-schema-v3.json' | ||
type = 'python-fastapi' | ||
entrypoint = 'simple.py' | ||
validate = true | ||
files = [ | ||
'/simple.py', | ||
'/requirements.txt', | ||
'/.posit/publish/fastapi-simple-DHJL.toml', | ||
'/.posit/publish/deployments/deployment-4QPM.toml' | ||
] | ||
title = 'fastapi-simple' | ||
|
||
[configuration.python] | ||
version = '3.11.9' | ||
package_file = 'requirements.txt' | ||
package_manager = 'pip' |
278 changes: 278 additions & 0 deletions
278
test/e2e/content-workspace/config-errors/.posit/publish/deployments/deployment-P869.toml
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,278 @@ | ||
# This file is automatically generated by Posit Publisher; do not edit. | ||
'$schema' = 'https://cdn.posit.co/publisher/schemas/posit-publishing-record-schema-v3.json' | ||
server_type = 'connect' | ||
server_url = 'http://localhost:3939' | ||
client_version = '' | ||
created_at = '2025-01-17T11:27:38-08:00' | ||
type = 'quarto-static' | ||
configuration_name = 'quarto-project-8G2B' | ||
id = '4e230f05-c52f-4f04-8a06-98ddc6a93cea' | ||
dashboard_url = 'http://localhost:3939/connect/#/apps/4e230f05-c52f-4f04-8a06-98ddc6a93cea' | ||
direct_url = 'http://localhost:3939/content/4e230f05-c52f-4f04-8a06-98ddc6a93cea/' | ||
logs_url = 'http://localhost:3939/connect/#/apps/4e230f05-c52f-4f04-8a06-98ddc6a93cea/logs' | ||
deployed_at = '2025-01-17T16:16:48-08:00' | ||
bundle_id = '175' | ||
bundle_url = 'http://localhost:3939/__api__/v1/content/4e230f05-c52f-4f04-8a06-98ddc6a93cea/bundles/175/download' | ||
files = [ | ||
'_quarto.yml', | ||
'quarto-project.qmd', | ||
'requirements.txt' | ||
] | ||
|
||
[deployment_error] | ||
code = 'requirementsFileReadingError' | ||
message = 'Missing dependency file requirements.txt. This file must be included in the deployment.' | ||
operation = 'publish/checkCapabilities' | ||
|
||
[deployment_error.data] | ||
RequirementsFile = '/Users/billsager/dev/publishing-client/test/sample-content/quarto-project/requirements.txt' | ||
|
||
[configuration] | ||
'$schema' = 'https://cdn.posit.co/publisher/schemas/posit-publishing-schema-v3.json' | ||
type = 'quarto-static' | ||
entrypoint = 'quarto-project.qmd' | ||
validate = true | ||
files = [ | ||
'/quarto-project.qmd', | ||
'/_quarto.yml', | ||
'/', | ||
'/' | ||
] | ||
title = 'quarto-project' | ||
|
||
[configuration.python] | ||
version = '3.8.2' | ||
package_file = 'requirements.txt' | ||
package_manager = 'pip' | ||
|
||
[configuration.r] | ||
version = '4.3.3' | ||
package_file = 'renv.lock' | ||
package_manager = 'renv' | ||
|
||
[configuration.quarto] | ||
version = '1.6.39' | ||
engines = ['jupyter', 'knitr'] | ||
|
||
[renv] | ||
[renv.r] | ||
version = '4.3.3' | ||
|
||
[[renv.r.repositories]] | ||
name = 'CRAN' | ||
url = 'https://cloud.r-project.org' | ||
|
||
[renv.packages] | ||
[renv.packages.R6] | ||
package = 'R6' | ||
version = '2.5.1' | ||
source = 'Repository' | ||
repository = 'CRAN' | ||
requirements = ['R'] | ||
hash = '470851b6d5d0ac559e9d01bb352b4021' | ||
|
||
[renv.packages.base64enc] | ||
package = 'base64enc' | ||
version = '0.1-3' | ||
source = 'Repository' | ||
repository = 'CRAN' | ||
requirements = ['R'] | ||
hash = '543776ae6848fde2f48ff3816d0628bc' | ||
|
||
[renv.packages.bslib] | ||
package = 'bslib' | ||
version = '0.8.0' | ||
source = 'Repository' | ||
repository = 'CRAN' | ||
requirements = ['R', 'base64enc', 'cachem', 'fastmap', 'grDevices', 'htmltools', 'jquerylib', 'jsonlite', 'lifecycle', 'memoise', 'mime', 'rlang', 'sass'] | ||
hash = 'b299c6741ca9746fb227debcb0f9fb6c' | ||
|
||
[renv.packages.cachem] | ||
package = 'cachem' | ||
version = '1.1.0' | ||
source = 'Repository' | ||
repository = 'CRAN' | ||
requirements = ['fastmap', 'rlang'] | ||
hash = 'cd9a672193789068eb5a2aad65a0dedf' | ||
|
||
[renv.packages.cli] | ||
package = 'cli' | ||
version = '3.6.3' | ||
source = 'Repository' | ||
repository = 'CRAN' | ||
requirements = ['R', 'utils'] | ||
hash = 'b21916dd77a27642b447374a5d30ecf3' | ||
|
||
[renv.packages.digest] | ||
package = 'digest' | ||
version = '0.6.37' | ||
source = 'Repository' | ||
repository = 'CRAN' | ||
requirements = ['R', 'utils'] | ||
hash = '33698c4b3127fc9f506654607fb73676' | ||
|
||
[renv.packages.evaluate] | ||
package = 'evaluate' | ||
version = '0.23' | ||
source = 'Repository' | ||
repository = 'CRAN' | ||
requirements = ['R', 'methods'] | ||
hash = 'daf4a1246be12c1fa8c7705a0935c1a0' | ||
|
||
[renv.packages.fastmap] | ||
package = 'fastmap' | ||
version = '1.2.0' | ||
source = 'Repository' | ||
repository = 'CRAN' | ||
hash = 'aa5e1cd11c2d15497494c5292d7ffcc8' | ||
|
||
[renv.packages.fontawesome] | ||
package = 'fontawesome' | ||
version = '0.5.3' | ||
source = 'Repository' | ||
repository = 'CRAN' | ||
requirements = ['R', 'htmltools', 'rlang'] | ||
hash = 'bd1297f9b5b1fc1372d19e2c4cd82215' | ||
|
||
[renv.packages.fs] | ||
package = 'fs' | ||
version = '1.6.5' | ||
source = 'Repository' | ||
repository = 'CRAN' | ||
requirements = ['R', 'methods'] | ||
hash = '7f48af39fa27711ea5fbd183b399920d' | ||
|
||
[renv.packages.glue] | ||
package = 'glue' | ||
version = '1.8.0' | ||
source = 'Repository' | ||
repository = 'CRAN' | ||
requirements = ['R', 'methods'] | ||
hash = '5899f1eaa825580172bb56c08266f37c' | ||
|
||
[renv.packages.highr] | ||
package = 'highr' | ||
version = '0.10' | ||
source = 'Repository' | ||
repository = 'CRAN' | ||
requirements = ['R', 'xfun'] | ||
hash = '06230136b2d2b9ba5805e1963fa6e890' | ||
|
||
[renv.packages.htmltools] | ||
package = 'htmltools' | ||
version = '0.5.8.1' | ||
source = 'Repository' | ||
repository = 'CRAN' | ||
requirements = ['R', 'base64enc', 'digest', 'fastmap', 'grDevices', 'rlang', 'utils'] | ||
hash = '81d371a9cc60640e74e4ab6ac46dcedc' | ||
|
||
[renv.packages.jquerylib] | ||
package = 'jquerylib' | ||
version = '0.1.4' | ||
source = 'Repository' | ||
repository = 'CRAN' | ||
requirements = ['htmltools'] | ||
hash = '5aab57a3bd297eee1c1d862735972182' | ||
|
||
[renv.packages.jsonlite] | ||
package = 'jsonlite' | ||
version = '1.8.9' | ||
source = 'Repository' | ||
repository = 'CRAN' | ||
requirements = ['methods'] | ||
hash = '4e993b65c2c3ffbffce7bb3e2c6f832b' | ||
|
||
[renv.packages.knitr] | ||
package = 'knitr' | ||
version = '1.45' | ||
source = 'Repository' | ||
repository = 'RSPM' | ||
requirements = ['R', 'evaluate', 'highr', 'methods', 'tools', 'xfun', 'yaml'] | ||
hash = '1ec462871063897135c1bcbe0fc8f07d' | ||
|
||
[renv.packages.lifecycle] | ||
package = 'lifecycle' | ||
version = '1.0.4' | ||
source = 'Repository' | ||
repository = 'RSPM' | ||
requirements = ['R', 'cli', 'glue', 'rlang'] | ||
hash = 'b8552d117e1b808b09a832f589b79035' | ||
|
||
[renv.packages.memoise] | ||
package = 'memoise' | ||
version = '2.0.1' | ||
source = 'Repository' | ||
repository = 'CRAN' | ||
requirements = ['cachem', 'rlang'] | ||
hash = 'e2817ccf4a065c5d9d7f2cfbe7c1d78c' | ||
|
||
[renv.packages.mime] | ||
package = 'mime' | ||
version = '0.12' | ||
source = 'Repository' | ||
repository = 'CRAN' | ||
requirements = ['tools'] | ||
hash = '18e9c28c1d3ca1560ce30658b22ce104' | ||
|
||
[renv.packages.rappdirs] | ||
package = 'rappdirs' | ||
version = '0.3.3' | ||
source = 'Repository' | ||
repository = 'CRAN' | ||
requirements = ['R'] | ||
hash = '5e3c5dc0b071b21fa128676560dbe94d' | ||
|
||
[renv.packages.renv] | ||
package = 'renv' | ||
version = '1.0.11' | ||
source = 'Repository' | ||
repository = 'CRAN' | ||
requirements = ['utils'] | ||
hash = '47623f66b4e80b3b0587bc5d7b309888' | ||
|
||
[renv.packages.rlang] | ||
package = 'rlang' | ||
version = '1.1.4' | ||
source = 'Repository' | ||
repository = 'CRAN' | ||
requirements = ['R', 'utils'] | ||
hash = '3eec01f8b1dee337674b2e34ab1f9bc1' | ||
|
||
[renv.packages.rmarkdown] | ||
package = 'rmarkdown' | ||
version = '2.29' | ||
source = 'Repository' | ||
repository = 'CRAN' | ||
requirements = ['R', 'bslib', 'evaluate', 'fontawesome', 'htmltools', 'jquerylib', 'jsonlite', 'knitr', 'methods', 'tinytex', 'tools', 'utils', 'xfun', 'yaml'] | ||
hash = 'df99277f63d01c34e95e3d2f06a79736' | ||
|
||
[renv.packages.sass] | ||
package = 'sass' | ||
version = '0.4.9' | ||
source = 'Repository' | ||
repository = 'CRAN' | ||
requirements = ['R6', 'fs', 'htmltools', 'rappdirs', 'rlang'] | ||
hash = 'd53dbfddf695303ea4ad66f86e99b95d' | ||
|
||
[renv.packages.tinytex] | ||
package = 'tinytex' | ||
version = '0.54' | ||
source = 'Repository' | ||
repository = 'CRAN' | ||
requirements = ['xfun'] | ||
hash = '3ec7e3ddcacc2d34a9046941222bf94d' | ||
|
||
[renv.packages.xfun] | ||
package = 'xfun' | ||
version = '0.49' | ||
source = 'Repository' | ||
repository = 'CRAN' | ||
requirements = ['R', 'grDevices', 'stats', 'tools'] | ||
hash = '8687398773806cfff9401a2feca96298' | ||
|
||
[renv.packages.yaml] | ||
package = 'yaml' | ||
version = '2.3.10' | ||
source = 'Repository' | ||
repository = 'CRAN' | ||
hash = '51dab85c6c98e50a18d7551e9d49f76c' |
24 changes: 24 additions & 0 deletions
24
test/e2e/content-workspace/config-errors/.posit/publish/quarto-project-8G2B.toml
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,24 @@ | ||
# Configuration file generated by Posit Publisher. | ||
# Please review and modify as needed. See the documentation for more options: | ||
# https://github.com/posit-dev/publisher/blob/main/docs/configuration.md | ||
'$schema' = 'https://cdn.posit.co/publisher/schemas/posit-publishing-schema-v3.json' | ||
type = 'quarto-static' | ||
entrypoint = 'quarto-project.qmd' | ||
validate = true | ||
files = [ | ||
'/quarto-project.qmd', | ||
'/_quarto.yml', | ||
'/requirements.txt', | ||
'/renv.lock', | ||
'/.posit/publish/quarto-project-8G2B.toml', | ||
'/.posit/publish/deployments/deployment-P869.toml' | ||
] | ||
title = 'quarto-project' | ||
|
||
[python] | ||
|
||
[r] | ||
|
||
[quarto] | ||
version = '1.6.39' | ||
engines = ['jupyter'] |