-
Notifications
You must be signed in to change notification settings - Fork 187
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 new travis job for prebuilt images #111
base: master
Are you sure you want to change the base?
Changes from 2 commits
bd755fc
b5a47c0
13bf86b
9db5786
d537351
8a9ed3d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
# fail fast | ||
set -e | ||
export MAKE_ARGS=--no-print-directory | ||
# Open SSH | ||
# - echo travis:$sshpassword | sudo chpasswd | ||
# - sudo sed -i 's/ChallengeResponseAuthentication no/ChallengeResponseAuthentication yes/' /etc/ssh/sshd_config | ||
# - sudo service ssh restart | ||
# - sudo apt-get install sshpass | ||
# - sshpass -p $sshpassword ssh -R 9999:localhost:22 -o StrictHostKeyChecking=no travis@$bouncehostip | ||
# compile and build Docker images | ||
glide -q install | ||
make $MAKE_ARGS docker-build-base | ||
make $MAKE_ARGS gen-certs | ||
make $MAKE_ARGS build | ||
make $MAKE_ARGS docker-build | ||
# deploy services | ||
make $MAKE_ARGS deploy | ||
# submit a test job | ||
make $MAKE_ARGS test-submit-minikube-ci | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Given that test environment is still minikube - what all we are not able to test here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In theory we could, but putting everything into one single job will take longer time to finish. Also, it's easier to debug the 2 different environment if we run them in parallel. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
# fail fast | ||
set -e | ||
export MAKE_ARGS=--no-print-directory | ||
# get pre-built images | ||
make $MAKE_ARGS pull-prebuilt-images | ||
export IMAGE_TAG=$TRAVIS_IMAGE_VERSION | ||
# deploy services | ||
make $MAKE_ARGS deploy | ||
# submit a test job | ||
make $MAKE_ARGS test-submit-minikube-ci |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can probably be pulled from a config file? Makes it easier to extend.....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I can put these into a config file.