Skip to content

Commit f1c5dbf

Browse files
authored
Add Product Registration (#317)
* Add Product Registration * Update elastic-search-codeception.yaml * Update open-search-codeception.yaml
1 parent c8a21cf commit f1c5dbf

File tree

3 files changed

+16
-7
lines changed

3 files changed

+16
-7
lines changed

.github/ci/files/config/packages/test/config.yaml

+6-3
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ doctrine:
2929
parameters:
3030
pimcore_test.db.dsn: '%env(PIMCORE_TEST_DB_DSN)%'
3131
env(PIMCORE_TEST_DB_DSN): ~
32-
pimcore.encryption.secret: 'def00000fc1e34a17a03e2ef85329325b0736a5941633f8062f6b0a1a20f416751af119256bea0abf83ac33ef656b3fff087e1ce71fa6b8810d7f854fe2781f3fe4507f6'
33-
32+
pimcore.encryption.secret: '%env(PIMCORE_ENCRYPTION_SECRET)%'
33+
3434
pimcore_open_search_client:
3535
clients:
3636
default:
@@ -46,6 +46,9 @@ pimcore_elasticsearch_client:
4646
ssl_verification: false
4747

4848
pimcore:
49+
product_registration:
50+
instance_identifier: '%env(PIMCORE_INSTANCE_IDENTIFIER)%'
51+
product_key: '%env(PIMCORE_PRODUCT_KEY)%'
4952
assets:
5053
metadata:
5154
predefined:
@@ -74,4 +77,4 @@ pimcore:
7477
type: date
7578
test-checkbox:
7679
name: 'testCheckbox'
77-
type: checkbox
80+
type: checkbox

.github/workflows/elastic-search-codeception.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: "Codeception Tests with Elasticsearch"
22

33
on:
44
# Enable Later.
5-
#schedule:
6-
# - cron: '0 3 * * 1,3,5'
5+
schedule:
6+
- cron: '0 3 * * 1,3,5'
77
pull_request:
88
branches:
99
- "[0-9]+.[0-9]+"
@@ -21,6 +21,9 @@ env:
2121
PIMCORE_TEST_DB_DSN: "mysql://root@127.0.0.1:33006/pimcore_test"
2222
PIMCORE_ELASTIC_SEARCH_HOST: "localhost:5300"
2323
CODECEPTION_BUNDLE_PATH: "bundles/pimcore/generic-data-index-bundle/"
24+
PIMCORE_INSTANCE_IDENTIFIER: ${{ secrets.PIMCORE_CI_INSTANCE_IDENTIFIER }}
25+
PIMCORE_ENCRYPTION_SECRET: ${{ secrets.PIMCORE_CI_ENCRYPTION_SECRET }}
26+
PIMCORE_PRODUCT_KEY: ${{ secrets.PIMCORE_CI_PRODUCT_KEY }}
2427

2528
jobs:
2629
codeception-tests:

.github/workflows/open-search-codeception.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: "Codeception Tests with OpenSearch"
22

33
on:
44
# Enable Later.
5-
#schedule:
6-
# - cron: '0 3 * * 1,3,5'
5+
schedule:
6+
- cron: '0 3 * * 1,3,5'
77
pull_request:
88
branches:
99
- "[0-9]+.[0-9]+"
@@ -21,6 +21,9 @@ env:
2121
PIMCORE_TEST_DB_DSN: "mysql://root@127.0.0.1:33006/pimcore_test"
2222
PIMCORE_OPEN_SEARCH_HOST: "localhost:39200"
2323
CODECEPTION_BUNDLE_PATH: "bundles/pimcore/generic-data-index-bundle/"
24+
PIMCORE_INSTANCE_IDENTIFIER: ${{ secrets.PIMCORE_CI_INSTANCE_IDENTIFIER }}
25+
PIMCORE_ENCRYPTION_SECRET: ${{ secrets.PIMCORE_CI_ENCRYPTION_SECRET }}
26+
PIMCORE_PRODUCT_KEY: ${{ secrets.PIMCORE_CI_PRODUCT_KEY }}
2427

2528
jobs:
2629
codeception-tests:

0 commit comments

Comments
 (0)