Skip to content

Commit

Permalink
8.1.2
Browse files Browse the repository at this point in the history
- Updated submodule for d9 installation (121a3b5)
- phpunit void return annoation (dee3a2c)
- D8CORE-2499 Updated composer license (#58) (3c06789)
- D8CORE-2155: Added square image styles for various breakpoints (#57) (6af9759)
- D8CORE-1538 Convert behat tests to codeception (#56) (395f426)
  • Loading branch information
pookmish authored Apr 9, 2021
2 parents 223e8b9 + 5e63f77 commit 274aed0
Show file tree
Hide file tree
Showing 36 changed files with 288 additions and 89 deletions.
50 changes: 32 additions & 18 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,51 +35,65 @@ code_coverage: &code_coverage
- store_artifacts:
path: /var/www/html/artifacts/phpunit/coverage

behat: &behat
codeception: &codeception
<<: *defaults
steps:
- restore_cache:
keys:
- dependencies-
- checkout:
path: /var/www/test
- run:
name: Run Behat Tests
name: Run Acceptance Tests
command: |
composer global require SU-SWS/stanford-caravan:dev-8.x-1.x
~/.composer/vendor/bin/sws-caravan behat /var/www/html --extension-dir=/var/www/test
- save_cache:
key: dependencies-{{ epoch }}
paths:
- .
~/.composer/vendor/bin/sws-caravan codeception /var/www/html --extension-dir=/var/www/test
- store_test_results:
path: /var/www/html/artifacts/behat
- store_artifacts:
path: /var/www/html/artifacts

back_to_dev: &back_to_dev
<<: *defaults
steps:
- checkout
- run:
name: Back to dev
command: |
composer global require SU-SWS/stanford-caravan:dev-8.x-1.x
~/.composer/vendor/bin/sws-caravan back-to-dev ${CIRCLE_TAG} ${CIRCLE_WORKING_DIRECTORY}
# Declare all of the jobs we should run.
jobs:
run-coverage:
<<: *code_coverage
run-behat:
<<: *behat
run-codeception:
<<: *codeception
run-back-to-dev:
<<: *back_to_dev

# Declare a workflow that runs all of our jobs in parallel.
workflows:
version: 2
tests:
after_release:
jobs:
- run-coverage
- run-behat
# Re-test every sunday in case this code becomes stale.
sundays:
- run-back-to-dev:
filters:
tags:
only:
- /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*).*?$/
branches:
ignore:
- /.*/
weekly:
jobs:
- run-coverage
- run-behat
- run-codeception
triggers:
- schedule:
cron: "0 0 * * 0"
filters:
branches:
only:
- 8.x-1.x
tests:
jobs:
- run-coverage
- run-codeception
22 changes: 11 additions & 11 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,14 @@ plugins:
- dsm
# exclude these files/paths
exclude_patterns:
- "test"
- "tests"
- "**/tests/**/*"
- "vendor"
- "vendors"
- "node_modules"
- "composer.json"
- "package.json"
- "webpack.config.js"
- "**.min.*"
- "spec/"
- "test"
- "tests"
- "**/tests/**/*"
- "vendor"
- "vendors"
- "node_modules"
- "composer.json"
- "package.json"
- "webpack.config.js"
- "**.min.*"
- "spec/"
29 changes: 29 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# READY FOR REVIEW/NOT READY
- (Edit the above to reflect status)

# Summary
- TL;DR - what's this PR for?

# Needed By (Date)
- When does this need to be merged by?

# Urgency
- How critical is this PR?

# Steps to Test

1. Do this
1. Then this
2. Then this

# Affected Projects or Products
- Does this PR impact any particular projects, products, or modules?

# Associated Issues and/or People
- JIRA ticket
- Other PRs
- Any other contextual information that might be helpful (e.g., description of a bug that this PR fixes, new functionality that it adds, etc.)
- Anyone who should be notified? (`@mention` them here)

# See Also
- [PR Checklist](https://gist.github.com/sherakama/0ba17601381e3adbe0cad566ad4d80a5)
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Stanford Image Styles

8.x-1.2
--------------------------------------------------------------------------------
_Release Date: 2021-04-09_

- Updated submodule for d9 installation (121a3b5)
- phpunit void return annoation (dee3a2c)
- D8CORE-2499 Updated composer license (#58) (3c06789)
- D8CORE-2155: Added square image styles for various breakpoints (#57) (6af9759)
- D8CORE-1538 Convert behat tests to codeception (#56) (395f426)

8.x-1.1
--------------------------------------------------------------------------------
_Release Date: 2020-06-17_
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "drupal-custom-module",
"homepage": "https://github.com/SU-SWS/stanford_image_styles",
"authors": [],
"license": "GPL-2.0+",
"license": "GPL-2.0-or-later",
"minimum-stability": "dev",
"repositories": [
{
Expand Down
1 change: 1 addition & 0 deletions config/install/image.style.breakpoint_2xl_1x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ effects:
width: 1500
height: null
upscale: false

1 change: 1 addition & 0 deletions config/install/image.style.breakpoint_2xl_2x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ effects:
width: 3000
height: null
upscale: false

3 changes: 1 addition & 2 deletions config/install/image.style.breakpoint_lg_1x.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: 3aTh0wxysVWRLQvsLSWuf9mYdAql9Ek2O4okVXG5cMs
name: breakpoint_lg_1x
label: 'Breakpoint - LG - 1x'
effects:
Expand All @@ -14,3 +12,4 @@ effects:
width: 992
height: null
upscale: false

3 changes: 1 addition & 2 deletions config/install/image.style.breakpoint_lg_2x.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: cZXot4swbaAIIWXQw7ZhgPwlabmSTQOCZO8AIM5isGE
name: breakpoint_lg_2x
label: 'Breakpoint - LG - 2x'
effects:
Expand All @@ -14,3 +12,4 @@ effects:
width: 1984
height: null
upscale: false

3 changes: 1 addition & 2 deletions config/install/image.style.breakpoint_md_1x.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: ofY6kXeN4lN9PG-eTaA78tAzx3ACWtTmlK-APH7PAZg
name: breakpoint_md_1x
label: 'Breakpoint - MD - 1x'
effects:
Expand All @@ -14,3 +12,4 @@ effects:
width: 768
height: null
upscale: false

3 changes: 1 addition & 2 deletions config/install/image.style.breakpoint_md_2x.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: TJO8X5EvB-f6_JLymfBhl0dJ2bP0rbm94sJLiSDGkGk
name: breakpoint_md_2x
label: 'Breakpoint - MD - 2x'
effects:
Expand All @@ -14,3 +12,4 @@ effects:
width: 1536
height: null
upscale: false

3 changes: 1 addition & 2 deletions config/install/image.style.breakpoint_sm_1x.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: G0Vkgl6yKu6iHRjh_xyTEUsbM_lAgQ362aTGF_edkg0
name: breakpoint_sm_1x
label: 'Breakpoint - SM - 1x'
effects:
Expand All @@ -14,3 +12,4 @@ effects:
width: 576
height: null
upscale: false

3 changes: 1 addition & 2 deletions config/install/image.style.breakpoint_sm_2x.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: jR527GaKk-Mxem_ZnKUgnnXSaqpURbAxzC9WajqFb40
name: breakpoint_sm_2x
label: 'Breakpoint - SM - 2x'
effects:
Expand All @@ -14,3 +12,4 @@ effects:
width: 1152
height: null
upscale: false

3 changes: 1 addition & 2 deletions config/install/image.style.breakpoint_xl_1x.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: Uy8HsoXATXaSNELbQv6oHjVXQ7CngyBOwJHzGkmOonY
name: breakpoint_xl_1x
label: 'Breakpoint - XL - 1x'
effects:
Expand All @@ -14,3 +12,4 @@ effects:
width: 1200
height: null
upscale: false

3 changes: 1 addition & 2 deletions config/install/image.style.breakpoint_xl_2x.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: Vh36ZWh1RSikZ0pbEJjgQa4UPqirYo__IZ1NsmQwTPA
name: breakpoint_xl_2x
label: 'Breakpoint - XL - 2x'
effects:
Expand All @@ -14,3 +12,4 @@ effects:
width: 2400
height: null
upscale: false

1 change: 1 addition & 0 deletions config/install/image.style.card_1x_478x318.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ effects:
width: 478
height: 318
crop_type: focal_point

1 change: 1 addition & 0 deletions config/install/image.style.card_2x_956x636.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ effects:
width: 956
height: 366
crop_type: focal_point

1 change: 1 addition & 0 deletions config/install/image.style.cta_1x_507x338.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ effects:
width: 507
height: 338
crop_type: focal_point

1 change: 1 addition & 0 deletions config/install/image.style.cta_1x_596x397.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ effects:
width: 596
height: 397
crop_type: focal_point

1 change: 1 addition & 0 deletions config/install/image.style.cta_2x_1014x676.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ effects:
width: 1014
height: 676
crop_type: focal_point

1 change: 1 addition & 0 deletions config/install/image.style.cta_2x_1192x794.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ effects:
width: 1192
height: 794
crop_type: focal_point

17 changes: 17 additions & 0 deletions config/install/image.style.square_1192.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
langcode: en
status: true
dependencies:
module:
- focal_point
name: square_1192
label: 'Square - 1192'
effects:
e1b9c81d-c281-4e9d-b145-28144e978ac0:
uuid: e1b9c81d-c281-4e9d-b145-28144e978ac0
id: focal_point_scale_and_crop
weight: 1
data:
width: 1192
height: 1192
crop_type: focal_point

17 changes: 17 additions & 0 deletions config/install/image.style.square_1900.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
langcode: en
status: true
dependencies:
module:
- focal_point
name: square_1900
label: 'Square - 1900'
effects:
578f3e25-6a90-4db7-a90c-91ce8bf4d99e:
uuid: 578f3e25-6a90-4db7-a90c-91ce8bf4d99e
id: focal_point_scale_and_crop
weight: 1
data:
width: 1900
height: 1900
crop_type: focal_point

17 changes: 17 additions & 0 deletions config/install/image.style.square_478.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
langcode: en
status: true
dependencies:
module:
- focal_point
name: square_478
label: 'Square - 478'
effects:
1891a880-3259-4e36-a1e8-9d9f9de467d0:
uuid: 1891a880-3259-4e36-a1e8-9d9f9de467d0
id: focal_point_scale_and_crop
weight: 1
data:
width: 478
height: 478
crop_type: focal_point

17 changes: 17 additions & 0 deletions config/install/image.style.square_956.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
langcode: en
status: true
dependencies:
module:
- focal_point
name: square_956
label: 'Square - 956'
effects:
d383578e-88ff-41aa-830d-526c90d3df98:
uuid: d383578e-88ff-41aa-830d-526c90d3df98
id: focal_point_scale_and_crop
weight: 1
data:
width: 956
height: 956
crop_type: focal_point

1 change: 1 addition & 0 deletions config/install/image.style.stanford_circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ effects:
weight: -9
data:
extension: png

1 change: 1 addition & 0 deletions config/install/responsive_image.styles.card_478x318.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,4 @@ image_style_mappings:
image_mapping: card_2x_956x636
breakpoint_group: stanford_image_styles
fallback_image_style: card_2x_956x636

Loading

0 comments on commit 274aed0

Please sign in to comment.