Skip to content

Commit

Permalink
Use hewlettpackardenterprise/core-hubot
Browse files Browse the repository at this point in the history
Use hewlettpackardenterprise/core-hubot
Docker repo instead of
jesseolsen/core-hubot
  • Loading branch information
Jesse Olsen committed Jul 27, 2017
1 parent efa517b commit 9e8b550
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -14,10 +14,10 @@ jobs:
- stage: build docker image
script:
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- docker build -f Dockerfile-core -t docker.io/jesseolsen/core-hubot:latest .
- docker build -f Dockerfile-core -t docker.io/hewlettpackardenterprise/core-hubot:latest .
- docker images
- docker tag jesseolsen/core-hubot docker.io/jesseolsen/core-hubot:latest
- docker push docker.io/jesseolsen/core-hubot:latest
- docker tag hewlettpackardenterprise/core-hubot docker.io/hewlettpackardenterprise/core-hubot:latest
- docker push docker.io/hewlettpackardenterprise/core-hubot:latest
- docker build -t docker.io/hewlettpackardenterprise/hpe-oneview-hubot:latest .
- docker images
- docker tag hewlettpackardenterprise/hpe-oneview-hubot docker.io/hewlettpackardenterprise/hpe-oneview-hubot:latest
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
@@ -1,7 +1,7 @@
# Docker best practices/commands:
# https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/

FROM jesseolsen/core-hubot:latest
FROM hewlettpackardenterprise/core-hubot:latest

ARG http_proxy
ARG https_proxy
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-core
Expand Up @@ -60,7 +60,7 @@ RUN npm config set http-proxy $http_proxy
RUN npm config set https-proxy $http_proxy


RUN echo "n" | yo hubot --defaults --name="jesse-bot" --adapter=slack
RUN echo "n" | yo hubot --defaults --name="bot" --adapter=slack

###############################################################################
USER root
Expand Down
2 changes: 1 addition & 1 deletion core_docker_build.sh
@@ -1,2 +1,2 @@
#!/bin/bash
docker build -f Dockerfile-core --build-arg=http_proxy=$http_proxy --build-arg=https_proxy=$https_proxy -t docker.io/jesseolsen/core-hubot:latest .
docker build -f Dockerfile-core --build-arg=http_proxy=$http_proxy --build-arg=https_proxy=$https_proxy -t docker.io/hewlettpackardenterprise/core-hubot:latest .
2 changes: 1 addition & 1 deletion core_docker_pull.sh
@@ -1,2 +1,2 @@
#!/bin/bash
docker pull jesseolsen/core-hubot
docker pull hewlettpackardenterprise/core-hubot
4 changes: 2 additions & 2 deletions core_docker_push.sh
@@ -1,3 +1,3 @@
#!/bin/bash
docker tag jesseolsen/core-hubot docker.io/jesseolsen/core-hubot:latest
docker push docker.io/jesseolsen/core-hubot:latest
docker tag hewlettpackardenterprise/core-hubot docker.io/hewlettpackardenterprise/core-hubot:latest
docker push docker.io/hewlettpackardenterprise/core-hubot:latest
2 changes: 1 addition & 1 deletion docker_run.sh
Expand Up @@ -39,6 +39,6 @@ fi
echo "Copying files... First run may take a minute or two..."
cp ./hubot/oneview-configuration.json $STARTDIR/local-configuration.json
cd $STARTDIR
docker run -it --rm -e "PARMS=$*" -e HUBOT_HIPCHAT_JID=$HUBOT_HIPCHAT_JID -e HUBOT_HIPCHAT_PASSWORD=$HUBOT_HIPCHAT_PASSWORD -e HUBOT_HIPCHAT_ROOMS=$HUBOT_HIPCHAT_ROOMS -e HUBOT_HIPCHAT_XMPP_DOMAIN=$HUBOT_HIPCHAT_XMPP_DOMAIN -e HUBOT_NAME=$HUBOT_NAME -e "HUBOT_SLACK_TOKEN=$HUBOT_SLACK_TOKEN" -e "no_proxy=$no_proxy" -v $(pwd):/home/docker/hpe-oneview-hubot docker.io/jesseolsen/hpe-oneview-hubot:latest
docker run -it --rm -e "PARMS=$*" -e HUBOT_HIPCHAT_JID=$HUBOT_HIPCHAT_JID -e HUBOT_HIPCHAT_PASSWORD=$HUBOT_HIPCHAT_PASSWORD -e HUBOT_HIPCHAT_ROOMS=$HUBOT_HIPCHAT_ROOMS -e HUBOT_HIPCHAT_XMPP_DOMAIN=$HUBOT_HIPCHAT_XMPP_DOMAIN -e HUBOT_NAME=$HUBOT_NAME -e "HUBOT_SLACK_TOKEN=$HUBOT_SLACK_TOKEN" -e "no_proxy=$no_proxy" -v $(pwd):/home/docker/hpe-oneview-hubot docker.io/hewlettpackardenterprise/hpe-oneview-hubot:latest

rm ./local-configuration.json

0 comments on commit 9e8b550

Please sign in to comment.