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

50 Коммитов

Автор SHA1 Сообщение Дата
Sarthak Sharma c57f601da1
change category (#2461)
Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>
2024-06-17 15:52:36 +05:30
kumaraksh1 e1852c789e
Add Support for PHP|8.3 (#2375)
* Add support for PHP|8.2

* Add support for PHP|8.3

* typo in version

* fixing gpg keys

* version fix

* fix duplicate buster file issue

* fix installPrereqs issue

* Add support for PHP|8.3

* nit fix

* updating base runtime tag

* update sqlsrv

* update 8.3.3 sha

* Remove imagick from php|8.3

* remove imagick from PHP|8.3

* PHP|8.3.3 update base tag

* Add bookworm support for PHP|8.3.3

* add bookworm for php|8.3.3

* adding common base dockerfile for bookworm

* add 8.3 bookworm job

* update service connection

* update debian repo url

* test|8.3 something

* update ms packages repo

* update packages

* test packages php|8.3

* update  83 bookworm

* rebase php|8.3 bookworm

* update release template for a temporary run

* temp run

* Generate php base images

* Update base tag | PHP|8.3.3

* Update base tag | Php-fpm|8.3.3

* test cases | php | 8.3

* update tests | php | 8.3

* tests | php | 8.3

* test cases | php|8.3

* php | 8.3 tests

* test cases | php | 8.3.3

* Run PHP|8.3 Tests

* php|tests | 8.3.3

* php|8.3.3 tests

* add tests | php | 8.3.3

* update php|8.3.3 to 8.3.4

* update version | php | 8.3.4

* update version 8.3.3 to 8.3.4 for php

* update keys for php|8.3.4

* PHP|8.3.4 | Update Base Tag

* Version updates | php | 8.3.4

* address comments | php|8.3.4

* address comments | php|8.3.4

* update ltsVersions dockerfile | php|8.3

* php|8.3, ltsDockerfile

* php composer | php|8.3.4

---------

Co-authored-by: root <root@Akshay-D22.fareast.corp.microsoft.com>
2024-03-19 11:53:35 +05:30
Cormac McCarthy 8bdf0efd93
Add bookworm support for PHP (build) and Python (build + runtime) (#2337)
Co-authored-by: REDMOND\williamhe <williamhe@microsoft.com>
2024-01-22 22:40:24 -08:00
Cormac McCarthy 0eee2e512d
Publish runtime images with specific version and multiple Debian flavors (#2129)
* Publish runtime images with specific tags and multiple Debian flavors

* Update constants for PHP(-FPM) base images

* Update runtime image tests to reflect new pattern

* Fix failing 'oryx dockerfile' tests

* Fix test error with new Python version mapping

* Resolve review feedback, fix tagging issue causing build failure

* Fix failing Python tests due to wrong runtime image used

* Temporary commit to get the CLA bot to run
2023-09-13 14:56:40 -07:00
waliMSFT 5239b0416c
added env variable NGINX_CONF_FILE (#2022)
* added env variable NGINX_CONF_FILE on the runtime image

* added custom nginx config file with test and documented the new env variable
2023-07-25 11:34:44 -04:00
waliMSFT cb7d994701
Wali/oryx private environment setup 1675864 (#1878)
* setting up the private env

* private environment for build

* private account setup for buildBuildImages and buildRunTimeImages script

* copy sdks from prod to private staging account

* adding secrets to validation pipeline

* Authenticate with Azure DevOps

* env variable path bug fix

* debian package fix for nodejs

* fixed the local build issue related to the stretch package

* merged with main

* addressed PR change

* make the token hideen in local build
2023-07-10 15:11:03 -04:00
snehapar9 615e6723ed
snehapar/add support for php 8.2.0 (#1697)
* Test php 8.2.0RC6

* Test php fpm 8.2.0rc6

* Added php 8.2 in constants.yaml

* Updated dockerfiles for php-fpm

* Added tests for php 8.2.0

* Revert "Added tests for php 8.2.0"

This reverts commit 857fd4bbe8.

* Added tests for PHP 8.2.0

* Updated gpg and sha keys

* Updated gpg keys and sha for php-fpm

* Updated gpg keys and sha

* Updated gpg keys and sha

* Modified build script for testing

* Revert build.sh changes

* Modified build scripts for testing

* Changed to executable

* Changed to exxecutable

* Fixed syntax error

* Updated runtime tag

* Updated tests for php 8.2

* Fixed syntax error

* Added php 8.2 integration tests

* Updated php version to 8.2.0

* Updated php version

* Removed changes for testing

* Remove condition to test

* Updated php version

* Updated php version

* Added new line

* Fixed typo

* Fixed typo

* Fixed typo

* Fixed gpg keys

* Updated gpg keys

* Updated PHP_URL

* Updated runtime tags for php and php-fpm

* Updated supported versions

* Removed 7.4 from SupportedRuntimeVersions.md
2022-12-14 10:01:29 -08:00
Zixuan Qian e4bd79a46f
Update (#1600) 2022-10-06 14:51:15 -07:00
Cormac McCarthy 3f416b1ee1
Split integration tests by platform version and build image (#1592)
* Split integration tests by platform version and build image

* Reduce number of runners required for integration tests

* Remove unused parameter from integration test templates

* Fix failing tests

* Fix other failing CLI buster test
2022-10-03 13:32:06 -07:00
Zixuan Qian 056bbe2874
Install and add imagick package test coverage for PHP 8.0 and 8.1 (#1547)
* Add imagick package tests for php 8.0 and 8.1

* Add pdo_sqlsrv installation on 8.0 and 8.1

* Update PHP runtime image tags

* Update

* Update tags
2022-09-15 15:33:01 -07:00
Paul Dorsch 64b3f661c3
Pauld/1581775 include ostype in image tag (#1529)
* added support for ostype in image tag

* fixed dotnet, node, and ruby tests and fixed ruby's generateDockerfiles file

* added dynamic image versions to the tests

* updated build images to include debian flavor

* updated build images to include ostype in their image tag, and fixed a few tests to use the new tag

* starting a constants file for images to test on

* moved constants to image test helper, and updated tests to use github actions stretch constant

* updating tests to use constants so that we can switch the tag structure down the line with minimal code changes

* cli images use constant for testing

* fixing building images for new names

* fixed latest image for tests

* fix some more references to latest and lts versions

* updated test tag

* updated tests to respect the os type and os version combo

* fix building build images

* fix pulling and tagging for integration tests

* fix latest build

* updated new php-fpm tag text

* bug fixes and remaining hardcode cleanup

* resolve vso focal issue

* fix lts buster dockerfile

* lingering cli hardcode

* final tagging fixes and self review

* replace 'ubuntu-vso' with 'vso-ubuntu'

* pr feedback: renaming testing constants and resolving hardcoded buster in build images script

* tag latest image so that it is still accessible with the 'latest' tag

* made full tests consistent

* fixed remaining merge conflict

* update to gitignore for php

* update to gitignore for php attempt 2

* removed bullseye.Dockerfiles from git cache and reverted .gitignore

* added missing node 18 and python 3.11 to runtime image test helper
2022-09-07 14:26:26 -04:00
Zixuan Qian d56e28fb07
Update integration jobs and constant files (#1470)
* add php 8.1 and remove node 12 from integration jobs

* update constant files

* Revert "update constant files"

This reverts commit 4d62f63bd73958a79555729e213d88ab71fa052b.

* address feedbacks

* update

Co-authored-by: Stella Qian <zixuan.qian@microsoft.com>
2022-07-21 18:37:05 -07:00
Paul Dorsch a1442955ff
Pauld/1551977 allow php fpm configuration (#1471)
* add some configuration to the startupscriptgenerator, and a test base

* added to startupscript generator to configure fpm before application run, and cooresponding tests

* added documentation surrounding the fpm configuration options, and configured the tests to include all of the fpm config options. Also lowered the amount of time waiting before checking for application readiness

* removed tests from sample php app

* removed the bullseye php dockerfiles

* bumped delaybetween retries back to 100

* give the php failures more time to pull the images before exiting the container

* condensed the php test invocations to a single method for sucess and failures, and added async to the naming

* remove php integration collection and update nightly tests to check more frequently for container liveliness

* updated docker cli to not duplicate code, and increased delay between tries in order to increase the max amount of time we take to wait for container startup

* revert nginx version

* update tags

* bumped the amount of time the container has to pull the image and fail to run the startup script, as it can occaisonally take a long time to pull and run

* address pr comments: styling and using isnullorempty for string comparison

* pr feedback: explained waiting for the container to start up and bumped the delay in between retrieving the host port to 10 seconds

Co-authored-by: Stella Qian <zixuan.qian@microsoft.com>
2022-07-18 20:19:37 -04:00
Paul Dorsch f1f87c6c8a
Resolve build warnings for VS Preview and fix detector tests (#1429)
* added await/async to various php test files, and removed extra parameter from JamSpell_CanBe_Installed_In_The_BuildImage method

* fix detector tests by adding default output type to dotnetcore detection

* used default output type for empty output type name test case

* use task waitall instead of async methods for parallel testing

* added Async suffix throughout testing files to enforce the convention

* missing async suffix for node test

* use task whenall instead of task waitall to run tasks in parallel without blocking the thread

* removed php 8 imagick tests, as there are no indications that it ever passed. The exceptions have just been swallowed for the past few months

* tests could not find github-buster image, which does not seem to exist, however github-actions-buster does and is used in previous tests

* added support for mariadb 10.5 to test db scripts, and removed wordpress 5.1 test from running on php 8, as they are incompatible

* removed extra unused arg from method invocation

* add more helpful error logging and exit conditions for GetHostPortAsync

* Add collection to php integration tests to disable parallelization

* clean up final conflict marker for successful build

* converted fsharp test from 2.1 to 3.0
2022-07-07 12:57:46 -04:00
william-msft 6c6bf3f68e
Restructure PHP pipelines (#1195)
* Remove unsupported php versions

* Update to re-enable php integration tests

* Update to temporarily skip

* Update to temporarily skip

* Update to temporarily skip

* Update to re-enable dependency

* Remove more integration tests with old php versions

* Remove more integration tests with old php versions

* Update integration test invocation for pipelines

* Update signature of php integration test

* Update the strucutre of the php pipeline integration tests

* Remove unnecessary pipelines

* Remove unnecessary php pipelines

* Update integration test invocation for pipelines
2022-01-14 10:02:21 -08:00
william-msft 8fc968a8eb
Williamhe/1441343 split oryx jobs again (#1177)
* Remove php 5.6 from integration tests

* Update to split php jobs

* Update to move php fpm word press integration tests out

* Update to split php jobs

* Add php job back
2021-12-07 13:29:27 -08:00
william-msft 46633df49c
Williamhe/1441343 split oryx jobs again and temporary skip (#1178)
* Remove php 5.6 from integration tests

* Update to split php jobs

* Update to move php fpm word press integration tests out

* Update with temporary skip
2021-12-07 05:44:25 -08:00
william-msft 0cd0b89843
Williamhe/1441343 split oryx jobs (#1176)
* Update to split node's pipeline integration tests into 2 different jobs due to disk space limitations

* Update to split php's pipeline integration tests into 2 different jobs due to disk space limitations

* Update with newlines

* Update to split php's pipeline integration tests more jobs due to disk space limitations

* Update logging statement

* Update retries

* Update retry count for e2e host:port connection

* Remove unnecesary logging

* Update job order
2021-12-06 10:46:56 -08:00
Arjun Roy Chaudhuri c7474d9b6e
Fix SQL Server PDO driver extension PHP 8.0 (#1121)
* Fix SQL Server PDO driver extension PHP 8.0

* Update ODBC driver to correct debian version

* Test for pdo_sqlsrv PHP extension

* Update base template

* Update template PHP-FPM

* Update ODBC PHP-FPM to correct debian version

* Update SQL Integration for PHP 7.4 and 8.0

* Upgrade SQL Server Integration test for 7.4 and 8.0

* update php 7.4 and 8

* update

* update runtime image envs

* update

Co-authored-by: DiscoParadise <34611212+DiscoParadise@users.noreply.github.com>
2021-10-07 13:43:11 -07:00
Arjun Roy Chaudhuri 25f89d2db3
move nightly builds away from oryxlinux pool (#1118)
* move rest of the builds from oryx linux to ado - ubuntu

* update

* restructure database integration tests

* update

* update

* temporarily skip flask and db tests thats failing for cg alert removal
2021-09-27 17:20:49 -07:00
Arjun Roy Chaudhuri 6645aaf5af
Revert "move nightly and detector builds from oryx linux pool to ado pool (#1064)" (#1114)
This reverts commit d5b2ebd60c.
2021-09-22 10:02:53 -07:00
Arjun Roy Chaudhuri d5b2ebd60c
move nightly and detector builds from oryx linux pool to ado pool (#1064)
* move rest of the builds from oryx linux to ado - ubuntu

* update

* restructure database integration tests

* update

* update

* update database test's container port

* add debug message to test

* update
2021-09-21 09:15:29 -07:00
Arjun Roy Chaudhuri 6a3683fa87
update default php composer to 2 (#946)
* update default php composer to 2 and and uncomment php 8 integration tests

* test composer 2

* update wordpress tests to support php 7.4+ updates

* update
2021-03-04 08:02:55 -08:00
Arjun Roy Chaudhuri ac3044e35d
skip php 8 integration tests temporarily (#944) 2021-02-24 21:56:04 -08:00
Zixuan Qian ddd7afece8
Add Php Fpm runtime and Ruby versions (#927) 2021-02-18 09:03:43 -08:00
Kiran 6edb3f117d
Updated tests to use intermediate directory (#831) 2020-11-03 12:10:10 -08:00
Kiran 9fb9536a71
Updated platform versions (#813) 2020-10-13 13:15:02 -07:00
Kiran 3e768c9660
Make PHP pre-run command integration tests simpler (#727) 2020-08-19 23:08:47 -07:00
Kiran a05a149e25
Cleaned up platform binaries build pipeline (#723) 2020-08-16 00:12:44 -07:00
Kiran 4c465d7726
Detector: Make only few types public and the rest internal (#648) 2020-06-25 06:44:34 -07:00
Kiran 93617320b5
Enabled PHP to be installed dynamically (#642) 2020-06-19 05:27:35 -07:00
Arjun Roy Chaudhuri 5e5e79f144
fix nightly build break (#628) 2020-06-09 08:58:28 -07:00
Arjun Roy Chaudhuri c2314bce46
Add run time buster images for oryx (#592)
* update 1

* update 2

* update node runtime base image creation

* update yarn-cache php and php-fpm runtime bases

* fix php base image docker file generation

* update few more runtime images

* update image_base argument to debian_flavor

* update

* udpate

* update

* update

* update

* update

* update python dockerfile argument for debian flavor

* update dotnetcore base images

* update

* update

* update

* update

* update

* update

* udpate based on codeflow review

* update
2020-06-08 10:56:51 -07:00
Kiran 5b321bdc87
Cleanup: Change references of language version to platform version (#620) 2020-06-01 17:08:56 -07:00
Kiran 105e6b3e98
Read configuration hierarchically in runtime script generators (#570) 2020-05-01 09:10:10 -07:00
Arjun Roy Chaudhuri fabcfaf977
update (#561) 2020-04-13 02:08:19 -07:00
Arjun Roy Chaudhuri 2e565ae99f
add integration tests for php-fpm images (#551)
* add integration tests for php-fpm images

* update

* fix wordpress test failures

* optimize php integration tests

* fix security issues
2020-04-12 02:04:47 -07:00
Zixuan Qian 67f4eae79d
Add pre-run script (#537)
* add pre-run script for dotnet platform

* Update preRunCommand

* rename const; add integration test

* move setupPreRunScript to common module; revise by feedback

* add integration tests; fix error; feedback

* add php extension installation check; change to github action image

* fix integration tests on php, python and node platform

* Added gcdump tool as part of .NET Core 3.1 runtime image and updated versions (#547)

* Changed the tag name from slim to lts-versions (#546)

* Provide option to make 'build' step mandatory when building node apps (#548)

* update dotnetcore platform test

Co-authored-by: Kiran <kichalla@users.noreply.github.com>
2020-04-09 13:02:18 -07:00
Arjun Roy Chaudhuri 5a14bca49c
add wordpress integration tests for php images (#550)
* add wordpress integration tests for php images

* update
2020-04-08 21:55:17 -07:00
Kiran 22ba175fc8
Fixed services: language detector registrations removed and some cleanup (#540) 2020-03-30 08:09:27 -07:00
Arjun Roy Chaudhuri e107d283c7
add an autoreload sample app integration test for php (#542) 2020-03-26 22:08:12 -07:00
Kiran 1453277a89
Use 'create-script' command for all runtime script generators (#521) 2020-03-11 14:57:50 -07:00
Arjun Roy Chaudhuri 5893803020
update php and node images in build and runtime (#508)
* update php 7.*, dotnetcore 2.2 images and composer

* update dotnetcore sdk

* update node version

* update node platforms versions to build

* update node and phps

* update php 7.4 and composer

* update php install prereq

* update argon2 sourcecode download link

* update build template for php build bases to support 7.4

* update platform binaries build script for php

* update

* fix composer links in buildimage

* remove tests on 12.9

* update runtime base tag for node and php

* update

* update php-fpm 7.2 and 7.3 as well

* temporarily commenting python dynamic installer test and change php-fpm tags
2020-02-28 08:30:26 -08:00
Cormac McCarthy 20187134b8
[1006079] Remove hard-coded image from build image tests (#429)
* [1006079] Remove hard-coded image from build image tests

* Fix failure in nightly build with out of date test
2019-11-14 14:59:28 -08:00
Cormac McCarthy 5b0866d0c1
[989669] Run tests before pushing official runtime images (#419)
* [989669] Run tests before pushing official runtime images

* Set release tag to build number by default, only change for patch branches
2019-11-11 10:54:22 -08:00
Kiran Challa 9677d5e807
Revert "[989669] Run tests before pushing official runtime images (#385)" (#411)
This reverts commit 3cf383838f.
2019-11-04 10:40:57 -08:00
Cormac McCarthy 3cf383838f
[989669] Run tests before pushing official runtime images (#385)
* [989669] Run tests before pushing official runtime images

* - Fix bug when retagging runtime images
- Fix bug where first runtime image produced is cleared from the artifacts file

* Fix null reference exception in tests

* Add tag suffix to test and fix error in CI build

* Fix tagging error due to wrong separator

* Fix error with environment variable not being set

* Resolve initial review comments

* Resolve additional review feedback

* Only run subset of runtime tests during release step

* Resolve additional review feedback

* Fix name of tag suffix provided for runtime tests

* Fix error in tag suffix format from script args

* Set RELEASE_TAG_NAME environment variable for integration tests

* Fix test failure when using incorrect build image format

* Set RELEASE_TAG_NAME environment variable in _buildTemplate

* Set RELEASE_TAG_NAME separately for validation build
2019-11-01 09:42:05 -07:00
Dor e156da2998 Disabled Composer platform validation (#403) 2019-10-30 13:51:04 -07:00
Dor f8938cc50f Removed `pack` tests (#289) 2019-07-19 05:57:36 -07:00
Arjun Roy Chaudhuri 1892f40a76
Restructure buildimage,runtime image and integration tests (#281)
* restructuring oryx integration tests

* restructuring oryx runtime image tests

* restructuring oryx build image tests
2019-07-15 10:37:57 -07:00