Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
varbase
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
varbase
Commits
be5f28d3
Commit
be5f28d3
authored
4 years ago
by
Rajab Natshah
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3194401
: Switch to CircleCI as the default automated testing platform
parent
7dcea24d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.circleci/config.yml
+57
-8
57 additions, 8 deletions
.circleci/config.yml
with
57 additions
and
8 deletions
.circleci/config.yml
+
57
−
8
View file @
be5f28d3
version
:
2.1
version
:
2.1
orbs
:
orbs
:
browser-tools
:
circleci/browser-tools@1.1
browser-tools
:
circleci/browser-tools@1.1
job
s
:
executor
s
:
build
:
varbase-
build
:
docker
:
docker
:
-
image
:
circleci/php:7.3-apache-stretch-node-browsers
-
image
:
circleci/php:7.3-apache-stretch-node-browsers
auth
:
auth
:
...
@@ -19,6 +19,11 @@ jobs:
...
@@ -19,6 +19,11 @@ jobs:
MYSQL_USER
:
user
MYSQL_USER
:
user
MYSQL_PASSWORD
:
passw0rd
MYSQL_PASSWORD
:
passw0rd
working_directory
:
/var/www/html/varbase/docroot
working_directory
:
/var/www/html/varbase/docroot
jobs
:
setup
:
resource_class
:
small
executor
:
varbase-build
steps
:
steps
:
-
checkout
:
-
checkout
:
path
:
/var/www/html/varbase
path
:
/var/www/html/varbase
...
@@ -157,14 +162,58 @@ jobs:
...
@@ -157,14 +162,58 @@ jobs:
drush config-set system.performance js.preprocess 0 --yes
drush config-set system.performance js.preprocess 0 --yes
drush config-set system.logging error_level all --yes
drush config-set system.logging error_level all --yes
drush cr
drush cr
test
:
## Automated Functional Acceptance Testing.
setup
:
resource_class
:
small
executor
:
varbase-build
parallelism
:
4
steps
:
## Automated Functional Acceptance Testing group - 01 website base requirements
-
run
:
name
:
Automated Functional Acceptance Testing group - 01 website base requirements
no_output_timeout
:
30m
command
:
|
cd /var/www/html/varbase/docroot/profiles/varbase
behat --strict --no-snippets -f pretty -o std tests/features/varbase/step1-init-tests/
behat --strict --no-snippets -f pretty -o std tests/features/varbase/step2-apply-tests/01-website-base-requirements/
## Automated Functional Acceptance Testing group - 02 user management
-
run
:
-
run
:
name
:
Automated Functional Acceptance Testing
name
:
Automated Functional Acceptance Testing
group - 02 user management
no_output_timeout
:
30m
no_output_timeout
:
30m
command
:
|
command
:
|
cd /var/www/html/varbase/docroot/profiles/varbase
cd /var/www/html/varbase/docroot/profiles/varbase
behat --strict --no-snippets -f pretty -o std tests/features/varbase/step1-init-tests/
behat --strict --no-snippets -f pretty -o std tests/features/varbase/step1-init-tests/
behat --strict --no-snippets -f pretty -o std tests/features/varbase/step2-apply-tests/
behat --strict --no-snippets -f pretty -o std tests/features/varbase/step2-apply-tests/02-user-management/
# behat --strict --no-snippets -f pretty -o std tests/features/varbase/step3-cleanup-tests/ # no need as we build every time.
## Automated Functional Acceptance Testing group - 03 admin management
-
run
:
name
:
Automated Functional Acceptance Testing group - 03 admin management
no_output_timeout
:
30m
command
:
|
cd /var/www/html/varbase/docroot/profiles/varbase
behat --strict --no-snippets -f pretty -o std tests/features/varbase/step1-init-tests/
behat --strict --no-snippets -f pretty -o std tests/features/varbase/step2-apply-tests/03-admin-management/
## Automated Functional Acceptance Testing group - 04 content structure
-
run
:
name
:
Automated Functional Acceptance Testing group - 04 content structure
no_output_timeout
:
30m
command
:
|
cd /var/www/html/varbase/docroot/profiles/varbase
behat --strict --no-snippets -f pretty -o std tests/features/varbase/step1-init-tests/
behat --strict --no-snippets -f pretty -o std tests/features/varbase/step2-apply-tests/04-content-structure/
## Automated Functional Acceptance Testing group - 04 content structure
-
run
:
name
:
Automated Functional Acceptance Testing group - 04 content structure
no_output_timeout
:
30m
command
:
|
cd /var/www/html/varbase/docroot/profiles/varbase
behat --strict --no-snippets -f pretty -o std tests/features/varbase/step1-init-tests/
behat --strict --no-snippets -f pretty -o std tests/features/varbase/step2-apply-tests/05-content-management/
workflows
:
build
:
jobs
:
-
setup
-
test
:
context
:
saas-tokens
requires
:
-
setup
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment