Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated elgohr/Publish-Docker-Github-Action to a supported version (v5) #1

Open
wants to merge 192 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
192 commits
Select commit Hold shift + click to select a range
91eb45e
Updated partners: Hotwax, NetSteps, Retail Insight
tom-aniol Apr 24, 2020
a925c3f
Partners: Update Wagento + Add Retail Insights
tom-aniol May 4, 2020
5f7099a
Merge branch 'master' into tom-aniol-patch-3
filrak May 11, 2020
14df356
[Docs] Removed cookbook/theme removing outdated
kkdg May 20, 2020
3405275
[Docs] Updated cookbook/theme R2 introduction
kkdg May 20, 2020
9a31261
[Docs] Updated cookbook/theme R2 introduction + preps
kkdg May 20, 2020
193c632
[Docs] Updated cookbook/theme R2 recipe
kkdg May 23, 2020
a389c33
Merge remote-tracking branch 'origin2/master' into 112
kkdg Jun 14, 2020
3a25524
[Docs] Updated cookbook/setup & cookbook/theme - 1.12
kkdg Jun 15, 2020
23f486a
Merge remote-tracking branch 'origin/master'
kkdg Jun 15, 2020
f51c3b6
[Docs] Archived cookbook/setup, basics/graphql, added img
kkdg Jun 15, 2020
8849aae
Merge branch 'master' into master
pkarw Jun 16, 2020
301e447
[Docs] merge with [separate_themes]
kkdg Jun 17, 2020
59a8a05
Merge remote-tracking branch 'origin/master'
kkdg Jun 17, 2020
2ff48a8
[Docs] Security BEST PRACTICE
kkdg Jun 17, 2020
ab1a22b
[Docs] Updated cookbook/checklist Removing duplicates
kkdg Jun 17, 2020
d82914a
Make calculation of bundled products price by options optional
Jun 17, 2020
ba7e8ca
Update CHANGELOG.md
Jun 17, 2020
bd763aa
Merge branch 'hotfix/v1.12.1' into feature/make-bundle-price-calculat…
Jun 19, 2020
6d4fd66
Merge branch 'master' into tom-aniol-patch-3
pkarw Jun 19, 2020
722e2ed
Merge pull request #4569 from gibkigonzo/update-develop/1.12.1
Jun 24, 2020
1945e4a
update changelog
Jun 26, 2020
7123d33
remove deprecated value from attributesListQuery query
Jun 26, 2020
7b1e68b
update changelog
Jun 26, 2020
25a8065
Merge branch 'hotfix/v1.12.1' into feature/make-bundle-price-calculat…
Jun 26, 2020
99a4bd6
Merge branch 'master' into tom-aniol-patch-4
Jun 26, 2020
eee777c
Merge branch 'master' into tom-aniol-patch-3
Jun 26, 2020
d6d4d7e
[Docs] Updated installation/... Removed duplicate sections
kkdg Jun 26, 2020
716282c
[Docs] Updated cookbook/theme Note to upgrading 1.11 that it deals wi…
kkdg Jun 26, 2020
91d3b3b
[Docs] Added headless-security
kkdg Jun 26, 2020
de5b712
[Docs] Updated cookbook/elastic Fix a typo
kkdg Jun 28, 2020
866b6e5
Better dutch translations
1070rik Jun 30, 2020
d70d22d
Changelog updated
1070rik Jun 30, 2020
fdfb950
Merge remote-tracking branch 'origin2/master'
kkdg Jul 2, 2020
9041940
[Docs] Updated cookbook/module using Server module
kkdg Jul 2, 2020
566e85e
[Docs] Cleaned empty section
kkdg Jul 2, 2020
0c50708
[Docs] Cleaned menu for empty sections
kkdg Jul 2, 2020
b81a6c2
[Docs] Removed AMP section
kkdg Jul 2, 2020
0cb285a
[Docs] Added archives
kkdg Jul 2, 2020
2bbd24f
[Docs] Cleaned up archives
kkdg Jul 2, 2020
5e8e69d
[Docs] Removed cookbook/module unused section
kkdg Jul 2, 2020
e2d2607
[Docs] Removed empty sections from cookbook/elastic
kkdg Jul 2, 2020
31ed7ae
Merge pull request #4278 from DivanteLtd/tom-aniol-patch-3
Jul 2, 2020
6c6b4c1
Merge branch 'master' into tom-aniol-patch-4
Jul 2, 2020
5f5d52f
Merge pull request #4326 from DivanteLtd/tom-aniol-patch-4
Jul 2, 2020
5bd05ea
Allow modification used data only for specific fields
Jul 4, 2020
c4f1e1f
update changelog
Jul 4, 2020
4bd0b4b
add helmet
Jul 4, 2020
4a45f1e
update changelog
Jul 4, 2020
bcb16bb
update package hash for storefront-query-builder
Jul 6, 2020
145f4c7
Fixed theme page url
urboom Jul 7, 2020
b02d06c
Merge pull request #4608 from urboom/patch-1
andrzejewsky Jul 8, 2020
c530b10
Merge branch 'master' into master
Jul 10, 2020
00a565e
send user token in header
Jul 12, 2020
2bcc55a
update changelog
Jul 12, 2020
43d3044
Merge pull request #4577 from gibkigonzo/bugfix/4572
Jul 12, 2020
a7fa936
Merge branch 'hotfix/v1.12.2' into feature/improved-dutch-translations
Jul 12, 2020
e5d1827
Merge pull request #4587 from 1070rik/feature/improved-dutch-translat…
Jul 14, 2020
ee990ef
clear cache method added
RakowskiPrzemyslaw Jul 15, 2020
d1f5d4b
test
RakowskiPrzemyslaw Jul 15, 2020
2bed0c9
fix
RakowskiPrzemyslaw Jul 15, 2020
02c6fb4
fix
RakowskiPrzemyslaw Jul 15, 2020
b608c7f
setItem handles memory overload
RakowskiPrzemyslaw Jul 15, 2020
46915a5
preserveDrivers in config, handle clear cache hidden
RakowskiPrzemyslaw Jul 15, 2020
2e1c132
changelog
RakowskiPrzemyslaw Jul 15, 2020
c1cdc35
dependency moved
RakowskiPrzemyslaw Jul 15, 2020
ad56da3
fix
RakowskiPrzemyslaw Jul 15, 2020
e4aa711
proper type added
RakowskiPrzemyslaw Jul 15, 2020
28dd3de
naming improved
RakowskiPrzemyslaw Jul 15, 2020
67d9a4a
Redundant code removed
RakowskiPrzemyslaw Jul 16, 2020
6aa904c
Merge pull request #4542 from kkdg/master
pkarw Jul 16, 2020
e910b63
Merge pull request #4605 from gibkigonzo/bugfix/update-storefront-que…
pkarw Jul 16, 2020
a919009
Merge branch 'hotfix/v1.12.2' into fix/cache-memory-overload
Jul 16, 2020
c922f0a
Merge branch 'hotfix/v1.12.2' into feature/make-bundle-price-calculat…
Jul 16, 2020
ab5ef30
Merge pull request #4621 from RakowskiPrzemyslaw/fix/cache-memory-ove…
Jul 16, 2020
c1e7724
Merge branch 'hotfix/v1.12.2' of github.com:DivanteLtd/vue-storefront…
Jul 16, 2020
1cc8ece
Merge pull request #4626 from gibkigonzo/bugfix/sec-fixes
Jul 16, 2020
6123628
Big Readme Update
tom-aniol Jul 16, 2020
4f74dc6
Merge pull request #4627 from DivanteLtd/readme-update
Jul 16, 2020
6c6427f
Merge remote-tracking branch '@vue-storefront/hotfix/v1.12.2' into re…
Jul 19, 2020
c2246d4
Merge branch 'hotfix/v1.12.2' into feature/make-bundle-price-calculat…
Jul 19, 2020
13f1721
Update CHANGELOG.md
Jul 19, 2020
a0ee69b
Merge pull request #4556 from icmaa/feature/make-bundle-price-calcula…
Jul 19, 2020
ee818f9
Link Update at Readme
tom-aniol Jul 20, 2020
6833148
4619 revert restoreQuantity functionality
Jul 20, 2020
dd14d5e
4619 update tests
Jul 20, 2020
12dcb6e
update changelog
Jul 20, 2020
7fe45f8
4641 separate variant in findProductOption to get parent sku
Jul 20, 2020
a174238
update tests
Jul 20, 2020
f7d5896
update changelog
Jul 20, 2020
4403d6d
4619 use item_id or server_item_id to restore quantity
Jul 20, 2020
7f197d6
Merge pull request #4639 from DivanteLtd/tom-aniol-patch-6
Jul 20, 2020
28313ef
Empty Commit to trigger travis
Jul 21, 2020
25a8078
Empty Commit to trigger travis
Jul 21, 2020
4ef898a
Merge pull request #4644 from gibkigonzo/bugfix/4619
Jul 21, 2020
6c83265
Merge branch 'release/v1.12.2' into bugfix/4641
Jul 21, 2020
e340e15
Merge pull request #4645 from gibkigonzo/bugfix/4641
Jul 21, 2020
bfa040d
Merge branch 'master' into hotfix/v1.12.2
patzick Jul 21, 2020
39516b2
Merge remote-tracking branch '@vue-storefront/release/v1.12.2' into u…
Jul 21, 2020
6ed927d
Merge pull request #4650 from gibkigonzo/update-hotfix-1.12.2
Jul 21, 2020
7c08c0a
add dynamicConfigInclude to gh workflow
Jul 21, 2020
3e8b672
change config in workflow - add all endpoints domains
Jul 22, 2020
2be6245
Merge pull request #4651 from gibkigonzo/update/workflow
Jul 22, 2020
f3d13b7
Update server.ts
boehsermoe Jul 22, 2020
61d72cc
Update bug_report.md
filrak Jul 24, 2020
5696530
Update feature_request.md
filrak Jul 24, 2020
626dc97
Update feature_request.md
filrak Jul 24, 2020
83f9939
Merge pull request #4664 from DivanteLtd/filrak-patch-2
filrak Jul 24, 2020
1db5b48
Merge branch 'master' into filrak-patch-3
filrak Jul 24, 2020
0e59beb
Merge pull request #4665 from DivanteLtd/filrak-patch-3
filrak Jul 24, 2020
39f8326
Merge branch 'hotfix/v1.12.2' into patch-1
Jul 27, 2020
67df882
Merge pull request #4657 from boehsermoe/patch-1
Jul 27, 2020
e48aaaa
update changelog
Jul 28, 2020
b3a37c9
bump version
Jul 28, 2020
69c75d2
Merge pull request #4685 from gibkigonzo/bump-version/1.12.2
Jul 28, 2020
60f436b
update changelog
Jul 28, 2020
d55646b
Merge branch 'hotfix/v1.12.2' into bump-version/1.12.2
Jul 28, 2020
a5079ad
Merge pull request #4686 from gibkigonzo/bump-version/1.12.2
Jul 28, 2020
ca90b04
Merge branch 'master' into hotfix/v1.12.2
patzick Jul 29, 2020
d366189
Merge pull request #4649 from DivanteLtd/hotfix/v1.12.2
Jul 29, 2020
c440d7d
Use yarn global instead of yarn add for installing CLI tool global
hesselberg Jul 31, 2020
6ddb5b7
Merge pull request #4699 from hesselberg/patch-1
filrak Aug 27, 2020
a657e79
Update README.md
filrak Sep 16, 2020
dddcf4f
Merge pull request #4871 from DivanteLtd/filrak-patch-4
filrak Sep 16, 2020
ac6e15b
Update PULL_REQUEST_TEMPLATE.md
filrak Sep 22, 2020
57c7bef
Merge pull request #4898 from DivanteLtd/filrak-patch-5
filrak Sep 22, 2020
2daccba
docs: multistore refactor
Fifciu Oct 9, 2020
c18e0cf
doc: localizedRoute update & info about multiStoreConfig in VSF-API
Fifciu Oct 16, 2020
3c60f42
docs: last changes in multistore
Fifciu Oct 16, 2020
6c2562c
Merge pull request #4995 from DivanteLtd/doc-multistore-refactor
Fifciu Oct 19, 2020
2ddac26
Merge pull request #5038 from DivanteLtd/doc-multistore-refactor
Fifciu Oct 19, 2020
c355656
Fix typo in docs
ThermScissorpunch Oct 21, 2020
9c19d9d
chore: info about possibility of removing depracatedActions in doc
Fifciu Nov 3, 2020
264e6f4
chore: empty refresh commit
Fifciu Nov 4, 2020
e08516c
add gh action for vsf1 workflow
Nov 5, 2020
fe76c62
remove travis
Nov 5, 2020
a5476e9
update steps names
Nov 5, 2020
841bec6
update branches names
Nov 5, 2020
b5cc239
cache theme
Nov 5, 2020
782f7bd
cache theme
Nov 5, 2020
d477206
revert: cache theme on each step and clone theme on last event
Nov 5, 2020
424abc3
WIP docs migration
mkoszut Nov 5, 2020
8cd3f44
Docs migration to cloud
mkoszut Nov 5, 2020
5558185
Fixing build script
mkoszut Nov 6, 2020
6e0dc53
Merge pull request #5123 from DivanteLtd/doc-no-depr-actions
Fifciu Nov 6, 2020
d0f9241
Merge pull request #5129 from gibkigonzo/implement-5125-for-vsf1
Fifciu Nov 6, 2020
8d49a47
fix: typo in readme
Fifciu Nov 6, 2020
44ebe62
Merge pull request #5149 from Fifciu/readme-update
Fifciu Nov 6, 2020
d6b840d
use develop branch for theme
Nov 12, 2020
132442e
add api:api-search-query, for workflow
Nov 12, 2020
0f569f9
Merge pull request #5173 from gibkigonzo/update-workflow-theme
Nov 12, 2020
d9ab3fd
feat: cdn images on demo
Fifciu Nov 12, 2020
20c86e1
Merge pull request #5176 from DivanteLtd/cdn-images-on-demo-master
Fifciu Nov 12, 2020
7b7c672
chore: disabled gzip compression on sfc instances
Fifciu Nov 13, 2020
48ead17
refactor: removed white spaces
Fifciu Nov 13, 2020
cca78e0
Merge pull request #5184 from DivanteLtd/disable-gzip-sfc
Fifciu Nov 13, 2020
333644b
Docs for V1
mkoszut Nov 26, 2020
f1bdb8b
Fix 'When you using the' text
ThermScissorpunch Nov 26, 2020
b740d77
Merge pull request #5050 from ThermScissorpunch/patch-7
Fifciu Nov 26, 2020
a37c3c9
Fixed some typos in docs/guide/cookbook/checklist.md (#5071)
ymaheshwari1 Nov 28, 2020
f386aa0
Updated Changelog.md file(#5071)
ymaheshwari1 Nov 28, 2020
e09579d
Fixed: some typos in docs/guide/general/introduction.md (#5071)
ymaheshwari1 Nov 28, 2020
42ed212
Fixed: some typos in docs/guide/core-themes/layouts.md (#5071)
ymaheshwari1 Nov 28, 2020
a199c43
Fixed: some typos in docs/guide/core-themes/core-components.md (#5071)
ymaheshwari1 Nov 28, 2020
6df41b9
Fixed: some typos in docs/guide/core-themes/service-workers.md (#5071)
ymaheshwari1 Nov 28, 2020
ac14724
Fixed: some typos in docs/guide/integrations/multistore.md (#5071)
ymaheshwari1 Nov 28, 2020
ab16444
Fixed: some typos in docs/guide/data-resolvers (#5071)
ymaheshwari1 Nov 28, 2020
18cfff3
Fixed: some typos in docs/guide/cookbook/setup.md (#5071)
ymaheshwari1 Nov 28, 2020
bde31a8
Fixed: some typos in docs/guide/upgrade-notes/README.md (#5071)
ymaheshwari1 Nov 28, 2020
f61b820
Merge pull request #5260 from hotwax/typo/documentation
Fifciu Nov 30, 2020
ba3a524
feat: updated pr template
justyna-13 Dec 8, 2020
d6f7afd
Merge pull request #5302 from justyna-13/feat/updated-pr-template
filrak Jan 19, 2021
913226e
chore: updated doc about vsf-cli for vsf1
Jan 20, 2021
484bec3
chore: fix after cr
Jan 25, 2021
827916d
Merge pull request #5423 from vuestorefront/vsf1-cli-doc-update-version
Fifciu Jan 25, 2021
91c049d
Merge branch 'master' into feature/docs-migration
mkoszut Jan 27, 2021
1cb5d86
Deploy from master
mkoszut Jan 27, 2021
36f98d8
Merge pull request #5450 from vuestorefront/feature/docs-migration
filrak Jan 28, 2021
deb04d2
Bump lodash from 4.17.15 to 4.17.19
dependabot[bot] Jan 28, 2021
21dc3ca
Merge pull request #5457 from vuestorefront/dependabot/npm_and_yarn/l…
filrak Jan 28, 2021
0006da4
chore: updates links to the new repo & new docs path & /v1 prefix
Jan 20, 2021
075b112
fix: links for not transfered repos
Jan 20, 2021
9b36606
Merge pull request #5424 from vuestorefront/vsf1-doc-updates-links
Fifciu Feb 2, 2021
57b0c30
fixed source of images
lukaszjedrasik Feb 4, 2021
277579f
Merge pull request #5483 from vuestorefront/images-demo-fix
Fifciu Feb 4, 2021
537ce0a
Fixed: some typos in the documentation
ymaheshwari1 Feb 3, 2021
6d85fa7
Update ssr-cache.md
filipsobol Feb 8, 2021
65548b0
Merge pull request #5501 from vuestorefront/20210208-fix-vsf1-cache-docs
Fifciu Feb 10, 2021
3ec4b3f
added information about tests and i18n in modules
lukaszjedrasik Feb 12, 2021
c77c690
Merge pull request #5528 from vuestorefront/i18n-tests-module-docs
Fifciu Feb 12, 2021
ce5a40d
Merge pull request #5497 from hotwax/documentation/typo-master
Fifciu Feb 15, 2021
8d2c925
Updated elgohr/Publish-Docker-Github-Action to a supported version (v5)
elgohr Mar 28, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,18 @@ https://stackblitz.com or with a screenshot if it's more accurate.



## Repository
<!-- If possible, share a repository link where this problem occurs -->

## Version of Vue Storefront
<!-- Is it next or current VSF -->
- [ ] Vue Storefront
- [ ] Vue Storefront Next


## Can you handle fixing this bug by yourself?

- [ ] YES
- [ ] NO

## Which [Release Cycle](https://docs.vuestorefront.io/guide/basics/release-cycle.html) state this refers to? Info for developer.
## Which [Release Cycle](https://docs.vuestorefront.io/guide/basics/release-cycle.html) state this refers to? Info for developer. (doesn't apply to Next)
Pick one option.

- [ ] This is a bug report for test version on https://test.storefrontcloud.io - In this case Developer should create branch from `develop` branch and create Pull Request `2. Feature / Improvement` back to `develop`.
Expand Down
13 changes: 5 additions & 8 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,21 @@ labels: feature request
<!-- Describe the motivation or the concrete use case for new feature or why one of current ones should be enhanced. -->



## What are the acceptance criteria
<!-- List the acceptance criteria for this task in a form of a list. -->

- [ ] ...

## Version of Vue Storefront
<!-- Is it next or current VSF -->
- [ ] Vue Storefront
- [ ] Vue Storefront Next

## Can you complete this feature request by yourself?

- [ ] YES
- [ ] NO

## Which [Release Cycle](https://docs.vuestorefront.io/guide/basics/release-cycle.html) state this refers to? Info for developer.
Pick one option.

- [x] This is a normal feature request. This should be available on https://test.storefrontcloud.io and then after tests this can be added to next Vue Storefront version. In this case Developer should create branch from `develop` branch and create Pull Request `2. Feature / Improvement` back to `develop`.
- [ ] (**Pick this option only if you're sure**) This is an important improvement request for current Release Candidate version on https://next.storefrontcloud.io and should be placed in next RC version. In this case Developer should create branch from `release` branch and create Pull Request `3. Stabilisation fix` back to `release`.
- [ ] (**Pick this option only if you're sure**) This is a critical improvement request for current Stable version on https://demo.storefrontcloud.io and should be placed in next stable version. In this case Developer should create branch from `hotfix` or `master` branch and create Pull Request `4. Hotfix` back to `hotfix`.

## Additional information
<!-- If you think that any additional information would be useful please provide them here. -->

1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Check your case. In case of any doubts please read about [Release Cycle](https:/
### Upgrade Notes and Changelog
- [x] No upgrade steps required (100% backward compatibility and no breaking changes)
- [ ] I've updated the [Upgrade notes](https://github.com/DivanteLtd/vue-storefront/blob/develop/docs/guide/upgrade-notes/README.md) and [Changelog](https://github.com/DivanteLtd/vue-storefront/blob/develop/CHANGELOG.md) on how to port existing Vue Storefront sites with this new feature
- [ ] (Next only) I've followed this [instruction](https://docs-next.vuestorefront.io/contributing/creating-changelog.html) and I've created a `.js` file with information about my Pull Request

**IMPORTANT NOTICE** - Remember to update `CHANGELOG.md` with description of your change

Expand Down
24 changes: 14 additions & 10 deletions .github/PULL_REQUEST_TEMPLATE/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,29 @@ This is my first PR for storefront or i'm not sure which other PR should i choos

closes #

### Short description and why it's useful
### Short description
<!-- describe in a few words what is this Pull Request changing and why it's useful -->



### Screenshots of visual changes before/after (if there are any)
<!-- if you made any changes in the UI layer please provide before/after screenshots -->

### Which environment this relates to
Check your case. In case of any doubts please read about [Release Cycle](https://docs.vuestorefront.io/guide/basics/release-cycle.html)

- [ ] Test version (https://test.storefrontcloud.io) - this is a new feature or improvement for Vue Storefront. I've created branch from `develop` branch and want to merge it back to `develop`
- [ ] RC version (https://next.storefrontcloud.io) - this is a stabilisation fix for Release Candidate of Vue Storefront. I've created branch from `release` branch and want to merge it back to `release`
- [ ] Stable version (https://demo.storefrontcloud.io) - this is an important fix for current stable version. I've created branch from `hotfix` or `master` branch and want to merge it back to `hotfix`

### Upgrade Notes and Changelog

- [x] No upgrade steps required (100% backward compatibility and no breaking changes)
- [ ] I've updated the [Upgrade notes](https://github.com/DivanteLtd/vue-storefront/blob/develop/docs/guide/upgrade-notes/README.md) and [Changelog](https://github.com/DivanteLtd/vue-storefront/blob/develop/CHANGELOG.md) on how to port existing VS sites with this new feature
<!--
- Test version (https://test.storefrontcloud.io) - this is a new feature or improvement for Vue Storefront. I've created branch from `develop` branch and want to merge it back to `develop`
- RC version (https://next.storefrontcloud.io) - this is a stabilisation fix for Release Candidate of Vue Storefront. I've created branch from `release` branch and want to merge it back to `release`
- Stable version (https://demo.storefrontcloud.io) - this is an important fix for current stable version. I've created branch from `hotfix` or `master` branch and want to merge it back to `hotfix`
- Vue Storefront Next (https://demo-next.vuestorefront.io)
-->
### Checklist

- [ ] No upgrade steps required (100% backward compatibility and no breaking changes)
- [ ] I've updated the Upgrade notes and Changelog
<!-- For VSF 1 ttps://github.com/DivanteLtd/vue-storefront/blob/develop/docs/guide/upgrade-notes/README.md) and https://github.com/DivanteLtd/vue-storefront/blob/develop/CHANGELOG.md) -->
- [ ] I updated the documentation
- [ ] My code is covered with unit tests

**IMPORTANT NOTICE** - Remember to update `CHANGELOG.md` with description of your change

Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/deploy-storefrontcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,25 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Add theme
- name: Add theme master
if: github.ref != 'refs/heads/develop'
run: |
git clone --single-branch --branch master https://github.com/DivanteLtd/vsf-default.git ./src/themes/default
- name: Add theme develop
if: github.ref == 'refs/heads/develop'
run: |
git clone --single-branch --branch develop https://github.com/DivanteLtd/vsf-default.git ./src/themes/default
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: "10.x"
- name: Create config file
run: |
echo '{"server":{"useOutputCacheTagging":true,"useOutputCache":true,"dynamicConfigReload":true},"api":{"url":"https://demo.storefrontcloud.io"},"elasticsearch":{"index":"vue_storefront_magento_1"},"entities":{"attribute":{"loadByAttributeMetadata":true}},"urlModule":{"enableMapFallbackUrl":true}}' > config/local-cloud-demo.json
echo '{"server":{"useOutputCacheTagging":true,"useOutputCache":true,"dynamicConfigReload":true},"api":{"url":"https://demo.storefrontcloud.io"},"elasticsearch":{"index":"vue_storefront_magento_1"},"entities":{"attribute":{"loadByAttributeMetadata":true}},"urlModule":{"enableMapFallbackUrl":true}}' > config/local-cloud-next.json
echo '{"server":{"useOutputCacheTagging":true,"useOutputCache":true,"dynamicConfigReload":true},"api":{"url":"https://test.storefrontcloud.io"},"elasticsearch":{"index":"vue_storefront_magento_1"},"entities":{"attribute":{"loadByAttributeMetadata":true}},"urlModule":{"enableMapFallbackUrl":true}}' > config/local-cloud-test.json
echo '{"server":{"compression":false,"api":"api-search-query","useOutputCacheTagging":true,"useOutputCache":true,"dynamicConfigReload":true,"dynamicConfigInclude":["redis","elasticsearch","api","graphql","cart","products","orders","users","stock","images","mailchimp","mailer","urlModule"]},"api":{"url":"https://demo.storefrontcloud.io"},"elasticsearch":{"host":"/api/catalog"},"entities":{"attribute":{"loadByAttributeMetadata":true}},"urlModule":{"enableMapFallbackUrl":true},"redis":{"host":"redis"},"graphql":{"host":"https://demo.storefrontcloud.io/graphql"},"cart":{"create_endpoint":"https://demo.storefrontcloud.io/api/cart/create?token={{token}}","updateitem_endpoint":"https://demo.storefrontcloud.io/api/cart/update?token={{token}}&cartId={{cartId}}","deleteitem_endpoint":"https://demo.storefrontcloud.io/api/cart/delete?token={{token}}&cartId={{cartId}}","pull_endpoint":"https://demo.storefrontcloud.io/api/cart/pull?token={{token}}&cartId={{cartId}}","totals_endpoint":"https://demo.storefrontcloud.io/api/cart/totals?token={{token}}&cartId={{cartId}}","paymentmethods_endpoint":"https://demo.storefrontcloud.io/api/cart/payment-methods?token={{token}}&cartId={{cartId}}","shippingmethods_endpoint":"https://demo.storefrontcloud.io/api/cart/shipping-methods?token={{token}}&cartId={{cartId}}","shippinginfo_endpoint":"https://demo.storefrontcloud.io/api/cart/shipping-information?token={{token}}&cartId={{cartId}}","collecttotals_endpoint":"https://demo.storefrontcloud.io/api/cart/collect-totals?token={{token}}&cartId={{cartId}}","deletecoupon_endpoint":"https://demo.storefrontcloud.io/api/cart/delete-coupon?token={{token}}&cartId={{cartId}}","applycoupon_endpoint":"https://demo.storefrontcloud.io/api/cart/apply-coupon?token={{token}}&cartId={{cartId}}&coupon={{coupon}}"},"products":{"endpoint":"https://demo.storefrontcloud.io/api/product"},"orders":{"endpoint":"https://demo.storefrontcloud.io/api/order"},"users":{"endpoint":"https://demo.storefrontcloud.io/api/user","history_endpoint":"https://demo.storefrontcloud.io/api/user/order-history?token={{token}}","resetPassword_endpoint":"https://demo.storefrontcloud.io/api/user/resetPassword","changePassword_endpoint":"https://demo.storefrontcloud.io/api/user/changePassword?token={{token}}","login_endpoint":"https://demo.storefrontcloud.io/api/user/login","create_endpoint":"https://demo.storefrontcloud.io/api/user/create","me_endpoint":"https://demo.storefrontcloud.io/api/user/me?token={{token}}","refresh_endpoint":"https://demo.storefrontcloud.io/api/user/refresh"},"stock":{"endpoint":"https://demo.storefrontcloud.io/api/stock"},"images":{"baseUrl":"https://demo.vuestorefront.io/img/"},"mailchimp":{"endpoint":"https://demo.storefrontcloud.io/api/ext/mailchimp-subscribe/subscribe"},"mailer":{"endpoint":{"send":"https://demo.storefrontcloud.io/api/ext/mail-service/send-email","token":"https://demo.storefrontcloud.io/api/ext/mail-service/get-token"}}}' > config/local-cloud-demo.json
echo '{"server":{"compression":false,"api":"api-search-query","useOutputCacheTagging":true,"useOutputCache":true,"dynamicConfigReload":true,"dynamicConfigInclude":["redis","elasticsearch","api","graphql","cart","products","orders","users","stock","images","mailchimp","mailer","urlModule"]},"api":{"url":"https://demo.storefrontcloud.io"},"elasticsearch":{"host":"/api/catalog"},"entities":{"attribute":{"loadByAttributeMetadata":true}},"urlModule":{"enableMapFallbackUrl":true},"redis":{"host":"redis"},"graphql":{"host":"https://demo.storefrontcloud.io/graphql"},"cart":{"create_endpoint":"https://demo.storefrontcloud.io/api/cart/create?token={{token}}","updateitem_endpoint":"https://demo.storefrontcloud.io/api/cart/update?token={{token}}&cartId={{cartId}}","deleteitem_endpoint":"https://demo.storefrontcloud.io/api/cart/delete?token={{token}}&cartId={{cartId}}","pull_endpoint":"https://demo.storefrontcloud.io/api/cart/pull?token={{token}}&cartId={{cartId}}","totals_endpoint":"https://demo.storefrontcloud.io/api/cart/totals?token={{token}}&cartId={{cartId}}","paymentmethods_endpoint":"https://demo.storefrontcloud.io/api/cart/payment-methods?token={{token}}&cartId={{cartId}}","shippingmethods_endpoint":"https://demo.storefrontcloud.io/api/cart/shipping-methods?token={{token}}&cartId={{cartId}}","shippinginfo_endpoint":"https://demo.storefrontcloud.io/api/cart/shipping-information?token={{token}}&cartId={{cartId}}","collecttotals_endpoint":"https://demo.storefrontcloud.io/api/cart/collect-totals?token={{token}}&cartId={{cartId}}","deletecoupon_endpoint":"https://demo.storefrontcloud.io/api/cart/delete-coupon?token={{token}}&cartId={{cartId}}","applycoupon_endpoint":"https://demo.storefrontcloud.io/api/cart/apply-coupon?token={{token}}&cartId={{cartId}}&coupon={{coupon}}"},"products":{"endpoint":"https://demo.storefrontcloud.io/api/product"},"orders":{"endpoint":"https://demo.storefrontcloud.io/api/order"},"users":{"endpoint":"https://demo.storefrontcloud.io/api/user","history_endpoint":"https://demo.storefrontcloud.io/api/user/order-history?token={{token}}","resetPassword_endpoint":"https://demo.storefrontcloud.io/api/user/resetPassword","changePassword_endpoint":"https://demo.storefrontcloud.io/api/user/changePassword?token={{token}}","login_endpoint":"https://demo.storefrontcloud.io/api/user/login","create_endpoint":"https://demo.storefrontcloud.io/api/user/create","me_endpoint":"https://demo.storefrontcloud.io/api/user/me?token={{token}}","refresh_endpoint":"https://demo.storefrontcloud.io/api/user/refresh"},"stock":{"endpoint":"https://demo.storefrontcloud.io/api/stock"},"images":{"baseUrl":"https://demo.vuestorefront.io/img/"},"mailchimp":{"endpoint":"https://demo.storefrontcloud.io/api/ext/mailchimp-subscribe/subscribe"},"mailer":{"endpoint":{"send":"https://demo.storefrontcloud.io/api/ext/mail-service/send-email","token":"https://demo.storefrontcloud.io/api/ext/mail-service/get-token"}}}' > config/local-cloud-next.json
echo '{"server":{"compression":false,"api":"api-search-query","useOutputCacheTagging":true,"useOutputCache":true,"dynamicConfigReload":true,"dynamicConfigInclude":["redis","elasticsearch","api","graphql","cart","products","orders","users","stock","images","mailchimp","mailer","urlModule"]},"api":{"url":"https://test.storefrontcloud.io"},"elasticsearch":{"host":"/api/catalog"},"entities":{"attribute":{"loadByAttributeMetadata":true}},"urlModule":{"enableMapFallbackUrl":true},"redis":{"host":"redis"},"graphql":{"host":"https://test.storefrontcloud.io/graphql"},"cart":{"create_endpoint":"https://test.storefrontcloud.io/api/cart/create?token={{token}}","updateitem_endpoint":"https://test.storefrontcloud.io/api/cart/update?token={{token}}&cartId={{cartId}}","deleteitem_endpoint":"https://test.storefrontcloud.io/api/cart/delete?token={{token}}&cartId={{cartId}}","pull_endpoint":"https://test.storefrontcloud.io/api/cart/pull?token={{token}}&cartId={{cartId}}","totals_endpoint":"https://test.storefrontcloud.io/api/cart/totals?token={{token}}&cartId={{cartId}}","paymentmethods_endpoint":"https://test.storefrontcloud.io/api/cart/payment-methods?token={{token}}&cartId={{cartId}}","shippingmethods_endpoint":"https://test.storefrontcloud.io/api/cart/shipping-methods?token={{token}}&cartId={{cartId}}","shippinginfo_endpoint":"https://test.storefrontcloud.io/api/cart/shipping-information?token={{token}}&cartId={{cartId}}","collecttotals_endpoint":"https://test.storefrontcloud.io/api/cart/collect-totals?token={{token}}&cartId={{cartId}}","deletecoupon_endpoint":"https://test.storefrontcloud.io/api/cart/delete-coupon?token={{token}}&cartId={{cartId}}","applycoupon_endpoint":"https://test.storefrontcloud.io/api/cart/apply-coupon?token={{token}}&cartId={{cartId}}&coupon={{coupon}}"},"products":{"endpoint":"https://test.storefrontcloud.io/api/product"},"orders":{"endpoint":"https://test.storefrontcloud.io/api/order"},"users":{"endpoint":"https://test.storefrontcloud.io/api/user","history_endpoint":"https://test.storefrontcloud.io/api/user/order-history?token={{token}}","resetPassword_endpoint":"https://test.storefrontcloud.io/api/user/resetPassword","changePassword_endpoint":"https://test.storefrontcloud.io/api/user/changePassword?token={{token}}","login_endpoint":"https://test.storefrontcloud.io/api/user/login","create_endpoint":"https://test.storefrontcloud.io/api/user/create","me_endpoint":"https://test.storefrontcloud.io/api/user/me?token={{token}}","refresh_endpoint":"https://test.storefrontcloud.io/api/user/refresh"},"stock":{"endpoint":"https://test.storefrontcloud.io/api/stock"},"images":{"baseUrl":"https://demo.vuestorefront.io/img/"},"mailchimp":{"endpoint":"https://test.storefrontcloud.io/api/ext/mailchimp-subscribe/subscribe"},"mailer":{"endpoint":{"send":"https://test.storefrontcloud.io/api/ext/mail-service/send-email","token":"https://test.storefrontcloud.io/api/ext/mail-service/get-token"}}}' > config/local-cloud-test.json
- name: Build and publish docker image
uses: elgohr/Publish-Docker-Github-Action@master
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: demo-storefrontcloud-io/vue-storefront:${{ github.sha }}
registry: registry.storefrontcloud.io
Expand Down
60 changes: 60 additions & 0 deletions .github/workflows/docs-v1-deployment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Deploy Docs
on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Build and publish docker image
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: docs-storefrontcloud-io/v1:${{ github.sha }}
registry: registry.storefrontcloud.io
username: ${{ secrets.DOCS_CLOUD_USERNAME }}
password: ${{ secrets.DOCS_CLOUD_PASSWORD }}
workdir: docs
dockerfile: Dockerfile
buildoptions: "--compress"
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- uses: chrnorm/deployment-action@releases/v1
name: Create GitHub deployment
id: deployment
with:
token: "${{ github.token }}"
target_url: https://docs.europe-west1.gcp.storefrontcloud.io/v1
environment: production
initial_status: in_progress
- name: Deploy on docs.europe-west1.gcp.storefrontcloud.io/v1
run: |
if curl -s -H 'X-User-Id: ${{ secrets.DOCS_CLOUD_USERNAME }}' -H 'X-Api-Key: ${{ secrets.DOCS_CLOUD_PASSWORD }}' -H 'Content-Type: application/json' -X POST -d '{"code":"docs","region":"europe-west1.gcp","additionalApps":{"apps":[{"name":"docs-v1","tag":"${{ github.sha }}","image":"registry.storefrontcloud.io/docs-storefrontcloud-io/v1","path":"/v1","port":"80"}]}}' https://farmer.storefrontcloud.io/instances | grep -q '{"code":200,"result":"Instance updated!"}'; then
echo "Instance updated"
else
echo "Something went wrong during the update process..."
exit 1
fi
- name: Update deployment status (success)
if: success()
uses: chrnorm/deployment-status@releases/v1
with:
token: "${{ github.token }}"
target_url: https://docs.europe-west1.gcp.storefrontcloud.io/v1
state: "success"
description: Congratulations! The deploy is done.
deployment_id: ${{ steps.deployment.outputs.deployment_id }}
- name: Update deployment status (failure)
if: failure()
uses: chrnorm/deployment-status@releases/v1
with:
token: "${{ github.token }}"
target_url: https://docs.europe-west1.gcp.storefrontcloud.io/v1
description: Unfortunately, the instance hasn't been updated.
state: "failure"
deployment_id: ${{ steps.deployment.outputs.deployment_id }}
Loading