- AtomicHostUpgrade:
atomic host upgrade
: TODO
- BuildOrigin:
make release{,-binaries}
: TODO- install etcd: TODO
- CreateYumRepositories:
yum install deltarpm augeas
: install_dependencies.yml- update
openshift-deps.repo
with the pub mirror link: TODO, should be in Origin install step - install EPEL if not Fedora: register_repositories.yml
- BZ 707364 workaround: this was for RHEL 6, we can drop it
- YumUpdate:
- remove previous Origin repository: TODO, should be in Origin install step
yum clean all
: install_dependencies.ymlyum update --exclude=kernel*
: install_dependencies.yml- add configuation to
yum
: configure_yum.yml - update
metadata_expire
tonever
: won't implement unless convinced
- SetHostName:
- update
/etc/sysconfig/network
and/etc/hostname
: @sdodson says this is not needed
- update
- InstallOriginBaseDependencies:
vagrant
and Fedora/systemd
eth*
naming workaround: even RHEL is on sytemd219, this fix was for systemd197, we can drop ityum install
: install_dependencies.yml- install of
facter
but not on Fedora: install_dependencies.yml - install Chrome and Chromedriver: install_dependencies.yml
- install
openshift-rhel7-dependencies.repo
: register_repositories.yml - install Go: golang/tasks/main.yml
- install Docker: docker/tasks/main.yml
- install
rhaos3{1,2}.repo
: register_repositories.yml - configure system: post_install.yml
- configure Docker daemon: configure_docker_daemon.yml, configure_docker_daemon_storage.yml, configure_openshift_storage.yml
- BuildOriginBaseImages:
- shell out to a
make
task to build base images: TODO
- shell out to a
- BuildOriginImages:
- shell out to
docker build
: ????
- shell out to
- BuildOriginRPMTest:
- shell out to
tito
: TODO
- shell out to
- BuildSTI:
- shell out to a
make
task or tasks to build STI binary: TODO
- shell out to a
- CheckoutRepositories:
- given a repo name, remote location and branch, clone it and check it out: TODO
- 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
- turn off
- 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: ????
- overwrite
- ConfigValidate:
vagrant
builtin: ????
- VagrantPlugins::AWS::Action::ConnectAWS:
vagrant
builtin: ????
- CreateAMI:
- use AWS EC2 API to create an AMI: TODO
- CreateLocalYumRepo:
- install
createrepo
: TODO - create local repo pointing to RPMs: TODO
- install
- DownloadArtifactsOrigin:
- get logs from Docker and stuff using
journalctl
- build list of sources & targets, then
rsync
: TODO
- get logs from Docker and stuff using
- YumUpdate:
- see above
- SetHostName:
- see above
- InstallOrigin:
- set up the OpenShift
systemd
service and start it, etc: TODO (useopenshift-ansible
)
- set up the OpenShift
- InstallOriginRHEL7:
- build a
rhel7.2
Docker image to base everything else off of: TODO
- build a
- InstallOriginAssetDependencies:
- install & update
npm
: install_dependencies.yml - shell out to a
make
task to install and configure the console: TODO
- install & update
- 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: ????
- looking for repositories in
- ConfigValidate:
vagrant
builtin: ????
- VagrantPlugins::AWS::Action::ConnectAWS:
vagrant
builtin: ????
- ModifyAMI:
- use AWS EC2 API to add a tag to an AMI: TODO
- ConfigValidate:
vagrant
builtin: ????
- VagrantPlugins::AWS::Action::ConnectAWS:
vagrant
builtin: ????
- ModifyInstance:
- allow a user to rename, stop or terminate AWS instances: TODO
- GenerateTemplate:
- generate a template for AWS (??) to define the instance that will be spawned: TODO
- PushOpenshiftImages:
- ensure Docker daemon has registry as insecure: ????
- tag and push Docker images: TODO (using
make
from Origin?)
- PushOpenshiftRelease:
- shell out to a
make
target in Origin to push the release: TODO
- shell out to a
- PrepareSSHConfig:
- update
ssh
configuration: TODO - sync user's
.openshiftdev/home.d
files: ????
- update
- Clean:
- remove bare directories from prior clones: ????
- CloneUpstreamRepositories:
- use
git clone --bare
on each repo: TODO, but not on sync?
- use
- SyncLocalRepository:
- make some temp commits locally, push from local to VM to update VM code, then remove tmp commmits locally: TODO
- also allow a re-sync from a given branch or otherwise internet-accessible repo: TODO
- CheckoutRepositories:
- see above
- BuildOriginBaseImages:
- see above
- BuildOrigin:
- see above
- RunSystemctl:
- shell out to
systemctl
to restart the daemon: TODO
- shell out to
- PrepareSSHConfig:
- see above
- Clean:
- see above
- CloneUpstreamRepositories:
- see above
- SyncLocalRepository:
- see above
- CheckoutRepositories:
- see above
- PrepareSSHConfig:
- see above
- Clean:
- see above
- CloneUpstreamRepositories:
- see above
- SyncLocalRepository:
- see above
- CheckoutRepositories:
- see above
- InstallOriginAssetDependencies:
- see above
- PrepareSSHConfig:
- see above
- Clean:
- see above
- CloneUpstreamRepositories:
- see above
- SyncLocalRepository:
- see above
- CheckoutRepositories:
- see above
- PrepareSSHConfig:
- see above
- Clean:
- see above
- CloneUpstreamRepositories:
- see above
- SyncLocalRepository:
- see above
- CheckoutRepositories:
- see above
- BuildSTI:
- see above
- RunOriginTests:
- interpret input from the robot to invoke the correct
make
targets: TODO - shell out to the correct
make
target from user input: TODO
- interpret input from the robot to invoke the correct
- DownloadArtifactsOrigin:
- see above
- TestOriginImage:
- pull down latest
openshift/base
images and runmake
targets on them: ????
- pull down latest
- DownloadArtifactsOrigin:
- see above
- RunSTITests:
- see above
- DownloadArtifactsSTI:
- see above
- RunSystemctl:
- see above