Skip to content

Latest commit

 

History

History
269 lines (232 loc) · 18.1 KB

migration_details.md

File metadata and controls

269 lines (232 loc) · 18.1 KB

vagrant-openshift Feature Migration Details

vagrant-openshift Features By Command

build-atomic-host

build-origin

  • BuildOrigin:
    • make release{,-binaries}: TODO
    • install etcd: TODO

build-origin-base

build-origin-base-images

build-origin-images

build-origin-rpm-test

build-sti

  • BuildSTI:
    • shell out to a make task or tasks to build STI binary: TODO

checkout-repositories

  • CheckoutRepositories:
    • given a repo name, remote location and branch, clone it and check it out: TODO

clone-upstream-repositories

  • CloneUpstreamRepositories:
    • turn off StrictHostKeyChecking so we don't get interactive prompts from GitHub: TODO
    • for each repo, git clone --bare: TODO
    • make sure the user calling this owns the repo: TODO

create-ami

  • CleanNetworkSetup:
    • overwrite /etc/udev/rules.d/70-persistent-net.rules: ???? (maybe, see if ansible AMI stuff can do it for us)
    • remove the mlocate database: ????
  • ConfigValidate:
    • vagrant builtin: ????
  • VagrantPlugins::AWS::Action::ConnectAWS:
    • vagrant builtin: ????
  • CreateAMI:
    • use AWS EC2 API to create an AMI: TODO

create-local-yum-repo

download-artifacts-origin

  • DownloadArtifactsOrigin:
    • get logs from Docker and stuff using journalctl
    • build list of sources & targets, then rsync: TODO

download-artifacts-origin-aggregated-logging

download-artifacts-origin-console

download-artifacts-origin-metrics

download-artifacts-sti

install-origin

install-origin-assets-base

local-origin-checkout

  • LocalOriginCheckout:
    • looking for repositories in $GOPATH: TODO (???? - many repos don't use Go)
    • if repo is cloned, check out the given branch: TODO
    • clone repo if necessary: ????

modify-ami

  • ConfigValidate:
    • vagrant builtin: ????
  • VagrantPlugins::AWS::Action::ConnectAWS:
    • vagrant builtin: ????
  • ModifyAMI:
    • use AWS EC2 API to add a tag to an AMI: TODO

modify-instance

  • ConfigValidate:
    • vagrant builtin: ????
  • VagrantPlugins::AWS::Action::ConnectAWS:
    • vagrant builtin: ????
  • ModifyInstance:
    • allow a user to rename, stop or terminate AWS instances: TODO

origin-init

  • GenerateTemplate:
    • generate a template for AWS (??) to define the instance that will be spawned: TODO

push-openshift-images

  • PushOpenshiftImages:
    • ensure Docker daemon has registry as insecure: ????
    • tag and push Docker images: TODO (using make from Origin?)

push-openshift-release

sync-origin

sync-origin-aggregated-logging

sync-origin-console

sync-origin-metrics

sync-sti

test-origin

test-origin-aggregated-logging

test-origin-console

test-origin-image

test-origin-metrics

test-origin-sti

try-restart-origin