-
Notifications
You must be signed in to change notification settings - Fork 1
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
CD-511 Demo content and Github Actions #348
Merged
Changes from all commits
Commits
Show all changes
122 commits
Select commit
Hold shift + click to select a range
0c117fc
feat: lighthouse GA workflow from UNOCHA
left23 a01c8ba
feat: demo content module with csv from unocha
left23 abfcc30
Merge branch 'develop' into CD-511
left23 486a8d3
chore: remove run-tests so lighthouse test are used instead
left23 fbdf150
chore: run only if label is applied
left23 5323953
chore: remove duplicate steps
left23 7c3f5e2
chore: remove install sub theme step
left23 fd78c03
chore: remove slack steps for ease
left23 2bf8cf8
chore: remove sub theme step again
left23 adec149
chore: remove reference to permissions
left23 fc25983
chore: add debug before fail
left23 3017159
chore: debug and remove run tests
left23 f8398e3
chore: indentation so it runs
left23 b5873a6
chore: update config for demo content module
left23 18e499e
chore: remove debug, notice no vendor directory
left23 34e5322
chore: curl 127
left23 cf647ae
chore: tell nginx about custom port
left23 75f4512
chore: add port
left23 67e0f52
chore: reduce to running on labeled only
left23 49929ac
chore: bring back previously failing starterkit tests
left23 a988d92
chore: test sh file and update tests docker-compose volume perms
left23 fba75bd
chore: try it without usr bin
left23 74c29a6
chore: subtheme script in composer
left23 797e604
chore: Remove breaking line for now
left23 9f06716
chore: remove browser output for now
left23 b64fd2d
chore: update version of lighthouse actions
left23 8e9b35c
chore: path for lighthous rc
left23 3ae8f59
chore: path from site root
left23 54b45d6
chore: re-add en demo module step and set perf urls in config
left23 a512e16
chore: urls plural
left23 884e086
chore: urls back into yml
left23 4328d8c
chore: use a live URL
left23 6d89499
chore: live url only
left23 e32922f
chore: run curl
left23 4ef74eb
chore: drush run server
left23 c21a4d1
chore: transfer run server to start server command in lighthouse
left23 c8f3a48
chore: update urls to test and set runs to 3
left23 15ca76f
Merge branch 'develop' into CD-511
left23 7a9ef2d
chore: label-based conditional for performance tests
left23 2ade872
chore: rename to run-tests, indicating performance pieces are optional
left23 49522a9
chore: re-add portions previously removed while debuggin
left23 195e67c
chore: run tests on most PR conditions
left23 7e3b6f5
chore: missing phpunit config
left23 8ebc1a4
chore: phpunit config
left23 1757243
chore: pre-pool-create composer from starterkit
left23 c59123c
chore: add phpunit as dev dependency
left23 38c6d95
chore: regen lock
left23 6716449
chore: composer defaults from starterkit
left23 0df65bf
chore: fail false
left23 e527e6f
chore: remove unit tests again
left23 8ee32b5
Merge branch 'develop' into CD-511
left23 9ec00d3
chore: update dockerfile from starterkit, add dev_mode
left23 cfd3153
chore: add memcache service from starterkit
left23 258f6e8
chore: remove memcache service and reference to file as module is not…
left23 9ed1cfb
chore: reset dockerfile
left23 3c1f834
chore: remove leftover files from previous module iteration
left23 0a97783
chore: phpunit is back
left23 d5f8a31
chore: add a test
left23 7f02722
style: cs
left23 b513e12
chore: phpunit config in the correct place
left23 60db195
chore: remove --prefer-dist from composer install step
left23 2f57e49
chore: allow plugins list from starterkit
left23 0ea0ddc
chore: update composer and lock
left23 492712b
chore: more composer and lock
left23 928b389
chore: more dockerfile from starterkit
left23 eeb0ef2
chore: no memcache
left23 3341b7c
chore: properly formed composer file
left23 b230078
chore: scripts and assets, regen lock FTW
left23 04b25d3
chore: i dunno, remove it?
left23 40d7d7b
chore: docker file from starterkit
left23 561a457
chore: bump mysql image in tests
lazysoundsystem aa2cb65
Merge remote-tracking branch 'origin/OPS-9749-bump-mysql-image-in-tes…
left23 b08471d
chore: remove duplicate
left23 c91e082
chore: add e2e test step
left23 66b71fc
chore: set up node step and add label for e2e
left23 a501882
chore: update readme
left23 792c20c
chore: add urls and refine budget
left23 52408e3
chore: increase value for demo page
left23 2a52f6c
chore: test homepage, not all
left23 ece4bdc
chore: budget based on web core vitals
left23 99e363a
chore: add another page with its own budget
left23 0ce25b2
chore: URLs are in the test file
left23 7dbe91e
Merge branch 'develop' into CD-511
left23 b4e9a5f
chore: bypass test error for now, install node, attempt to run e2e
left23 c79e729
chore: not cd
left23 7d60722
chore: still use composer script
left23 55db496
chore: cache node modules and test -d
left23 a3a8989
chore: still no cd and path to custom not contrib
left23 c0679ba
Merge branch 'develop' into CD-511-e2e
left23 1a4bf18
chore: install node and checks
left23 afddd73
chore: cd to sub theme
left23 be3b4ce
chore: cache npm
left23 b64355b
chore: try dependency path as sub theme relative to gh dir
left23 aca2f21
chore: run npm in same step as node set up
left23 3696099
chore: no run in node set up
left23 8c733e3
chore: test if node is available
left23 4f70d43
chore: bypass composer script and set work dir
left23 62aac98
chore: remove ampersands
left23 6dd2393
chore: reference docker
left23 8cab11b
chore: try to get to subtheme dir
left23 ed28290
chore: proper commands would be nice
left23 043b0e0
chore: plural
left23 1a06b36
chore: npm install step
left23 070d365
chore: run e2e
left23 4f1b5f2
chore: node env and ci instead of travis
left23 5d100f2
chore: set node env for ci in script
left23 ce8a8cd
chore: re-enable php tests and disable cache
left23 591565e
chore: remove sample db and readme as no longer used
left23 13efedb
chore: enable demo content so e2e tests pass
left23 0e8b1a9
chore: reduce to only what is needed
left23 bb9cf63
CD-511 Github Actions and e2e (#368)
left23 c985154
Merge branch 'CD-511-e2e' into CD-511
left23 77f268f
chore: prevent running when labels are removed
left23 3d74e67
chore: prevent running tests when PR descr is edited
left23 59af832
chore: rename as tests as per starterkit
left23 73afb03
chore: remove theme compilation scripts from composer, no longer used
left23 1072bea
chore: re-add slack notifications and reorder
left23 40eeebb
chore: reorder to better group tests
left23 07e7801
Merge branch 'develop' into CD-511
left23 560a2b2
chore: regen lock
left23 86a85c5
chore: regen lock smore
left23 c300fe2
docs: add tests info to readme
left23 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Build docker image | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
- 'feature/**' | ||
- main | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Build | ||
id: build-action | ||
uses: UN-OCHA/actions/drupal-docker-build@main | ||
with: | ||
aws_access_key_id: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }} | ||
aws_secret_access_key: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }} | ||
docker_registry_url: public.ecr.aws | ||
docker_registry_path: /unocha/ | ||
docker_image: starterkit-site | ||
docker_username: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }} | ||
docker_password: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }} | ||
ecr_github_token: ${{ secrets.ECR_GITHUB_TOKEN }} | ||
ecr_jenkins_token: ${{ secrets.JENKINS_ECR_TOKEN }} | ||
slack_bot_token: ${{ secrets.SLACK_BOT_TOKEN }} | ||
slack_channel_name: ${{ secrets.SLACK_CHANNEL }} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
# Sitemap |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤣