我們正在爲能夠部署到openshift的問題。部署過程運行,但實際上並沒有將任何新代碼部署到我們的設備中。Travis + Openshift未部署到openshift
這裏是我的特拉維斯文件:
language: node_js
node_js:
- '0.10'
before_script:
- npm install -g bower grunt-cli
- gem install sass
- bower install
services: mongodb
before_deploy:
- rm -rf .sass-cache .tmp client e2e node_modules server styleguide *.*
- mv dist/* ./
- rm -rf dist
- ls
notifications:
slack: REMOVED
deploy:
- provider: heroku
api_key: REMOVED
skip_cleanup: true
buildpack: https://github.com/ddollar/heroku-buildpack-multi.git
app:
qa: snd-onair-webclient-qa
production: snd-onair-webclient-production
- provider: openshift
user: [email protected]
password:
secure: REMOVED
skip_cleanup: true
clean_up: false
domain: onairtest
app:
staging: snd
branches:
only:
- dev
- staging
- qa
- production
這裏是我的特拉維斯部署的尾巴:
authenticated as [email protected]
found app snd
Generating public/private rsa key pair.
Your identification has been saved in .dpl/id_rsa.
Your public key has been saved in .dpl/id_rsa.pub.
The key fingerprint is:
1d:0f:07:49:08:90:f3:1a:2f:b7:c3:9a:c4:19:bd:c7 testing-worker-linux-4554f670-1-8413-linux-2-14078509
The key's randomart image is:
+--[ RSA 2048]----+
| .o.. oo. |
| o . .. |
| o o . |
| ... . = |
| .+. S . . |
| .oooo |
| ++..E |
| . .+. |
| o. . |
+-----------------+
dpl.3
Deploying application
warning: push.default is unset; its implicit value is changing in
Git 2.0 from 'matching' to 'simple'. To squelch this message
and maintain the current behavior after the default changes, use:
git config --global push.default matching
To squelch this message and adopt the new behavior now, use:
git config --global push.default simple
See 'git help config' and search for 'push.default' for further information.
(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode
'current' instead of 'simple' if you sometimes use older versions of Git)
Warning: Permanently added 'snd-onairtest.rhcloud.com' (RSA) to the list of known hosts.
Everything up-to-date
Done. Your build exited with 0.
我也有設置,因爲在我的openshift齒輪的SSH密鑰這是一個私人存儲庫,我可以從這些實例中訪問它。我不知道這裏發生了什麼。