Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Question regarding Imported Deployables

    Scheduled Pinned Locked Moved Support
    buildmaster
    3 Posts 2 Posters 1 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      jstarbird_7831
      last edited by

      Before I go and script this out using the API I wanted to check if there was a way to already do this.
      I need to use deployables from two different applications so I have imported them into this new app.
      What I am wondering about is that one of the imported ones has Config files that need to be deployed as well, can I just call Deploy Config from this new app and get that deployables configs or do I need to script that out using the API?

      Product: BuildMaster
      Version: 5.6.11

      1 Reply Last reply Reply Quote 0
      • benB Offline
        ben inedo-engineer
        last edited by

        Hello Jon,

        Config files are not accessible via imported deployables, but artifacts are, so you can create an artifact in the source application and then do something like this:

        Deploy-Artifact ArtifactName
        (
            To: $WorkingDirectory,
            Application: $ReferencedApplicationName(DeployableName),
            Release: $ReferencedReleaseNumber(DeployableName),
            Package: $ReferencedPackageNumber(DeployableName),
            Deployable: DeployableName
        );
        
        1 Reply Last reply Reply Quote 0
        • J Offline
          jstarbird_7831
          last edited by

          Follow up question, would the file that is in the artifact already have had the key pairs replaced when the artifact was made? And do I need to deploy the config file first and then make the artifact or will it just automatically be part of it?

          What I'm needing to accomplish is deploy it using the same way if possible without having to replicate storage of the config in different apps. So replacing the key pairs under the new app if possible.

          I know it would make more sense to make it part of the original apps but I cannot here because this is strictly on-demand deployments and we want to keep the restrictions on the pipelines requiring deployment to stages in order for the real apps.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation