PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, September 27, 2022

[FIXED] How to get bamboo use different config file on deployment depending on environment

 September 27, 2022     bamboo, config-transformation, continuous-deployment, deployment     No comments   

Issue

I have different config files for each different deployment environments I have. Dev, QA and live are those environments. How do i get bamboo to use the right config file for each environment when deploying?

So when deploying the dev environment bamboo use the dev config file and change name on it and put it on the right place.

I assume that artifacts can fix this? But how?


Solution

I solved it. I simply used artifacts and pointed directly to the file. Then in deploy i made a ps script for deploying the right artifact to the right deployment environment. I also made the file changing depending on environment so i don't need separately config files. Just hit me up if you are having the same problem, Atlassian documentation on this is terrible.



Answered By - P.Brymér
Answer Checked By - Gilberto Lyons (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing