good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
U
upper
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
open
upper
Commits
13874eb1
Commit
13874eb1
authored
9 years ago
by
Peter Kieltyka
Browse files
Options
Downloads
Patches
Plain Diff
Travis ...
parent
5bc01f21
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis.yml
+2
-9
2 additions, 9 deletions
.travis.yml
mysql/_dumps/setup.sql
+2
-2
2 additions, 2 deletions
mysql/_dumps/setup.sql
with
4 additions
and
11 deletions
.travis.yml
+
2
−
9
View file @
13874eb1
...
...
@@ -34,17 +34,10 @@ services:
before_script
:
-
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql
# - rm -rf $HOME/gopath/src/upper.io
# - mkdir -p $HOME/gopath/src/upper.io
# - mv $HOME/gopath/src/github.com/upper/db $HOME/gopath/src/upper.io
# - cd $HOME/gopath/src/upper.io/db
# - export TRAVIS_BUILD_DIR=$HOME/gopath/src/upper.io/db
-
cat mysql/_dumps/setup.sql | mysql -uroot
-
cat mysql/_dumps/structs.sql | mysql -uupperio -pupperio upperio_tests
-
cat mysql/_dumps/structs.sql | mysql -uupperio
_tests
-pupperio
_secret
upperio_tests
-
mongo upperio_tests --eval 'db.addUser("upperio", "upperio")'
-
mongo upperio_tests --eval 'db.addUser("upperio
_tests
", "upperio
_secret
")'
-
(cd mysql/_dumps && make)
-
(cd postgresql/_dumps && make)
...
...
This diff is collapsed.
Click to expand it.
mysql/_dumps/setup.sql
+
2
−
2
View file @
13874eb1
...
...
@@ -2,5 +2,5 @@ DROP DATABASE IF EXISTS upperio_tests;
CREATE
DATABASE
upperio_tests
;
GRANT
ALL
PRIVILEGES
ON
upperio_tests
.
*
to
upperio
@
localhost
IDENTIFIED
BY
'upperio'
;
GRANT
ALL
PRIVILEGES
ON
upperio_tests
.
*
to
upperio
@
'10.1.2.1'
IDENTIFIED
BY
'upperio'
;
GRANT
ALL
PRIVILEGES
ON
upperio_tests
.
*
to
upperio
_tests
@
localhost
IDENTIFIED
BY
'upperio
_secret
'
;
GRANT
ALL
PRIVILEGES
ON
upperio_tests
.
*
to
upperio
_tests
@
'10.1.2.1'
IDENTIFIED
BY
'upperio
_secret
'
;
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