Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • FlexDeploy is installed on each isolated environment, and plugins are also installed as part of installation.

  • All FlexDeploy installations participating in isolated network architecture must be at the same version. At times, even minor releases also introduce database changes, so strict version match is required.

  • Source server is where builds will be executed. There will be only one such source server, but there can be one or more such target server. Target server is where builds will be imported and deployments will be executed. There can be one or more such

  • Builds are executed on source server and are imported to target server(s). Builds can not be performed on target server.

  • Environments, Target Groups, Projects etc. will be configured on the source server. Configuration export will be done for import to target server.

  • Topology Target properties and Endpoints will be managed individually on each target

    • Target Groups and Environments must be configured on the source server and imported to any target servers.

    • Environments and Property Sets must also be assigned to Target Groups on the source server and imported to target server.

    • Endpoints can be created and assigned to Targets on the target server. Also, property values can be edited for Targets on the target server.

  • Projects

    • Projects can not be created or configured on the target server. Projects can only run builds on the source server, which can then be imported to the target server where they can be deployed and tested.

    • Project and folder security is managed separately on source and target servers.

  • Release

    • Releases and Snapshots can be created on the target server. However, since build can not be performed on Projects on the target server, these can only be created with existing project versions.

  • Pipeline

    • Pipeline must be created on target server as it will handle deployments to different endpoints than source server. Note that source server may be deploying to zero or more environments depending on isolation requirements.

  • Integrations

    • Integration Providers can not be created on the target server and will be imported from the source server. Integration Instances can be created on the target server.

  • Security

    • All users, groups, and permissions are managed separately on source and target servers.

  • Workflows cannot be configured on target server, hence must be imported from source server.

Configuration

The following assumes that you have upgraded to use setenvoverride.sh (or setenvoverride.bat) files. If you are still using setenv.sh, then changes will be slightly different. Configurations shown below must be performed in addition to following the installation document or automated installation process.

...

Code Block
languagebash
FLEXAGON_FD_JAVA_ARGS="-Dflexagon.fd.isolatednw.targetserver=true"
Tip

Internal key blocks will be set to start on very large number on target servers, this is done to avoid key collisions as various configuration and build data is imported from source to target server. For this reason, FlexDeploy must be started as target server and it can not be configured as target server once it has been utilized.

Execution

  • Make sure to configure source environment for Projects, Environments, Target Groups etc. Additionally, map Environments with Target Groups, making sure to include isolated environments managed by target servers only.

  • Perform configuration export from source server and import onto target as and when necessary. This export can be done from Administration - Admin Operations page.

  • Builds can be exported individually from each workflow execution page or as a group from Release Snapshots page.

  • All export files (configuration, build, snapshot etc.) should be placed in fdexports sub-folder on server working directory on target server. Files will be automatically imported and deleted on successful import.

  • If you are working with snapshot export and the release does not yet exist on the target server, then the release will be created with the status set to Not Started. This means that snapshot is only partially imported. You must associate a pipeline to that release and then start it. Snapshot import will complete after that automatically.

...

FlexDeploy configurations can be exported which includes the environments, target groups, workflows, and projects of the server. The user must have administrator privileges to download the server configuration. To do this, go to the Administration → Admin Operations screen and change the operation name to Export Configurations, then click the Create Export button that appears.

...

Info

The configuration export may take some time depending on the amount of data on the server.

...

Tip

Test automation, triggers, and tags will not be included with project exports and they cannot be reconfigured on the target server. Test and scan results will be exported if they are associated with a build execution, meaning test, utility, and deploy executions will not be exported. Additionally, credentials are not exported, meaning all cloud accounts and source control management passwords associated with a project will have to be reconfigured on the target server. Project packages and artifacts will only be exported with a build containing the package (see Export Builds) or with a snapshot of a release containing the project and its packages.

...

Snapshots can be exported from any release assuming that they were initiated successfully (blue star) Initiated. To do this, go navigate to the Releases screen and click on the name of a release from the folder content.

...

From here, click on the View Snapshots button.

...

Then go to the Execution tab, click on the name actions menu of a snapshot that was (blue star) Initiated.

...

Lastly, and then click the Download Archive button in the top right corner to export the snapshot.

...

...

Info

The snapshot export may take some time depending on the amount of data on the server.

...

Note

Note that the project configuration must also exist on the target server in order for the import to be successful. See Export Configurations.

Import on Target Server

First make sure you are connected to a target server. Then you must take an export and put it inside of your fdexports folder. This may be <flexdeploy_home>/application/fdexports depending on how FlexDeploy was installed. To do this, you may use any file transfer tool or method available and approved by your network and security teams.

...

If FlexDeploy is running, it will automatically start the import process shortly and delete the zip file from your fdexports folder once import is completed. This may take a few minutes to get started. This same process can be done with exported builds, snapshots, or configurations. It can also do multiple different export types at once, but it may take a bit longer. Snapshots and configurations will work on an empty or full server, but an exported build may need configurations or snapshots to be imported first, as it needs an associated project to import into. Snapshots and configurations may take a long time to import

Snapshots and configurations import may take longer, but builds should be imported fairly quick.

Configurations can be imported many times as configurations change on source server. Import process will handle the import with necessary create, update, delete.

...

Note

When a new plugin is installed on your source server, make sure to also install it on your target server prior to importing.

Snapshots will not import if there isn’t a pipeline associated with the release on the target server. To solve this problem, go to the releases page and click on the release’s id. Add release. In the top left below the releases name, hover over the pipeline symbol and click on the edit pencil, lastly select a pipeline and start click the releasecheckbox to save. Then the snapshot will finish importing automatically. For more information on associating a pipeline with a release, see the pipeline and release documentation.

Target Server Assumptions

...

Topology: Target Groups and Environments must be configured on the source server and imported to any target servers. Environments, Workflows, and Property Sets must also be assigned to Target Groups on the source server. Environments can not be mapped or unmapped from Target Groups on the target server. Endpoints can be created and assigned to Targets on the target server. Also, property values can be edited for Targets on the target server.

...

Projects: Projects can not be created or configured on the target server. Projects can only run builds on the source server, which can then be imported to the target server where they can be deployed and tested. The only editing that can be done to Projects on the target server is adding group permissions on a project or folder.

...

Release: Releases and Snapshots can be created on the target server. However, since build can not be performed on Projects on the target server, these can only be created with existing project versions.

...

Integrations: Integration Providers can not be created on the target server and will be imported from the source server. Integration Instances can be created on the target server.

...

.