Category : travis-ci

As in title, Travis does not want to push docker image to docker hub after successfully test passing? What is wrong? I have already set env variabales DOCKER_PASSWORD and DOCKER_USERNAME. Any ideas? language: python sudo: required services: – docker script: – docker-compose run web python manage.py test after_success: – echo "$DOCKER_PASSWORD" | docker login -u ..

Read more

FROM node:alpine WORKDIR ‘/app’ COPY ./package.json ./ RUN npm install COPY . . EXPOSE 80 CMD ["npm", "run", "start"] "above is docker file" "below is travis-ci code" language: generic sudo: required services: – docker Build testing container before_install: – docker build -t brijesh -f Dockerfile.dev . Run Tests script: – docker run -e CI=true -p ..

Read more

I’m running a travis script as follows: 1 sudo: required 1 language: clojure 2 services: 3 – docker 4 env: 5 global: 6 – SHA=$(git rev-parse HEAD) 7 – CLOUDSDK_CORE_DISABLE_PROMPTS=1 8 before_install: 9 – openssl aes-256-cbc -K $encrypted_9f3b5599b056_key -iv $encrypted_9f3b55 99b056_iv -in service-account.json.enc -out service-account.json -d 10 – curl https://sdk.cloud.google.com | bash > /dev/null; 11 ..

Read more

I am getting the below error while deploying to aws elastic beanstalk from travis CI. Service:AmazonECS, Code:ClientException, Message:Container list cannot be empty., Class:com.amazonaws.services.ecs.model.ClientException .travis.yml: sudo: required language: generic services: – docker before_install: – docker build -t sathishpskdocker/react-test -f ./client/Dockerfile.dev ./client script: – docker run -e CI=true sathishpskdocker/react-test npm test after_success: – docker build -t sathishpskdocker/multi-client ..

Read more