Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main into 1.x #1267

Draft
wants to merge 57 commits into
base: 1.x
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
9e35092
Fixed link in open_basedir related log message (#1129)
SergeyKleyman Jan 31, 2024
7a7b0e0
Sanitize cli arguments (#1133)
intuibase Feb 7, 2024
f12d3ef
ci bump the github-actions group with 3 updates (#1141)
dependabot[bot] Mar 19, 2024
1469804
fix: use latest fpm version (#1144)
amannocci Mar 29, 2024
ccd4cfa
security: add permissions block to workflows (#1136)
reakaleek Apr 3, 2024
249c1e8
ci(fix): use docker compose v2 instead of v1 (#1146)
amannocci Apr 5, 2024
627a3db
feat: use pre-built fpm container image (#1145)
amannocci Apr 18, 2024
1d68a37
github-action: provenance generation (#1143)
v1v Apr 29, 2024
04142bf
github-action: delete opentelemetry workflow (#1154)
v1v May 14, 2024
56d44b9
github-action: use actions/attest-build-provenance (#1155)
v1v May 15, 2024
0273f82
Bump actions/attest-build-provenance from 1.1.1 to 1.1.2 in the githu…
dependabot[bot] May 20, 2024
a3c00d4
ci: use updatecli with GitHub secrets (#1158)
v1v May 29, 2024
fae8e13
Bump docker/login-action from 3.1.0 to 3.2.0 in the github-actions gr…
dependabot[bot] Jun 3, 2024
9de0e79
github-actions: remove snapshoty (#1162)
v1v Jun 4, 2024
4935fd4
feat(buildkite/slack): use github secrets (#1161)
v1v Jun 5, 2024
de0870e
ci: allow running the signing job (#1163)
v1v Jun 5, 2024
ab8d985
Bump actions/attest-build-provenance from 1.1.2 to 1.2.0 in the githu…
dependabot[bot] Jun 10, 2024
d0b3530
github-secrets: use keyless (#1170)
v1v Jun 20, 2024
ee50fe1
Bump the github-actions group across 1 directory with 2 updates (#1172)
dependabot[bot] Jun 25, 2024
f010c42
updatecli: use shared policy for the apm-data-specs (#1178)
v1v Jul 4, 2024
781ce02
Fixed memory leak in exception handling (#1159) (#1174)
intuibase Jul 4, 2024
2465af7
updatecli: use shared policy apm-gherkin (#1185)
v1v Jul 5, 2024
d47f616
updatecli: use shared policy apm-json-specs (#1188)
v1v Jul 5, 2024
2b94a7c
updatecli: bump policies too (#1193)
v1v Jul 10, 2024
477431f
build(deps): bump the github-actions group across 1 directory with 2 …
dependabot[bot] Jul 15, 2024
8cc6259
Fix Centos7 EOL issue, fixed tests bind host (#1181)
intuibase Jul 22, 2024
1e0182e
Prepared for 1.13.1 release (#1199)
SergeyKleyman Jul 23, 2024
eb13346
build(deps): bump the github-actions group across 1 directory with 2 …
dependabot[bot] Jul 29, 2024
74b3b38
updatecli: rename update-compose.yaml to updatecli-compose.yaml (#1203)
reakaleek Aug 5, 2024
027ae6f
build(deps): bump actions/attest-build-provenance from 1.3.3 to 1.4.0…
dependabot[bot] Aug 5, 2024
88fe3ea
deps(updatecli): bump all policies (#1194)
obltmachine Aug 9, 2024
ed239db
Set various PHP engine hooks only when the relevant feature is enable…
SergeyKleyman Aug 20, 2024
446b469
Prepared for 1.13.2 release (#1212)
SergeyKleyman Aug 20, 2024
dea266b
Experimental support for ARM64 (#1086)
intuibase Aug 27, 2024
55e9d93
Fixed PeriodicTaskExecutor fork handler (#1209) (#1213)
intuibase Aug 27, 2024
b8d3570
build(deps): bump the github-actions group across 1 directory with 2 …
dependabot[bot] Aug 27, 2024
ecdd641
Prepare for 1.14.0 release (#1215)
intuibase Aug 28, 2024
79887bd
Fixed calling post hook if instrumented functions throws (#459) (#1223)
intuibase Sep 5, 2024
f960634
Prepare for 1.14.1 release (#1224)
intuibase Sep 5, 2024
18ad84b
Migrate upload-artifact and download-artifact to v4 (#1230)
reakaleek Sep 11, 2024
03eed4d
Update test-reporter workflow (#1231)
reakaleek Sep 12, 2024
03335d1
Fix action version (#1232)
reakaleek Sep 13, 2024
1996e43
build(deps): bump actions/attest-build-provenance from 1.4.2 to 1.4.3…
dependabot[bot] Sep 16, 2024
94d0f50
github-action: use ephemeral tokens with the required permissions (#1…
v1v Sep 18, 2024
db94e08
deps(updatecli): bump all policies (#1222)
obltmachine Sep 20, 2024
1c7626c
build(deps): bump docker/build-push-action from 6.7.0 to 6.9.0 in the…
dependabot[bot] Oct 7, 2024
662f1ea
github-actions: use ephemeral tokens (#1241)
v1v Oct 10, 2024
c2012a9
github-action: use elastic/oblt-actions/check-dependent-jobs (#1242)
v1v Nov 4, 2024
3e56e38
build(deps): bump actions/attest-build-provenance (#1244)
dependabot[bot] Nov 11, 2024
e428417
github-actions: use v1 for the oblt-actions (#1249)
v1v Nov 28, 2024
159b758
deps(updatecli): bump all policies (#1248)
elastic-observability-automation[bot] Dec 3, 2024
2320ac3
Switch ARM64 build from qemu to native runner (#1243)
intuibase Jan 9, 2025
d04bc88
Added warning log for Xdebug incompatibility (#1256) (#1257)
intuibase Jan 10, 2025
032adca
Add php 8.4 compatibility (#1255)
julien-maurel Jan 16, 2025
0633e45
Prepare for 1.15.0 release (#1262)
intuibase Jan 17, 2025
374b3e3
build(deps): bump the github-actions group across 1 directory with 3 …
dependabot[bot] Jan 20, 2025
940eddb
Improved release workflow to work with download/upload actions v4 (#1…
intuibase Jan 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions .ci/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
ifeq ($(DOCKERFILE),)
ifeq ($(BUILD_ARCHITECTURE), linuxmusl-x86-64)
DOCKERFILE := Dockerfile.alpine
else ifeq ($(BUILD_ARCHITECTURE), linuxmusl-arm64)
DOCKERFILE := Dockerfile.alpine
else
DOCKERFILE := Dockerfile
endif
endif

DOCKER_PLATFORM := linux/x86_64
ifeq ($(BUILD_ARCHITECTURE), linux-arm64)
DOCKER_PLATFORM := linux/arm64
else ifeq ($(BUILD_ARCHITECTURE), linuxmusl-arm64)
DOCKER_PLATFORM := linux/arm64
endif


SHELL=/bin/bash -o pipefail
MAKEFLAGS += --no-print-directory
IMAGE := test-php
Expand Down Expand Up @@ -45,6 +55,7 @@ prepare: ## Build docker image for building and testing the project
docker build \
--build-arg PHP_VERSION=${PHP_VERSION} --build-arg SEL_DISTRO=${SEL_DISTRO}\
--tag $(IMAGE):${PHP_VERSION}$(SUFFIX) \
--platform $(DOCKER_PLATFORM) \
-f ${DOCKERFILE} .
@echo "::endgroup::"

Expand All @@ -59,8 +70,8 @@ build:
-w /source/agent/native \
-e CONAN_USER_HOME=$(CONAN_USER_HOME) \
elasticobservability/apm-agent-php-dev:native-build-gcc-12.2.0-$(BUILD_ARCHITECTURE)-0.0.2 \
sh -c "cmake --preset $(BUILD_ARCHITECTURE)-release \
&& cmake --build --preset $(BUILD_ARCHITECTURE)-release -j$(nproc)\
sh -c "cmake --preset $(BUILD_ARCHITECTURE)-release \
&& cmake --build --preset $(BUILD_ARCHITECTURE)-release \
&& ctest --preset $(BUILD_ARCHITECTURE)-release --verbose"
@echo "::endgroup::"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ export ELASTIC_APM_PHP_TESTS_MYSQL_PORT=43306

dockerComposeCmdFilesPart="-f ${thisScriptDir}/docker-compose_external_services_for_component_tests.yml"
dockerComposeCmdFilesPart="${dockerComposeCmdFilesPart} -f ${thisScriptDir}/docker-compose_external_services_for_component_tests_on_host.yml"
export ELASTIC_APM_PHP_TESTS_EXTERNAL_SERVICES_START_CMD="docker-compose ${dockerComposeCmdFilesPart} up -d"
export ELASTIC_APM_PHP_TESTS_EXTERNAL_SERVICES_START_CMD="docker compose ${dockerComposeCmdFilesPart} up -d"
7 changes: 6 additions & 1 deletion .ci/generate_package_lifecycle_test_matrix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,13 @@ function generateAgentUpgradeRows () {
local testingType=agent-upgrade
local appHostKindShortName=all
local testsGroup=smoke
for phpVersion in 7.4 ; do
for linuxPackageType in rpm ; do
echo "${phpVersion},${linuxPackageType},${testingType},${appHostKindShortName},${testsGroup}"
done
done
for phpVersion in 7.4 "$(latestSupportedPhpVersion)" ; do
for linuxPackageType in deb rpm ; do
for linuxPackageType in deb ; do
echo "${phpVersion},${linuxPackageType},${testingType},${appHostKindShortName},${testsGroup}"
done
done
Expand Down
3 changes: 2 additions & 1 deletion .ci/packer_cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ php:8.0-fpm
php:8.1-fpm
php:8.2-fpm
php:8.3-fpm
php:8.4-fpm
ruby:2.7.1-alpine3.12
ubuntu:20.04
"
Expand All @@ -26,7 +27,7 @@ if [ -x "$(command -v docker)" ]; then

# Make sure list of PHP versions supported by the Elastic APM PHP Agent is in sync.
# See the comment in .ci/shared.sh
for version in 7.2 7.3 7.4 8.0 8.1 8.2 8.3
for version in 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
do
PHP_VERSION=${version} make -f .ci/Makefile prepare || true
DOCKERFILE=Dockerfile.alpine PHP_VERSION=${version} make -f .ci/Makefile prepare || true
Expand Down
2 changes: 1 addition & 1 deletion .ci/shared.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ set -e
# *) docker-compose.yml in packaging/test

#
export ELASTIC_APM_PHP_TESTS_SUPPORTED_PHP_VERSIONS=(7.2 7.3 7.4 8.0 8.1 8.2 8.3)
export ELASTIC_APM_PHP_TESTS_SUPPORTED_PHP_VERSIONS=(7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4)

export ELASTIC_APM_PHP_TESTS_SUPPORTED_LINUX_NATIVE_PACKAGE_TYPES=(apk deb rpm)
export ELASTIC_APM_PHP_TESTS_SUPPORTED_LINUX_PACKAGE_TYPES=("${ELASTIC_APM_PHP_TESTS_SUPPORTED_LINUX_NATIVE_PACKAGE_TYPES[@]}" tar)
Expand Down
43 changes: 0 additions & 43 deletions .ci/snapshoty.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .ci/start_external_services_for_component_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ thisScriptDir="$( dirname "${BASH_SOURCE[0]}" )"
thisScriptDir="$( realpath "${thisScriptDir}" )"

if [ -z "${ELASTIC_APM_PHP_TESTS_EXTERNAL_SERVICES_START_CMD}" ] ; then
export ELASTIC_APM_PHP_TESTS_EXTERNAL_SERVICES_START_CMD="docker-compose -f ${thisScriptDir}/docker-compose_external_services_for_component_tests.yml up -d"
export ELASTIC_APM_PHP_TESTS_EXTERNAL_SERVICES_START_CMD="docker compose -f ${thisScriptDir}/docker-compose_external_services_for_component_tests.yml up -d"
fi

run_command_with_timeout_and_retries_args=(--retry-on-error=yes)
Expand Down
2 changes: 1 addition & 1 deletion .ci/stop_external_services_for_component_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ set -xe
thisScriptDir="$( dirname "${BASH_SOURCE[0]}" )"
thisScriptDir="$( realpath "${thisScriptDir}" )"

docker-compose -f "${thisScriptDir}/docker-compose_external_services_for_component_tests.yml" down -v --remove-orphans
docker compose -f "${thisScriptDir}/docker-compose_external_services_for_component_tests.yml" down -v --remove-orphans
82 changes: 0 additions & 82 deletions .ci/updatecli/updatecli.d/update-gherkin-specs.yml

This file was deleted.

82 changes: 0 additions & 82 deletions .ci/updatecli/updatecli.d/update-json-specs.yml

This file was deleted.

84 changes: 0 additions & 84 deletions .ci/updatecli/updatecli.d/update-specs.yml

This file was deleted.

Loading
Loading