Граф коммитов

87 Коммитов

Автор SHA1 Сообщение Дата
Gabriel Castro 95c0f706cc
Update Node LTS version to latest 10 (#211)
* Update default node version to 10 LTS

* update tests

* tests + constants update
2019-06-19 12:45:55 -07:00
Dor 84feebd259
Added support for all platforms in the `oryx run-script` command (#194) 2019-06-07 17:44:05 -07:00
Kiran Challa 5160c57f40
Code clean-up (renames, usings, whitespace removal) (#190) 2019-06-04 14:20:58 -07:00
Dor 17564e634c
Added a checker for global NPM package installations (#165) 2019-05-31 15:12:06 -07:00
Gabriel Castro 038b15cefe
Control Node LTS versions using constants file (#173)
* Make it easier to maintain Node LTS versions

* update tags on base image
2019-05-29 16:23:36 -07:00
Dor 3e09a9cbe1
Added a basic buildpack test & fixed checker discovery (#163) 2019-05-28 14:43:51 -07:00
Kiran Challa 2d31acfc5a
Fix how .NET Core versions are resolved. Separate runtime and sdk versions. (#168) 2019-05-24 14:58:50 -07:00
Kiran Challa ffb5a357f0
Fix .NET Core build script to build from intermediate directory if provided (#162) 2019-05-21 10:16:34 -07:00
Kiran Challa 146f3073c0
Fixed ASP.NET Core 'web project' probing logic to consider more scenarios (#152) 2019-05-21 01:47:02 -07:00
Dor aafcbfcad8
Introduced message/warning framework (#149) 2019-05-20 17:21:30 -07:00
Kiran Challa 19171c0fb4
Added support for building & running ASP.NET Core applications written in F# (#150) 2019-05-17 14:45:07 -07:00
Kiran Challa 7869c96d80
Enable supplying commands directly to the pre and post build script envrionment variables (#124) 2019-05-08 13:47:12 -07:00
Gabriel Castro 98fbbcea0e
Make virtual envs default for Python (#113)
* Make virtual envs default for Python

* PR comments

* tests

* return non-zero when pip install fails

* fixing test
2019-05-03 17:18:00 -07:00
Kiran Challa 7bc52e6ee2
Update how we probe for ASP.NET Core web applications in a repo (#109) 2019-05-01 18:30:01 -07:00
Kiran Challa 7f5c0b5c62
Added support for ASP.NET Core 3.0 (#106) 2019-04-30 16:05:16 -07:00
Arjun Roy Chaudhuri 50433f669b
code-less app-insights configuration for node apps
* app-insight for node insitial implementation

* add some tests and some other code updates

* update code to fix test failures

* fix scriptgenerator tests

* updated based on feedbacks

* some fixes and updates

* update few more things and add more tests

* remove dead codes

* update unit test-fix

* rebase on master

* few more fixes based on code review

* add informative log message in appinsights loader

* runtime images test fix

* update runtime image test

* add --save to runtime image test to fix module not found error

* reorder npm install in GeneratesScript_CanRun_AppInsightsModule_Found test
2019-04-29 12:23:43 -07:00
Kiran Challa 0d8a781d6e DotnetCore: Disable multi-platform build and copy to local directory and run (#78) 2019-04-26 10:25:32 -07:00
Kiran Challa 6c3742bd97
Enable Python builds to support compress formats zip and tar.gz (#85) 2019-04-22 14:36:16 -07:00
Gabriel Castro 3ed44e5ebc
Add node_modules/.bin to the path when running the apps with compressed node_modules (#81)
* Add node_modules/.bin to the path when running the apps with compressed node_modules

* Removing deleted node_modules from copy

* fix test
2019-04-21 08:06:00 -07:00
Dor 5a2330d7c5
Added infrastructure to support an Oryx Buildpack (#55) 2019-04-12 10:11:35 -07:00
Gabriel Castro e1bf2002db
Remove Python 3.5 (#40) 2019-04-02 15:24:25 -07:00
Gabriel Castro eac871f7af
Adding quiet flag to zip command (#38)
* Adding quiet flag to zip

* Fix test
2019-04-02 11:08:24 -07:00
Dor 888557d2b3
Added PHP support (#5) 2019-04-01 13:15:09 -07:00
Gabriel Castro 6419a41077
Adding a build manifest, including the compression format that was used. (#33)
* Adding a build manifest, including the compression format that was used.

* Adding parameter

* fixes

* fixes

* fixes

* fixes

* PR comments

* test

* test

* fix

* fixes
2019-03-30 08:29:59 -07:00
Dor 2deeb17822
Added CLI flag for zipping Python virtualenv directory (#32) 2019-03-29 16:57:19 -07:00
Kiran Challa f52af8733c
Zip virtual environment and enable/disable virtual environment extraction behind flags (#25) 2019-03-27 12:02:13 -07:00
Kiran Challa f8d7c37bd4
Zip virtual environment to improve perf (#14) 2019-03-26 14:27:01 -07:00
Kiran Challa 256e390a2a
Copy only production dependencies to destination directory when building Node apps (#8) 2019-03-21 08:04:47 -07:00
Gabriel Pedro de Castro 0292c36619 PR comments 2019-03-20 14:22:14 -07:00
Gabriel Pedro de Castro 4180d50e0b Add condition to disable extraction of node_modules.zip, and rename it to node_modules.tar.gz 2019-03-20 14:22:14 -07:00
Kiran Challa cc43c3ddc7 Merged PR 169490: Perf: Zip nodemodules before copying to destination directory
Perf: Zip nodemodules before copying to destination directory

Related work items: #804209
2019-03-15 18:43:33 +00:00
Gabriel Pedro de Castro 84f7300eb6 Merged PR 169807: Adding more packages to the yarn cache
Adding more packages to the yarn cache

Related work items: #820979
2019-03-15 00:00:26 +00:00
Gabriel Pedro de Castro 2371a5a622 Merged PR 169579: Use rsync for copying files to/from intermediate directory
Use rsync for copying files to/from intermediate directory
@<Kiran Challa> , I'm hardcoding the directories and added a test code to zip node_modules until you're done with your PR.

Related work items: #819988
2019-03-14 21:06:05 +00:00
Dor Fire 384b863a80 Merged PR 168096: Moved .NET Core versions to build constants file
Related work items: #804269, #810415
2019-03-07 18:42:24 +00:00
Dor Fire 2e17b649b9 Merged PR 167818: Moved Python version to build constants & Upgraded Python 3.6 minor version
Other platforms will be adapted in separate PRs.

Related work items: #810415
2019-03-06 21:02:46 +00:00
Dor Fire d62a7fcecf Merged PR 167612: Updated Python 2.7 & pip to latest versions
Related work items: #758664, #804086, #807879
2019-03-05 17:24:50 +00:00
Gabriel Pedro de Castro 5d477d4382 Merged PR 167108: Add CLI command for `run-script`
Related work items: #750660
2019-03-02 01:22:01 +00:00
Gabriel Pedro de Castro 69a2cf0c08 Merged PR 166261: Change `script` command to `build-script` to prepare to generate entrypoint
Change `script` command to `build-script` to prepare to generate entrypoint scripts in build image
Also some renaming to make it clearer when we're talking about build scripts (as opposed to runscripts soon to be introduced)

Related work items: #750660
2019-02-28 18:16:11 +00:00
Dor Fire b100a115f9 Merged PR 165873: Log if a build is the first + consolidate test classes
Related work items: #798019
2019-02-26 18:46:06 +00:00
Gabriel Pedro de Castro eab931d273 Merged PR 165398: Multi-language builds should be off by default
We've decided to roll out more conservatively and have multi-language builds off by default.

Related work items: #796284
2019-02-22 00:35:32 +00:00
Dor Fire ee701dc60a Merged PR 165221: Dumbed down BaseBashBuildScriptProperties
Dumbed down BaseBashBuildScriptProperties
2019-02-20 18:35:38 +00:00
Dor Fire bac5703613 Merged PR 163256: Added a static code generation tool for constants
This only consolidates the Python 3.7 version; future PRs will consolidate more values.

Related work items: #772842
2019-02-08 23:47:57 +00:00
Gabriel Pedro de Castro 17c2e79a9c Merged PR 163159: Using Microsoft.Oryx namespace
Using Microsoft.Oryx namespace

Related work items: #778868
2019-02-06 20:35:31 +00:00
Dor Fire e982ce7baf Merged PR 162004: Adapted T4 templates to Scriban
Related work items: #780729
2019-02-05 23:23:37 +00:00
Gabriel Pedro de Castro 282bdcd4ce Merged PR 161106: Add option to disable multi-platform builds in general
Option to completely disable detection of languages other than the one specified, as a safety net in case something goes wrong in production.

Related work items: #778656
2019-01-25 21:55:18 +00:00
Dor Fire cb9770bf85 Merged PR 161069: Bumped Python 3 minor version
Related work items: #776731
2019-01-25 21:16:28 +00:00
Gabriel Pedro de Castro afddb05394 Merged PR 160755: Allow switching languages on/off
This PR has a few changes:
1. Rename the language class to programmingPlatform. Note that this will be an incremental change and I have _not_ renamed every occurrence of the word "language" in our repo. We can do that in steps as it would be a merge nighmare for everyone.
2.  Add options to opt _out_ of a language. I read the env variables on the CLI, and the generator only gets the values through its API.
3. Updated the script generator to better handle multiple languages in the same repo.

Related work items: #768382
2019-01-25 06:54:42 +00:00
Kiran Challa 24149518f1 Merged PR 159933: Provided option to disable running collectstatic for Python builds
Provided option to disable running collectstatic for Python builds

Related work items: #762544
2019-01-24 18:53:50 +00:00
Kiran Challa 8bc59c33d5 Merged PR 159863: Fixed .NET Core script generator to look into sub directories for ASP.NET Core
Fixed .NET Core script generator to look into sub directories for ASP.NET Core web application projects

Related work items: #759352
2019-01-23 20:36:52 +00:00
Arjun Roy Chaudhuri 38549eb863 Merged PR 160129: Log Source Directory Structure when build fails <Ignore CsProj Changes, need to revert back from non-dogfood VS>
Related work items: #761860
2019-01-22 21:00:36 +00:00