-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ACCOUNT-2732] refactor: replace module-lib-service-container (#447)
* refactor: get rid of module-lib-service-container * refactor: remove useless deps * refactor: create provider files * chore: empty services files * chore: cleanup composer.json * fix: static closures * refactor: early logger injection * refactor: switch to the lightweight-container lib * feat: scoping lightweight-container
- Loading branch information
1 parent
ad29492
commit 189f098
Showing
44 changed files
with
1,183 additions
and
1,550 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,10 @@ | ||
symfony/cache | ||
symfony/config | ||
symfony/dependency-injection | ||
symfony/expression-language | ||
symfony/filesystem | ||
symfony/yaml | ||
psr | ||
monolog | ||
guzzlehttp | ||
league | ||
prestashopcorp/oauth2-prestashop | ||
prestashopcorp/lightweight-container | ||
lcobucci | ||
prestashop/module-lib-service-container | ||
prestashop/module-lib-cache-directory-provider | ||
monolog | ||
ramsey/uuid | ||
ralouphie/getallheaders | ||
phpseclib/phpseclib/phpseclib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,19 +101,10 @@ jobs: | |
service_account_key: ${{ secrets.G_CREDENTIAL_PRODUCTION }} | ||
export_default_credentials: true | ||
|
||
- name: Copy env files | ||
run: | | ||
gcloud components install beta | ||
gcloud beta secrets versions access latest --secret="accounts-module-config" > ${{ github.workspace }}/config/config.yml | ||
env: | ||
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.G_CREDENTIAL_PRODUCTION }} | ||
|
||
- name: Prepare the production zip | ||
run: | | ||
cd ${{ github.workspace }} | ||
sh ./scripts/bundle-module.sh ${{ env.zip_file }} | ||
env: | ||
ENV_FILE: ${{ secrets.PS_ACCOUNTS_ENV_PROD }} | ||
sh ./scripts/bundle-module.sh ${{ env.zip_file }} 'prod' | ||
- name: Publish the production zip | ||
uses: actions/[email protected] | ||
|
@@ -148,17 +139,10 @@ jobs: | |
service_account_key: ${{ secrets.G_CREDENTIAL_PREPROD }} | ||
export_default_credentials: true | ||
|
||
- name: Copy env files | ||
run: | | ||
gcloud components install beta | ||
gcloud beta secrets versions access latest --secret="accounts-module-config" > ${{ github.workspace }}/config/config.yml | ||
env: | ||
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.G_CREDENTIAL_PREPROD }} | ||
|
||
- name: Prepare the preprod zip | ||
run: | | ||
cd ${{ github.workspace }} | ||
sh ./scripts/bundle-module.sh ${{ env.zip_file }} | ||
sh ./scripts/bundle-module.sh ${{ env.zip_file }} 'preprod' | ||
- name: Publish the preprod zip | ||
uses: actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
*.idea/* | ||
*tests/* | ||
*config/config.yml.* | ||
*config.*.php | ||
*.bak/* | ||
*.md/* | ||
*composer.* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.