Category : bitbucket

I was trying to build my laravel project via butbucket pipelines. I get an error message when i try to run php artisan migrate command. The error message is as follows. SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known my environment file is as follows. DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=***** DB_USERNAME=***** DB_PASSWORD=***** My bitbucket-pipelines.yml ..

Read more

I created a Bitbucket pipeline and trying yo deploy a basic pod to Azure AKS. bitbucket-pipelines.yml is below; image: atlassian/default-image:2 options: docker: true pipelines: default: – step: name: Docker login caches: – docker script: – docker login -u $DOCKERHUB_USER -p $DOCKERHUB_PASSWORD – step: name: "Deploy to PROD" deployment: production script: – pipe: microsoft/azure-aks-deploy:1.0.0 variables: AZURE_APP_ID: ..

Read more

I have installed a node module from BitBucket. It is my package.json "dependencies": { "some-module": "git+https://bitbucket.org/some-module.git" } However, when I build the Docker image with this Dockerfile, FROM node:14.4.0 WORKDIR /usr/src/app COPY ./package*.json ./ RUN npm install COPY ./ . I am failed to build because I have not provided the git credentials when building ..

Read more

We have project on bitbucket jb_common with address bitbucket.org/company/jb_common I’m trying to run a container that will requareq package from another private repo bitbucket.org/company/jb_utils Dockerfile: FROM golang # create a working directory WORKDIR /app # add source code COPY . . ### ADD ssh keys for bitbucket ARG ssh_prv_key ARG ssh_pub_key RUN apt-get update && ..

Read more

hy folks i using artifactory without proxy . When I run my pipeline from Bitbucket everything runs fine until it has to push the container to Jfrog in bitbucket i’ve only this information b3364fba5ee6: Retrying in 7 seconds However when i go to Jfrog Artifactory and watch the log consol.log : [http-nio-8081-exec-5] – Unsupported docker ..

Read more

I know this is could be a stupid question, but I’m really get stuck. I want to use this image in my Bitbucket pipeline: https://hub.docker.com/r/tafilz/xamarin-android . In bitbucket-pipelines.yml I wrote: image: "hub.docker.com/r/tafilz/xamarin-android" When I run the pipeline, I get the next error: rpc error: code = NotFound desc = failed to pull and unpack image ..

Read more