Skip to content

Commit

Permalink
Merge pull request #1369 from keboola/jirka-ct-1328-update-sapi
Browse files Browse the repository at this point in the history
CT-1328 update sapi
  • Loading branch information
jirkasemmler authored Jul 24, 2024
2 parents 0d72957 + 3cc906e commit f869dbc
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 13 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,17 @@ jobs:
fail-fast: false
matrix:
php-versions:
- '7.4'
- '8.0'
- '8.1'
- '8.2'
- '8.3'
include:
- php-versions: "8.0"
- php-versions: "8.1"
composer-options: "--ignore-platform-req=ext-pdo_pgsql --ignore-platform-req=ext-odbc"
experimental: true
- php-versions: "8.1"
- php-versions: "8.2"
composer-options: "--ignore-platform-req=ext-pdo_pgsql --ignore-platform-req=ext-odbc"
experimental: true
- php-versions: "8.3"
composer-options: "--ignore-platform-req=ext-pdo_pgsql --ignore-platform-req=ext-odbc"
experimental: true
steps:
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ ARG AWS_SESSION_TOKEN
RUN /usr/bin/aws s3 cp s3://keboola-drivers/teradata/tdodbc1710-17.10.00.08-1.x86_64.deb /tmp/teradata/tdodbc.deb
RUN /usr/bin/aws s3 cp s3://keboola-drivers/teradata/utils/TeradataToolsAndUtilitiesBase__ubuntu_x8664.17.00.34.00.tar.gz /tmp/teradata/tdutils.tar.gz

ARG PHP_VERSION=7.4
ARG PHP_VERSION=8.1
# the default env bellow is used when build pipeline sends "PHP_VERSION=" - the above default value is ignored in that case
FROM php:${PHP_VERSION:-7.4}-cli-buster as dev
FROM php:${PHP_VERSION:-8.1}-cli-buster as dev
MAINTAINER Martin Halamicek <martin@keboola.com>
ENV DEBIAN_FRONTEND noninteractive
ARG COMPOSER_FLAGS="--prefer-dist --no-interaction"
ARG SNOWFLAKE_ODBC_VERSION=2.25.12
ARG SNOWFLAKE_GPG_KEY=630D9F3CAB551AF3
ENV COMPOSER_ALLOW_SUPERUSER 1
ENV COMPOSER_PROCESS_TIMEOUT 3600
ARG SYNAPSE_ODBC_VERSION=5.9.0
ARG SYNAPSE_ODBC_VERSION=5.12.0

WORKDIR /code/

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ mv ./composer.phar ~/bin/composer # or /usr/local/bin/composer
```json
{
"require": {
"php" : ">=7.4",
"php" : ">=8.1",
"keboola/storage-api-client": "^14.0"
}
}
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
}
},
"require": {
"php": ">=7.4",
"php": ">=8.1",
"ext-json": "*",
"aws/aws-sdk-php": "~3.2",
"google/cloud-bigquery-analyticshub": "^0.2.2",
"google/cloud-storage": "^1.27",
"guzzlehttp/guzzle": "~7.0",
"keboola/csv": "^1",
"keboola/php-datatypes": "^6.4",
"keboola/php-datatypes": "^7.0",
"microsoft/azure-storage-blob": "^1.5",
"psr/log": "^1.1|^2.0|^3.0",
"symfony/filesystem": "^6.0||^5.0||^4.0",
Expand All @@ -46,7 +46,7 @@
"keboola/php-csv-db-import": "^6",
"keboola/phpunit-retry-annotations": "^0.5",
"keboola/retry": "^0.5.0",
"keboola/table-backend-utils": "^1",
"keboola/table-backend-utils": "^2.1",
"phpcompatibility/php-compatibility": "*",
"phpstan/phpstan": "^1",
"phpstan/phpstan-phpunit": "^1.0",
Expand All @@ -57,7 +57,7 @@
},
"scripts": {
"phpcs": "phpcs -n .",
"phpcs-compatibility": "phpcs --config-set installed_paths vendor/phpcompatibility/php-compatibility && phpcs --ignore=*vendor/*,*cache/* -n . --standard=PHPCompatibility --runtime-set testVersion 7.4-8.1",
"phpcs-compatibility": "phpcs --config-set installed_paths vendor/phpcompatibility/php-compatibility && phpcs --ignore=*vendor/*,*cache/* -n . --standard=PHPCompatibility --runtime-set testVersion 8.1-8.3",
"phpcbf": "phpcbf -n .",
"phpstan": "phpstan analyse --no-progress --level=max . -c phpstan.neon",
"tests": "phpunit --testsuite=unit",
Expand Down
2 changes: 1 addition & 1 deletion docker/xdebug/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM keboola/storage-api-tests

RUN pecl install xdebug-2.9.8 \
RUN pecl install xdebug-3.3.2 \
&& docker-php-ext-enable xdebug

0 comments on commit f869dbc

Please sign in to comment.