Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
Qpixel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIP
Answers
Qpixel
Merge requests
!50
Update to latest codidact changes
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Update to latest codidact changes
update-to-latest-codidact
into
eip-develop
Overview
0
Commits
198
Pipelines
0
Changes
75
Merged
Update to latest codidact changes
Taico Aerts
requested to merge
update-to-latest-codidact
into
eip-develop
Aug 15, 2023
Overview
0
Commits
198
Pipelines
0
Changes
75
0
0
Merge request reports
Compare
eip-develop
version 3
12806f88
Aug 16, 2023
version 2
641303db
Aug 16, 2023
version 1
3b237da8
Aug 15, 2023
eip-develop (base)
and
latest version
latest version
e3277e4f
198 commits,
Aug 16, 2023
version 3
12806f88
197 commits,
Aug 16, 2023
version 2
641303db
195 commits,
Aug 16, 2023
version 1
3b237da8
193 commits,
Aug 15, 2023
75 files
+
1556
−
341
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
75
.circleci/config.yml
+
224
−
13
View file @ e3277e4f
Edit in single-file editor
Open in Web IDE
Show full file
version
:
2.1
jobs
:
test
:
test
-ruby27
:
docker
:
-
image
:
cimg/ruby:2.7-node
-
image
:
cimg/mysql:8.0
@@ -22,21 +22,157 @@ jobs:
-
checkout
-
restore_cache
:
keys
:
-
qpixel-{{ checksum "Gemfile" }}
-
qpixel-
-
qpixel-
ruby27-
{{ checksum "Gemfile
.lock
" }}
-
qpixel-
ruby27-
-
run
:
name
:
Install Bundler & gems
command
:
|
gem install bundler
bundle install --path=~/gems
-
run
:
name
:
Clean unnecessary gems
command
:
|
bundle clean --force
-
save_cache
:
key
:
qpixel-ruby27-{{ checksum "Gemfile.lock" }}
paths
:
-
~/gems
-
run
:
name
:
Copy key
command
:
|
if [ -z "$MASTER_KEY" ]; then rm config/credentials.yml.enc; else echo "$MASTER_KEY" > config/master.key; fi
-
run
:
name
:
Prepare config & database
environment
:
RAILS_ENV
:
test
command
:
|
cp config/database.sample.yml config/database.yml
cp config/storage.sample.yml config/storage.yml
bundle exec rails db:create
bundle exec rails db:schema:load
bundle exec rails db:migrate
bundle exec rails test:prepare
-
run
:
name
:
Current revision
command
:
|
git rev-parse $(git rev-parse --abbrev-ref HEAD)
-
run
:
name
:
Coveralls token
command
:
|
if [ -z "$COVERALLS_REPO_TOKEN" ]; then echo "Skipping coveralls"; else echo "repo_token: $COVERALLS_REPO_TOKEN" > .coveralls.yml; fi
-
run
:
name
:
Test
command
:
|
bundle exec rails test
-
store_test_results
:
path
:
"
~/qpixel/test/reports"
system-test-ruby27
:
docker
:
-
image
:
cimg/ruby:2.7-browsers
-
image
:
cimg/mysql:8.0
command
:
[
--default-authentication-plugin=mysql_native_password
]
environment
:
MYSQL_ROOT_HOST
:
'
%'
MYSQL_ROOT_PASSWORD
:
'
root'
MYSQL_DATABASE
:
'
qpixel_test'
-
image
:
cimg/redis:7.0
working_directory
:
~/qpixel
steps
:
-
run
:
name
:
Install packages
command
:
|
sudo apt-get --allow-releaseinfo-change -qq update
sudo apt-get -y install git libmariadb-dev libmagickwand-dev
-
checkout
-
restore_cache
:
keys
:
-
qpixel-ruby27-{{ checksum "Gemfile.lock" }}
-
qpixel-ruby27-
-
run
:
name
:
Install Bundler & gems
command
:
|
gem install bundler
bundle install --path=~/gems
-
run
:
name
:
Clean unnecessary gems
command
:
|
bundle clean --force
-
save_cache
:
key
:
qpixel-ruby27-{{ checksum "Gemfile.lock" }}
paths
:
-
~/gems
-
run
:
name
:
Copy key
command
:
|
if [ -z "$MASTER_KEY" ]; then rm config/credentials.yml.enc; else echo "$MASTER_KEY" > config/master.key; fi
-
run
:
name
:
Prepare config & database
environment
:
RAILS_ENV
:
test
command
:
|
cp config/database.sample.yml config/database.yml
cp config/storage.sample.yml config/storage.yml
bundle exec rails db:create
bundle exec rails db:schema:load
bundle exec rails db:migrate
bundle exec rails test:prepare
-
run
:
name
:
Current revision
command
:
|
git rev-parse $(git rev-parse --abbrev-ref HEAD)
-
run
:
name
:
Test
command
:
|
bundle exec rails test:system
-
store_test_results
:
path
:
"
~/qpixel/test/reports"
-
store_artifacts
:
path
:
"
~/qpixel/tmp/screenshots"
when
:
on_fail
test-ruby31
:
docker
:
-
image
:
cimg/ruby:3.1-node
-
image
:
cimg/mysql:8.0
command
:
[
--default-authentication-plugin=mysql_native_password
]
environment
:
MYSQL_ROOT_HOST
:
'
%'
MYSQL_ROOT_PASSWORD
:
'
root'
MYSQL_DATABASE
:
'
qpixel_test'
-
image
:
cimg/redis:7.0
working_directory
:
~/qpixel
steps
:
-
run
:
name
:
Install packages
command
:
|
sudo apt-get --allow-releaseinfo-change -qq update
sudo apt-get -y install git libmariadb-dev libmagickwand-dev
-
checkout
-
restore_cache
:
keys
:
-
qpixel-ruby31-{{ checksum "Gemfile.lock" }}
-
qpixel-ruby31-
-
run
:
name
:
Install Bundler & gems
command
:
|
gem install bundler
bundle install --path=~/gems
-
run
:
name
:
Clean unnecessary gems
command
:
|
bundle clean --force
-
save_cache
:
key
:
qpixel-{{ checksum "Gemfile" }}
key
:
qpixel-
ruby31-
{{ checksum "Gemfile
.lock
" }}
paths
:
-
~/gems
-
run
:
name
:
Copy key
command
:
|
echo "$MASTER_KEY" > config/master.key
if [ -z "$MASTER_KEY" ]; then rm config/credentials.yml.enc; else
echo "$MASTER_KEY" > config/master.key
; fi
-
run
:
name
:
Prepare config & database
environment
:
@@ -55,17 +191,82 @@ jobs:
-
run
:
name
:
Coveralls token
command
:
|
echo "repo_token: $COVERALLS_REPO_TOKEN" > .coveralls.yml
if [ -z "$COVERALLS_REPO_TOKEN" ]; then echo "Skipping coveralls"; else
echo "repo_token: $COVERALLS_REPO_TOKEN" > .coveralls.yml
; fi
-
run
:
name
:
Test
command
:
|
bundle exec rails test
-
store_test_results
:
path
:
"
~/qpixel/test/reports"
system-test-ruby31
:
docker
:
-
image
:
cimg/ruby:3.1-browsers
-
image
:
cimg/mysql:8.0
command
:
[
--default-authentication-plugin=mysql_native_password
]
environment
:
MYSQL_ROOT_HOST
:
'
%'
MYSQL_ROOT_PASSWORD
:
'
root'
MYSQL_DATABASE
:
'
qpixel_test'
-
image
:
cimg/redis:7.0
working_directory
:
~/qpixel
steps
:
-
run
:
name
:
Install packages
command
:
|
sudo apt-get --allow-releaseinfo-change -qq update
sudo apt-get -y install git libmariadb-dev libmagickwand-dev
-
checkout
-
restore_cache
:
keys
:
-
qpixel-ruby31-{{ checksum "Gemfile.lock" }}
-
qpixel-ruby31-
-
run
:
name
:
Install Bundler & gems
command
:
|
gem install bundler
bundle install --path=~/gems
-
run
:
name
:
Clean unnecessary gems
command
:
|
bundle clean --force
-
save_cache
:
key
:
qpixel-ruby31-{{ checksum "Gemfile.lock" }}
paths
:
-
~/gems
-
run
:
name
:
Copy key
command
:
|
if [ -z "$MASTER_KEY" ]; then rm config/credentials.yml.enc; else echo "$MASTER_KEY" > config/master.key; fi
-
run
:
name
:
Prepare config & database
environment
:
RAILS_ENV
:
test
command
:
|
cp config/database.sample.yml config/database.yml
cp config/storage.sample.yml config/storage.yml
bundle exec rails db:create
bundle exec rails db:schema:load
bundle exec rails db:migrate
bundle exec rails test:prepare
-
run
:
name
:
Current revision
command
:
|
git rev-parse $(git rev-parse --abbrev-ref HEAD)
-
run
:
name
:
Test
command
:
|
bundle exec rails test:system
-
store_test_results
:
path
:
"
~/qpixel/test/reports"
-
store_artifacts
:
path
:
"
~/qpixel/tmp/screenshots"
when
:
on_fail
rubocop
:
docker
:
-
image
:
cimg/ruby:
2.7
-node
-
image
:
cimg/ruby:
3.1
-node
working_directory
:
~/qpixel
@@ -78,15 +279,19 @@ jobs:
-
checkout
-
restore_cache
:
keys
:
-
qpixel-{{ checksum "Gemfile" }}
-
qpixel-
-
qpixel-
ruby31-
{{ checksum "Gemfile
.lock
" }}
-
qpixel-
ruby31-
-
run
:
name
:
Install Bundler & gems
command
:
|
gem install bundler
bundle install --path=~/gems
-
run
:
name
:
Clean unnecessary gems
command
:
|
bundle clean --force
-
save_cache
:
key
:
qpixel-{{ checksum "Gemfile" }}
key
:
qpixel-
ruby31-
{{ checksum "Gemfile
.lock
" }}
paths
:
-
~/gems
-
run
:
@@ -96,7 +301,7 @@ jobs:
deploy
:
docker
:
-
image
:
cimg/ruby:
2.7
-node
-
image
:
cimg/ruby:
3.1
-node
working_directory
:
~/qpixel
@@ -114,11 +319,17 @@ jobs:
workflows
:
test_lint
:
jobs
:
-
test
-
test-ruby27
-
test-ruby31
-
system-test-ruby27
-
system-test-ruby31
-
rubocop
-
deploy
:
requires
:
-
test
-
test-ruby27
-
test-ruby31
-
system-test-ruby27
-
system-test-ruby31
-
rubocop
filters
:
branches
:
Loading