I have a node (NestJS) app dockerized, and Im configuring CI/CD with Bitbucket pipelines and AWS CodeDeploy. I would like DevOps suggestions on best practices doing this. Bitbucket Pipelines My repo has a bitbucket-pipeline.yml file with following steps: Compress Repo: It compress all the repo in a .zip Upload to S3 Deploy with CodeDeploy AWS ..
I’m trying to use the custom build output within docker to export some files in to the build environment for artifacts but even though the files seem to be outputted there’s nothing I can find in the build agent. For simplicity here’s a cutdown version of a dockerfile that uses a scratch image as the ..
Having worked with other hosted CI solutions this seems to be simple but with BitBucket it doesn’t seem to be playing ball. I’m guessing this is because the build steps are running inside a docker container and the docker CLI is just mounted into that container? However, I was wondering if there’s a way to ..
I want to deploy container group to Azure Container Instances from bitbucket pipelines. I have following bitbucket-pipelines.yml file: image: ubuntu:20.04 clone: depth: 5 options: max-time: 15 pipelines: branches: master: – step: name: Deploy to aci deployment: test script: – apt-get update – apt-get install curl -y – curl -L https://raw.githubusercontent.com/docker/compose-cli/main/scripts/install/install_linux.sh | sh – curl -sSL ..
An error occurred (UnrecognizedClientException) when calling the GetAuthorizationToken operation: The security token included in the request is invalid. I have got above error while pushing docker image to ECR from BitBucket pipeline. I have added the AWS key and secret key in BitBucket, but I am getting this error. Source: Docker..
I’m trying to build a base docker image in a bitbucket pipeline. The base docker image is built using the following dockerfile: FROM node:7-alpine RUN apk add –update docker openrc RUN rc-update add docker boot RUN mkdir /apps COPY package*.json /apps/ WORKDIR /apps RUN npm install When building the dockerfile in my Bitbucket pipeline, I ..
I have a grails app that I’m setting up an internal bitbucket-pipeline runner to test. I have everything at this point set up and working correctly, however I’m trying to optimize the pipeline by having it cache all of our plugins/dependencies (and hopefully the built app itself too in the end). I’m having problems, however, ..
This is what I’m trying to do. I have a docker image that is in a private ECR repo. This docker image is built off a base docker image that is also in a private ECR repo. I have been able to build this docker image off the base image locally, but when executing the ..
This is what I’m trying to do. I have a docker image that is in a private ECR repo. This docker image is built off a base docker image that is also in a different private ECR repo. I have been able to build this docker image off the base image locally, but when executing ..
I’ve got a NodeJS project in a Bitbucket repo, and I am struggling to understand how to use Bitbucket Pipelines to get it from there onto my DigitalOcean server, where it can be served on the web. So far I’ve got this image: node:10.15.3 pipelines: default: – parallel: – step: name: Build caches: – node ..