From 5887c4fd51b4f4a3b11c2bc1322b538eb451f42e Mon Sep 17 00:00:00 2001 From: Glen Johnson Date: Wed, 1 Mar 2023 14:42:38 -0700 Subject: [PATCH] Remove PHP tests app --- .codeclimate.yml | 20 ------------------- tests/integration/apps/php/index.php | 5 ----- tests/integration/apps/php/lib/secrets.yml | 2 -- .../apps/php/manifest-env.yml.template | 10 ---------- .../apps/php/manifest.yml.template | 9 --------- .../integration/features/integration.feature | 8 -------- 6 files changed, 54 deletions(-) delete mode 100644 tests/integration/apps/php/index.php delete mode 100644 tests/integration/apps/php/lib/secrets.yml delete mode 100644 tests/integration/apps/php/manifest-env.yml.template delete mode 100644 tests/integration/apps/php/manifest.yml.template diff --git a/.codeclimate.yml b/.codeclimate.yml index 5b103c9..97f7a03 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -16,7 +16,6 @@ plugins: go: java: javascript: - php: python: python_version: 3 # ACTION Comment this out if using Python 2 ruby: @@ -102,25 +101,6 @@ plugins: # ACTION uncomment eslint below if JavaScript already exists and .eslintrc # file exists in repo - # PHP - phan: - enabled: true - config: - file_extensions: "php" - phpcodesniffer: - enabled: true - config: - file_extensions: "php,inc,lib" - # Using Wordpress standards as our one PHP repo is a Wordpress theme - standards: "PSR1,PSR2,WordPress,WordPress-Core,WordPress-Extra" - phpmd: - enabled: true - config: - file_extensions: "php,inc,lib" - rulesets: "cleancode,codesize,controversial,naming,unusedcode" - sonar-php: - enabled: true - # Python bandit: enabled: true diff --git a/tests/integration/apps/php/index.php b/tests/integration/apps/php/index.php deleted file mode 100644 index 7080a2d..0000000 --- a/tests/integration/apps/php/index.php +++ /dev/null @@ -1,5 +0,0 @@ -

Visit us @ www.conjur.org!

- -

Space-wide Secrets

-

Database Username:

-

Database Password:

diff --git a/tests/integration/apps/php/lib/secrets.yml b/tests/integration/apps/php/lib/secrets.yml deleted file mode 100644 index dce3b5a..0000000 --- a/tests/integration/apps/php/lib/secrets.yml +++ /dev/null @@ -1,2 +0,0 @@ -SPACE_USERNAME: space_username #!var secrets/username -SPACE_PASSWORD: space_password #!var secrets/password diff --git a/tests/integration/apps/php/manifest-env.yml.template b/tests/integration/apps/php/manifest-env.yml.template deleted file mode 100644 index edd652c..0000000 --- a/tests/integration/apps/php/manifest-env.yml.template +++ /dev/null @@ -1,10 +0,0 @@ ---- -applications: -- name: php-app - env: - CONJUR_BUILDPACK_BYPASS_SERVICE_CHECK: true - SECRETS_YAML_PATH: lib/secrets.yml - SECRETS_YAML_ENVIRONMENT: staging - buildpacks: - - {conjur_buildpack} - - php_buildpack diff --git a/tests/integration/apps/php/manifest.yml.template b/tests/integration/apps/php/manifest.yml.template deleted file mode 100644 index 63b9648..0000000 --- a/tests/integration/apps/php/manifest.yml.template +++ /dev/null @@ -1,9 +0,0 @@ ---- -applications: -- name: php-app - env: - CONJUR_BUILDPACK_BYPASS_SERVICE_CHECK: true - SECRETS_YAML_PATH: lib/secrets.yml - buildpacks: - - {conjur_buildpack} - - php_buildpack diff --git a/tests/integration/features/integration.feature b/tests/integration/features/integration.feature index 3de3a87..d27e8c8 100644 --- a/tests/integration/features/integration.feature +++ b/tests/integration/features/integration.feature @@ -22,10 +22,6 @@ Feature: Integrations Tests for remote TAS foundation When I push a "ruby" app with the "offline" buildpack Then the secrets.yml values are available in the app - Scenario: PHP offline buildpack integration - When I push a "php" app with the "offline" buildpack - Then the secrets.yml values are available in the app - Scenario: Java offline buildpack integration When I push a "java" app with the "offline" buildpack Then the secrets.yml values are available in the app @@ -40,10 +36,6 @@ Feature: Integrations Tests for remote TAS foundation When I push a "ruby" app with the "online" buildpack Then the secrets.yml values are available in the app - Scenario: PHP online buildpack integration - When I push a "php" app with the "online" buildpack - Then the secrets.yml values are available in the app - Scenario: Java online buildpack integration When I push a "java" app with the "online" buildpack Then the secrets.yml values are available in the app