Linette Atlassian Team

Comments

  • Yeah, a direct mac or linux terminal will not quite behave in the same way as a docker container, which is why we recommend when testing locally you use docker (https://confluence.atlassian.com/x/IQr3MQ) and how about my second question: And does it not work at all? or is your api_token_placeholder replaced with the…
  • Ooohh... mysterious! It does sound like something odd is happening with the sed command itself. Ooooor, it might also be something odd happening with quoting elsewhere in your script having a knock on effect. Maybe try: *fingers crossed* - sed -i 's/api_token_placeholder/'"$PROD_API_KEY"'/g' backend/file.xml Note that I've…
  • Ack, no, that's not it, I just tested in my own pipeline, and the variables replaced fine in my repo, that said it might depend on which docker image you are using. So first, I'd probably recommend troubleshooting by testing your image and command locally (remember to use -e "PROD_API_KEY=123" to your docker run command if…
  • You might need to escape the variable name with {} (see https://stackoverflow.com/questions/17477890/expand-variables-in-sed) I can’t test that at the mo (replying on a phone) but figured a quicker answer might be of assistance rather till I have my setup in front of me ;) 
  • Hi @Bryan Copeland, did you get a chance to try this out in the end?
  • Welcome!! 🙌
    in Hello Comment by Linette June 2018
  • Hi Emil, In regards to the last part of your question, the caches only update approximately every 7 days. There is a feature request to get them to update when there is a difference detected here: https://bitbucket.org/site/master/issues/16314/smarter-cache-invalidation it's not a priority at the moment, but if you vote…
  • Showing my UK roots, I'd have a chip butty: Warm from the oven, thick fluffy slices of bread. Lashings of melting butter. Thick cut chips, the slightly waxy kind of potato, rather than the floury kind. Salt, pepper. One round would have Worcester sauce, the way I traditionally had them. The second round would have some…
  • Hi @Bryan Copeland, I'm the new writer for Bitbucket Pipelines and I hope I can help here! Firstly know that we are looking into this, both to improve the feature, and the documentation. We appreciate this can be a pain point. :( So, on to an explanation: There are 3 places you can enter an SSH key into the system, and how…
  • Hi Ragnar, Glad Matt was able to help you out! (for context, I'm the new writer for Bitbucket Pipelines) Whilst we do have some examples which incidentally have some basic code in, in our configure bibucket-pipelines.yml page we really don't have anything that makes the whole journey obvious with real world type examples,…
  • Hi Daniel! First of all, welcome! Git and Bitbucket can seem confusing at first, but don't worry, it gets easier. It seems like there are a few questions here, so I'll try and point you in the right direction. So, the first thing I notice about your pipelines config there is that the indentation is messed up. Maybe that's…
  • Hi Gustavo, That page is the single source of truth for our IP address, we generally recommend using the 'watch' feature on the page to know as soon as we've updated it. What can catch people out is that Bitbucket also uses Amazon's CloudFront CDN to deliver static content. The IP address ranges used by CloudFront edge…
  • Oh! That board is a thing of beauty @Devon Henderson!!
  • Hi there, Looks like you have a few too many " & "'s in there. I set my USERNAME environment variable to Atlassian. With this pipeline pipelines: default: - step: script: - echo $USERNAME - echo '$USERNAME' Note: when you type this in, it may try and suggest other environment variables. Don't worry and just keep typing the…
  • I love these boards, thanks so much for sharing them @Devon Henderson. As a GTD and fountain pen fan, I am delighted! I must confess I'd not even thought about getting a grey ink, but you've set my mind racing! My next planned purchase was going to be brown (Robert Oster Caffe Crema to be precise) but I'm having second…