Skip to content

A tool for creating installation packages to set up TSSC on restricted networks

Notifications You must be signed in to change notification settings

rhtconsulting/tssc-disconnected-installer

Repository files navigation

TSSC Disconnected Installer

This utility sets up the git repositories, container images, and application dependencies required to use TSSC in a disconnected environment.

The typical work flow is to:

  1. Outside, the disconnected environment, use the installer to create an installer package while connected to the internet. This downloads all required binaries and creates an archive.
  2. Manually copy the archive into the disconnected environment.
  3. Expand the archive
  4. Run the setup scripts.

Pre-reqs

These instructions assume that the package is created on one machine and installed from another. There different pre-reqs for the two machines.

The Machine Used to Create the Package

  1. ansible >= 2.9.12 (earlier versions may work)
  2. git >= 1.7.1
  3. Network connectivity to the upstream repositories (or mirrors).
  4. Git credentials configured for passwordless cloning of the upstream repositories.
  5. maven >= 5.7 (earlier versions may work)
  6. Network connectivity to maven central OR network connectivity and maven configuration for an enterprise repository with the required application dependencies.
  7. skopeo >= 1.1.1 (earlier versions may work)
  8. Network connectivity to quay.io. Alternatively, network connectivity and any required credentials for an enterprise container image repository with the required container images.
  9. Enough disk space to hold the unpackaged repositories, images and dependencies, and also the created package.

Open Internet access satisfies all network connectivity requirements.

The upstream repositories are: git@github.com:rhtconsulting/tssc-python-package.git git@github.com:rhtconsulting/tssc-jenkins-library.git ssh://gitea@gitea.tssc.rht-set.com:2022/tssc-references/tssc-reference-app-quarkus-rest-json.git ssh://gitea@gitea.tssc.rht-set.com:2022/tssc-references/tssc-reference-app-quarkus-rest-json-config.git

The Machine Used to Install the Package

  1. Network connectivity to the git server, container registry, and artifact repository in the disconnected environment.
  2. Ansible, git, maven and skopeo client binaries.

Other Prereqs

  1. A git server in the disconnected environment with pre-existing repositories created (e.g. organization and repos created in Gitea).
  2. A container registry in the disconnected environment (e.g. organization in Quay)
  3. An artifact repository in the disconnected environment (e.g. maven-release repository in Nexus)
  4. Credentials with permissions to push to all of the above

Installer Phases

Create Package

  1. Clone Git Repos
  2. Download Application Dependencies
  3. Download Container Images

Install Package

  1. Create Gitea Repos
  1. Initialize Gitea Repos
  2. Publish Application Dependencies
  3. Upload Container Images

About

A tool for creating installation packages to set up TSSC on restricted networks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published