Skip to content

Commit

Permalink
Replicate br issue 493
Browse files Browse the repository at this point in the history
  • Loading branch information
austinpray committed Feb 20, 2020
1 parent 4ec3dbe commit d1418de
Show file tree
Hide file tree
Showing 25 changed files with 1,982 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
/site
46 changes: 46 additions & 0 deletions site/.circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
version: 2.1

orbs:
bedrock:
executors:
php-73:
docker:
- image: 'circleci/php:7.3-stretch'
php-72:
docker:
- image: 'circleci/php:7.2-stretch'
php-71:
docker:
- image: 'circleci/php:7.1-stretch'
jobs:
build-php:
parameters:
executor:
type: executor
executor: << parameters.executor >>
steps:
- run: php -v
- checkout
- restore_cache:
keys:
- composer-v1-{{ checksum "composer.lock" }}
- composer-v1-
- run: composer install -n --prefer-dist
- run: composer test
- save_cache:
key: composer-v1-{{ checksum "composer.lock" }}
paths:
- vendor

workflows:
build:
jobs:
- bedrock/build-php:
name: build-php-73
executor: bedrock/php-73
- bedrock/build-php:
name: build-php-72
executor: bedrock/php-72
- bedrock/build-php:
name: build-php-71
executor: bedrock/php-71
15 changes: 15 additions & 0 deletions site/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.php]
indent_size = 4

[*.md]
trim_trailing_whitespace = false
25 changes: 25 additions & 0 deletions site/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
DB_NAME='database_name'
DB_USER='database_user'
DB_PASSWORD='database_password'

# Optionally, you can use a data source name (DSN)
# When using a DSN, you can remove the DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST variables
# DATABASE_URL='mysql://database_user:database_password@database_host:database_port/database_name'

# Optional variables
# DB_HOST='localhost'
# DB_PREFIX='wp_'

WP_ENV='development'
WP_HOME='http://example.com'
WP_SITEURL='${WP_HOME}/wp'

# Generate your keys here: https://roots.io/salts.html
AUTH_KEY='generateme'
SECURE_AUTH_KEY='generateme'
LOGGED_IN_KEY='generateme'
NONCE_KEY='generateme'
AUTH_SALT='generateme'
SECURE_AUTH_SALT='generateme'
LOGGED_IN_SALT='generateme'
NONCE_SALT='generateme'
3 changes: 3 additions & 0 deletions site/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/.circleci export-ignore
/.editorconfig export-ignore
/.gitattributes export-ignore
14 changes: 14 additions & 0 deletions site/.github/workflows/issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Issue closer
on: [issues]
jobs:
autoclose:
runs-on: ubuntu-latest
steps:
- name: Autoclose issues that did not follow issue template
uses: roots/issue-closer@v1.1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-close-message: "Hi @${issue.user.login},
It looks like the issue template is missing from this issue. Please take a look at the [Contribution Guidelines](https://github.com/roots/guidelines/blob/master/CONTRIBUTING.md), which will tell you **exactly** what your ticket has to contain in order to be processable.
Please **do not** use the issue tracker for personal support requests. Use [Roots Discourse](https://discourse.roots.io/) to ask the Roots community for help, or [hire someone from the community](https://discourse.roots.io/c/jobs)."
issue-pattern: ".*guidelines for Contributing.*"
25 changes: 25 additions & 0 deletions site/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Application
web/app/plugins/*
!web/app/plugins/.gitkeep
web/app/mu-plugins/*/
web/app/upgrade
web/app/uploads/*
!web/app/uploads/.gitkeep

# WordPress
web/wp
web/.htaccess

# Logs
*.log

# Dotenv
.env
.env.*
!.env.example

# Composer
/vendor

# WP-CLI
wp-cli.local.yml
Loading

0 comments on commit d1418de

Please sign in to comment.