Battlestar Galactica - The Movie(1978)
At some point in the distant past, the Nine Colonies (named Gemini, Caprica, Taurus, etc. as per astrological signs) are finally poised to sign a peace treaty with the Cylons, a robot civilization with whom they have fought for centuries. Commander Adama (Lorne Greene), top officer on the Battlestar Galactica, doesn't trust the Cylons to hold to the truce, and sends clandestine patrols out to search for trouble. One of these locates a vast armada of Cylon ships hidden on a nearby planet, ready to strike. The Cyclons launch their pre-planned attack on the unprepared Colonial fleet, and most of the huge Battlestars are wiped out. Only Galactica, protected by her own fighter screen (led by Richard Hatch as Apollo), and with weapons fully armed, is able to escape.
Meanwhile, the Cylon base stars are attacking the main Colonies. All major cities are destroyed, and the Cylons prepare to finish off the surviving humans. The Galactica signals for any and all ships to rally to her, taking whatever survivors they can carry. A rag-tag fleet is soon formed, and they head away to seek their fortune among the stars under the protection of the Battlestar.
Unfortunately, they are quite short on fuel, and are forced to blast a corridor through an old space minefield to reach a planet with fuel supplies. The local inhabitants (an insectoid race) agree to provide the fuel, and even offer to let the Humans rest and recreate at a fancy casino/resort they maintain. Starbuck (Dirk Bendict) grows suspicious when he does too well at the gaming tables. He checks out the lower levels of the facility, and realizes that the insectoid creatures are using humans to nourish their larval young! Also, the locals are in league with the Cylons, and soon betray their whereabouts.
Using a clever ruse, Commander Adama convinces the Cylons that his fighter pilots are actually on the surface at a banquet, while the real pilots are at full combat readiness. When the Cylon base ships arrive, his forces barely manage to repel them. The humans take their fuel and escape toward a legendary planet supposed colonized by a 10th human colonial group -- Earth.