refactor o2-web/o2-portal to unify esp2 rebuilds