continuous-delivery | Continuous deployment examples using Puppet | Continuous Deployment library
kandi X-RAY | continuous-delivery Summary
kandi X-RAY | continuous-delivery Summary
Examples of setting up a continuous delivery process using Maven, Tomcat, Docker, Puppet, Vagrant, Jenkins, Cucumber, Beaker and other helpful tools for my talks. Evolved through the different talks, unsing latest tools. Continuous Integration, with Apache Continuum or Jenkins, can be extended to fully manage deployments and production environments, running in Tomcat for instance, in a full Continuous Delivery cycle using infrastructure-as-code tools like Puppet, allowing to manage multiple servers and their configurations.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of continuous-delivery
continuous-delivery Key Features
continuous-delivery Examples and Code Snippets
Community Discussions
Trending Discussions on continuous-delivery
QUESTION
I have a repository in GitLab (Lambda Functions) and want to work with the AWS CDK pipeline (https://aws.amazon.com/blogs/developer/cdk-pipelines-continuous-delivery-for-aws-cdk-applications) to develop CI/CD pipeline. In AWS CDK docs there is nowhere mention about Gitlab. Will really appreciate it if someone can confirm this.
...ANSWER
Answered 2021-May-27 at 17:01Only Bitbucket, GitHub, GitHub Enterprise Server actions are supported natively with codepipelines at the moment. You will need a custom lambda for gitlab. https://aws.amazon.com/quickstart/architecture/git-to-s3-using-webhooks/ can help you with that.
You can use s3 source actions after implementing up git to s3 logic
QUESTION
I'm using Azure pipelines to set a version number using GitVersion. Here is the pipeline:
...ANSWER
Answered 2021-Mar-02 at 08:52It seems the FullSemVer is affected: 0.8.0+11
When I use the ContinuousDelivery mode
, I could get the same result.
You could try to use the mainline mode
in yml file.
Here is my example: You could try to remove the next-version
parameter
QUESTION
I've been experimenting with using the new AWS CDK pipelines construct (https://docs.aws.amazon.com/cdk/api/latest/docs/pipelines-readme.html), and have successfully setup a couple of projects, including following the blog post announcement here: https://aws.amazon.com/blogs/developer/cdk-pipelines-continuous-delivery-for-aws-cdk-applications/.
However, as soon as I try to add a dependency to my lambdas the build fails with a
lib/lambda/handler.ts(2,24): error TS2307: Cannot find module 'stripe' or its corresponding type declarations.
I have installed a package.json file and the node_modules in the directory with the lambdas, tried zipping the lambdas and node_modules, tried uploading the zip file with the console, and tried getting the 'buildCommand' during the 'synthAction' step to install the dependencies. Nothing works.
The asset appears to get created in the cdk.out directory, and code changes are being uploaded, but node_modules themselves never get packaged along with the lambda functions.
I am using the 'SimpleSynthAction.standardNpmSynth' action, along with an 'npm run build' command in the 'buildCommand' step.
I've looked at Lambda can't find modules from outer folders when deployed with CDK, How to install dependencies of lambda functions upon cdk build with AWS CDK and https://github.com/aws-samples/aws-cdk-examples/issues/110#issuecomment-550506116 without luck.
What am I missing?
...ANSWER
Answered 2020-Oct-30 at 13:14Looks like the issue has to do with bundling. I abandoned the 'all-in on CDK approach' and went back to using a SAM/CDK hybrid, but this new blog post suggests bundling is the answer.
https://aws.amazon.com/blogs/devops/building-apps-with-aws-cdk/
Specifically, it references this construct, which likely would have helped in my situation: https://docs.aws.amazon.com/cdk/api/latest/docs/aws-lambda-nodejs-readme.html
Something to try in future.
QUESTION
I have deployed the docker image of my spring boot application over aws ECR, following creation of AWS fargate cluster. PFA screenshots of the configurations stating task, security, service and cluster definition.I can ping my public ip successfully. But I can't access my application over neither load balancer nor public ip. The urls I tried to access application were
public_ip:8081/my_rest_end_point
and
load_balancer_public_dns:8081/my_reset_end_point
I have tested running my docker image on local host using port 8081 and the same 8081 port I have configured for port mapping in my Fargate container configuration (reference: service definition). How can I access my application? I have followed almost all the articles over Medium and AWS.
Tutorials followed: https://medium.com/underscoretec/deploy-your-own-custom-docker-image-on-amazon-ecs-b1584e62484
...ANSWER
Answered 2020-Aug-12 at 05:17Based on the comments and chat discussion.
The tutorial followed creates a custom VPC with CIDR range of 10.0.0.0/16
with two subnets. There is no internet gateway (IGW); and subsequently, the Fargate tasks launched in the VPC have no internet access nor they can't be accessed from the internet.
There are two solutions to this problem:
- use the default VPC which correctly provides internet access
- create a custom VPC (or modify existing) that is setup with IGW and the corresponding route tables. An example of a custom VPC with internet access is in AWS docs.
QUESTION
I am attempting to follow this example of setting up an AWS Pipeline for use across multiple accounts. I have the four different accounts set up. I've followed through on each step of the process successfully. No commands are generating any errors. The pipeline completes successfully. I can then connect to the pipeline and commit my code changes. In short, every single step up to the final one works as written in the documentation.
However, I'm then presented with an error on the initial trigger of the code commit:
Insufficient permissions The service role or action role doesn’t have the permissions required to access the AWS CodeCommit repository named dbmigration. Update the IAM role permissions, and then try again. Error: User: arn:aws:sts::12345678912:assumed-role/my-pipeline-CodePipelineRole-1UPXOXOXO1WD0H/987654321 is not authorized to perform: codecommit:UploadArchive on resource: arn:aws:codecommit:us-east-2:123456789:dbmigration
The AWS Account I used to create the pipeline is not the root account, but an IAM Administrator login with admin privileges across the account. I've tried adding AWSCodeCommitFullAccess and AWSCodePipelineFullAccess, which I would have thought would have been part of Administration anyway. However, that didn't change anything.
My assumption is I've done something horribly wrong, but I'm not able to identify what that is. Any suggestions for better troubleshooting, let alone suggestions on how to fix it would be most welcome.
The code used to create the pipeline, again, run using the IAM login, Administrator, from a fourth AWS account, is as follows:
...ANSWER
Answered 2020-Jul-16 at 12:08Based on the comments.
The error message indicated that the role my-pipeline-CodePipelineRole-1UPXOXOXO1WD0H/987654321
was missing permission codecommit:UploadArchive
which:
Grants permission to the service role for AWS CodePipeline to upload repository changes into a pipeline
The solution was to add the codecommit:UploadArchive
to the role as an inline policy.
QUESTION
I am trying to figure out the simple Mainline developement mode.
My observation is the following.
- Each direct commit on the master branch is incrementing the patch version.
- When I create a feature branch, and then when I make commits on this feature branch, the patch is not increasing. I am wondering why? Only the PreReleaseTag is increasing. Example featureBranchName.1, featureBranchName.2 and so on for each commit. Patch does not change.
Why does not the patch version increase when commits are made to feature branch? Does a feature branch always imply a prerelease?
Is there a way to increase the patch on commits to feature branch?
My GitVersion.yml file is below. The -diag output follows, if that helps.
...ANSWER
Answered 2020-Mar-10 at 14:02You didn't set a mode
for your feature
branch configuration, so it is inheriting the global configuration of Mainline
. In Mainline
delivery mode, versioning is calculated based on merges to the branch (usually, Mainline is only used for the master
branch).
Try setting mode: ContinuousDeployment
to achieve the desired result.
QUESTION
I'm getting stuck on overriding multiple parameters within a CloudFormation that is passing them to CodePipeline.
I can successful override a single parameter like this:
...ANSWER
Answered 2020-Feb-28 at 03:51When dealing with embedded JSON in your YAML, the folded (>
) or literal (|
) block style, rather than a quoted string, will increase clarity. So something like:
QUESTION
I am trying to pull all the video link reference from the web page along with video names, i have tried below code.
...ANSWER
Answered 2020-Feb-15 at 05:00If you want the href
from all anchors then you can use a css select 'a[href]'
which will only find anchor tags that have href
attributes:
You indeed tweak a little bit as follows,
QUESTION
when I try to deploy application in Kubernetes using images in my private Docker registry on same server (master node), I receive following error:
Failed to pull image "0.0.0.0:5000/continuous-delivery-tutorial:5ec98331a69ec5e6f818583d4506d361ff4de89b-2020-02-12-14-37-03": rpc error: code = Unknown desc = Error response from daemon: Get https://0.0.0.0:5000/v2/: http: server gave HTTP response to HTTPS client
When I print docker system info
I can see there is my registry as insecure registry:
I run my registry by following command:
...ANSWER
Answered 2020-Feb-12 at 14:16you need to add your hostname to the list of allowed insecure registries in /etc/docker/daemon.json
. for example:
QUESTION
In the classic release pipeline it was possible to add other pipelines as Artifact resources - these could be triggers, or just references. You could then reference information about them, e.g. the build id using $(Release.Artifacts.ARTIFACTNAME.BuildId)
.
You can now do something similar in a multi-stage yaml pipeline:
...ANSWER
Answered 2019-Nov-08 at 06:10It seems the referenced resources' information can not be fetched directly. A workaround is using powershell task calling Restful Api to get those information. Please refer to below:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install continuous-delivery
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page