File tree Expand file tree Collapse file tree 3 files changed +43
-2
lines changed Expand file tree Collapse file tree 3 files changed +43
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ version: 2.1
22
33orbs :
44 ci-caching :
jobcloud/[email protected] 5- ci-php : jobcloud/ci-php@2.4
5+ ci-php : jobcloud/ci-php@2.7
66
77workflows :
88 test-console-kafka-schema-registry :
@@ -40,3 +40,27 @@ workflows:
4040 dependencyCheckSumFile : " ./composer.json"
4141 requires :
4242 - ci-php/install-dependencies
43+ daily :
44+ triggers :
45+ - schedule :
46+ cron : " 0 7 * * *"
47+ filters :
48+ branches :
49+ only :
50+ - main
51+ jobs :
52+ - ci-caching/build-docker-images :
53+ context : dockerhub-credentials
54+ name : build-docker-images
55+ - ci-php/install-dependencies :
56+ context : dockerhub-credentials
57+ name : install-dependencies
58+ dependencyCheckSumFile : " ./composer.json"
59+ requires :
60+ - build-docker-images
61+ - ci-php/composer-audit :
62+ context : dockerhub-credentials
63+ dependencyCheckSumFile : " ./composer.json"
64+ requires :
65+ - build-docker-images
66+ - install-dependencies
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ RUN pecl channel-update pecl.php.net && \
4141 php-ext-enable pcov rdkafka
4242
4343# COMPOSER: install binary
44- RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
44+ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer --version=2.5.1
4545
4646USER 'www-data'
4747
Original file line number Diff line number Diff line change 1+ version : ' 3.2'
2+ services :
3+ php :
4+ build :
5+ context : dev/php
6+ args :
7+ HOST_USER_ID : ${USER_ID}
8+ container_name : console-kafka-schema-registry-php
9+ hostname : console-kafka-schema-registry-php
10+ environment :
11+ KAFKA_SCHEMA_REGISTRY_URL : ' jobcloud-kafka-schema-registry:9081'
12+ extra_hosts :
13+ - " jobcloud-kafka-schema-registry:host-gateway"
14+ volumes :
15+ - ../:/app/
16+ working_dir : /app
17+ tty : true
You can’t perform that action at this time.
0 commit comments