Skip to content
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

add travis file #17

Merged
merged 6 commits into from Dec 30, 2019
Merged

add travis file #17

merged 6 commits into from Dec 30, 2019

Conversation

ghost
Copy link

@ghost ghost commented Dec 22, 2019

  • add travis-ci file
  • use docker-compose latest version
  • try to build via docker-compose (cannot use install.sh as it requires to provide magento credentials)

x0rzkov added 6 commits December 22, 2019 18:33
TZ=Europe/Berlin
COMPOSE_HTTP_TIMEOUT=1800
NAMESPACE=mage2

PHP_VERSION_SET=7.2
SHOP_URI=mage2.localhost
MYSQL_DATABASE=mage2
MYSQL_USER=mage2
MYSQL_PASSWORD=mage2
MYSQL_ROOT_PASSWORD=root
MAILHOG_EXTERNAL_PORT=8025
MAILHOG_PORT=1025
WEBSERVER_SECURE_PORT=443
WEBSERVER_UNSECURE_PORT=80
AUTH_CONFIG=false
AUTH_USER=mage2
AUTH_PASS=mage2
XDEBUG_ENABLE=true
DUMP_FOLDER=.db_dump/
INSTALL_POST=install_post.sql
SSL=true command running
@aliuosio
Copy link
Owner

@x0rzkov Big Up Yourself.... THX

@aliuosio aliuosio closed this Dec 30, 2019
@aliuosio aliuosio reopened this Dec 30, 2019
@aliuosio aliuosio merged commit 59bcad6 into aliuosio:master Dec 30, 2019
@aliuosio
Copy link
Owner

@x0rzkov
The link to the travis build is not working...

@ghost
Copy link
Author

ghost commented Dec 30, 2019

you need to create an account to https://travis-ci.com/ and add your repository

after if you wanna pull the docker image to docker hub, you need also to create an account on https://hub.docker.com/

Then, I can improve the file for setting up your DOCKER_USERNAME and DOCKER_PASSWORD
https://docs.travis-ci.com/user/docker/#pushing-a-docker-image-to-a-registry

travis env --pro set DOCKER_USERNAME myusername
travis env --pro set DOCKER_PASSWORD secretsecret

@aliuosio
Copy link
Owner

cool leaning something new. i have not worked with travis.
Thanks for the inspiration so far.
we have learned a lot together

@aliuosio
Copy link
Owner

@ghost
Copy link
Author

ghost commented Dec 31, 2019

oh shit, can't you use a json file with the credentials and encrypt it https://docs.travis-ci.com/user/encrypting-files/

@aliuosio
Copy link
Owner

@x0rzkov
i will look the travis stuff in the following days up.
But the credentials are all ways individual data.

@aliuosio
Copy link
Owner

aliuosio commented Jan 8, 2020

@x0rzkov
please to make a successful build using or fork of this repo then i will merge it.
the build failed on travis.

@ghost
Copy link
Author

ghost commented Jan 9, 2020

I will have a look at that today

@ghost
Copy link
Author

ghost commented Jan 23, 2020

Is it possible to provide a /home/mage2/.composer/auth.json in order to override the form requesting for credentials ? it will solve the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant