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]  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 ..
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: ..
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 && ..
Trying to set the default charset and collation of a mysql:5.7 docker image using Bitbucket Pipelines, the documentation is a little vague mentioning: If you need to configure the underlying database engine further, refer to the official Docker Hub image for details. This page that the bitbucket documentation sends you to suggests that it is ..
I want to run a docker container in a Bitbucket pipeline. But I cannot execute any commands as it claims the docker daemon is not running. However, I did not find any way to start it. INFO Running command ‘which docker’ in ‘/opt/atlassian/pipelines/agent/build’ INFO STDOUT b’/usr/bin/dockern’ INFO STDERR b” INFO Running command ‘docker –version’ in ..
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 ..
I am trying to run the following pipeline in bitbucket pipelines for a salesforce SFRA project. It is working great until I add a couple more sites to our build setup. I have already added in the 2x and the docker memory of 7128. Are there any other ways to optimize this pipeline so it ..
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. ..
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 ..
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 ..