Ottoman Empire fought the WWI on the same side with Germany and ended up signing the Mondros Cease-fire Treaty on 30 October 1918 with the Allied .