Category : bitbucket-pipelines

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

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

In my pipelines yml file, I specify a custom image to use from my AWS ECR repository. When the pipeline runs, the "Build setup" logs suggests that the image was pulled in and used without issue: Images used: build : 123456789.dkr.ecr.ca-central-1.amazonaws.com/[email protected]:346c49ea675d8a0469ae1ddb0b21155ce35538855e07a4541a0de0d286fe4e80 I had worked through some issues locally relating to having my Cypress E2E test ..

Read more

my repo on Bitbucket looks that: Project |-dir1 |-dir2 |-docker_apps |-app1_dir |-some_data1 |-source_code1 |-dockerfile |-app2_dir |-some_data2 |-source_code2 |-dockerfile |-app3_dir |-some_data3 |-source_code3 |-dockerfile |-dir4 |-tests |bitbucket-pipelines What I can reach? Someone developing for example app3_dir Push it on bitbucket and pull request While merged I need some mechanism building and pushing docker image to AWS ECR. ..

Read more

I’m learning how to use Jenkins and working on configuring a Jenkins file instead of the build using the Jenkins UI. The source code management step for building from Bitbucket: The build step for building a Docker container: The build is of type multi configuration project: Reading the Jenkins file documentation at https://www.jenkins.io/doc/book/pipeline/jenkinsfile/index.html and creating ..

Read more

I am trying to add a production environment in AWS using bitbucket: First I have created a new repository in Bitbucket and committed all code to this repository. After that I have created a new code build in AWS and linked that to the bitbucket repository and started the build process, but it fails every ..

Read more