Comments
-
@Benjamin Malabanan hello! Pipeline in script block allow you to execute any bash code. I think there should be some utility that allows to execute migrations before the deploy. Looking forward to see your feedback to be able to help you. Cheers, Galyna
-
@Manoj Gehlot hello! For elasticbeanstalk depending on what you need to do, you can check out our bitbucket pipe that will help you to deploy to elasticbeanstalk environment or just update it. Check it out: https://bitbucket.org/atlassian/aws-elasticbeanstalk-deploy/src/master/README.md Contact us in the case of more…
-
@sergibarca hello! Okay, let's go in details. Am I right that you need to use an API? What exactly you want to do? You can actually defaine firstly your api as service definition (see here how to define a service in definitions block https://support.atlassian.com/bitbucket-cloud/docs/databases-and-service-containers/ )…
-
@Brad Vrabete Answering here >> Answering here >> (There are .env files inside that folder; could that be the issue? ) Only *.yml are considered in your RESOURCE_PATH. So your yamls can look like the following: --- metadata: name: redis .... --- metadata: name: mongo .... And this file is coming through validation only if…
-
@Brad Vrabete also we will discover affecting -k in the end to this along with this I said. Cheers, Galyna
-
@Brad Vrabete ah so then you define -k, but not -f. The thing is that we don't support such mutual-exclusive flags (-k -f cannot be used together) and here can be the error. This feature is in progress of gathering interest right now, thanks, you actually helped us to discover that it would be really nice to support such…
-
@Brad Vrabete discovering kubectl object configuration files, I see metadata key in all of them . Ensure that you have valid configuration file here https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/ If anyway it turns out that metadata is not required here, we will update the pipe. Or if there…
-
@Jason Harrison yes, but this depends on the task definition structure, and pipe is not forming this structure, it is passing it just as you're passing it to the pipe. You can validate your task definition first. Also please share traceback from the pipe exactly, from the trace above I don't see where exactly the pipe…
-
@Shane McNamara yeah, I see that. Thank you for reporting this. If pipelines team consider it as a bug, it will be fixed in the nearest future and your output will help to resolve issue quickly
-
@Shane McNamara also, try to split these executions into two steps, not one. BEsides that, this looks like a bug inside pipeline infra, we will report this, thank you
-
@Jeffrey Schwartz you can execute your sam build before executing the pipe. Actually, we can think within a team about the possibility to add the feature , but I don't guarantee that it will be supported, because sam-deploy pipe has already a lot of features and the purpose of the pipe to be small and simple. Another pipe…
-
@Shane McNamara can you please share full traceback when the second pipe fails without passing variables explicitly? This will help us a lot to find root cause. Regards, Galyna
-
@MasaGon hello! we have updated node js version and also firebase-tools. Please, use the latest version 0.7.0. Regards, Galyna
-
@Emilio_Villarruel_Fernández hello, you may want to use a Bibbucket api endpoint https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/pipelines_config/schedules/#post . Here you can out to the POST request body cron-like string schedule. Unfortunately, right now…
-
@Ruben Docter yes, I suppose you're right it does not have access to such dir. But I can propose you more safe solution - you can generate your own keypair in repository ssh keys and even allow bitbucket to generate that , but after you need to add authorized key to your instance. Look at the doc here and find there in the…
-
@compuscan_makhosandiles UI right now does not allow that, unfortunately, but you can post a schedule to API with any cron-like string as a cron_pattern field in the request body https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/pipelines_config/schedules/#post
-
@Andrei Dascalu you can'have two pipelines yaml, but you can write different steps. For example, you want to execute dev-test step and generally it is executed step master-test. Regarding this, there would be a pipeline that simply runs phpunit while on tags following a certain pattern there would be a docker build for an…
-
@grk684 you have this option in aws cli https://docs.aws.amazon.com/cli/latest/reference/ec2/reboot-instances.html , you can execute it as bash line just before your deploy command and then wait for some time (depending on your instance how long it takes to start)
-
@Varenya to have quicker answer related to bitbucket pipelines pipes, add to your question tags `pipes` (necessary) and `bitbucket-pipelines`. Otherwise your question will appear in common queue and we might lose it Cheers, Galyna
-
@Varenya firstly the pipe is deploying to new version that is different from current version in environment. https://bitbucket.org/atlassian/aws-elasticbeanstalk-deploy/src/0545b1d8703a8ebe471cc3bf772cd56796f0e91f/pipe/pipe.sh#lines-120 Then after this environment is green the pipe is checking that it is exactly deployed…
-
@Vipul_Panchal you can use aws s3 sync command or just use the appropriate pipe (look at https://bitbucket.org/atlassian/aws-s3-deploy/src/master/)
-
@arvind only exact version, but not latest, is supported right now in pipeline
-
@sergibarca thanks, was happy to help!
-
@diego.magalhaes if doesn't , please share full logs, we'll try to investigate
-
@diego.magalhaes try to run python setup.py install or python setup.py develop instead, before using the pipe publishing. This should install needed things. I have tested this with pytz also and with other packages and this works for our repository also where we publish package with dependencies. E.g. deploy: &deploy step:…
-
@sergibarca ah, we don't have such pipe covering this need, right now, unfortunately.. The option for you is to write Custom pipe, just as you pointed out in the first post (https://support.atlassian.com/bitbucket-cloud/docs/write-a-pipe-for-bitbucket-pipelines/) or just write any bash script that execute what you want…
-
@Maximos Sapranidis yes, you can find latest version here https://bitbucket.org/atlassian/firebase-deploy/src/0.7.0/pipe.yml . To use this, just write in pipeline code - step: name: Deploy DEV deployment: staging script: - pipe: atlassian/firebase-deploy:0.7.0 variables: FIREBASE_TOKEN: $FIREBASE_TOKEN PROJECT_ID:…
-
@Jim Richards yes, you should pay attention to push to master permissions and USer and Group Access permission in admin repository settings. And adapt this to your scm block. In logs I see it is trying to push via http, not via git, ssh protocol. Check these permissions for pushing to master or general permission and…
-
@Akash kumar yes, the deploys will be executed sequentially, if you use default way in steps. To implement this, follow the doc https://support.atlassian.com/bitbucket-cloud/docs/configure-bitbucket-pipelinesyml/ Regards, Galyna
-
@yosser.mahfoudh what do you mean by running file? as bash script? In pipeline steps you can execute any bash-like command/script . Cheers, Galyna