diff --git a/agent/migrations/0.2.8::0.2.9 b/agent/migrations/0.2.8::0.2.9 new file mode 100644 index 000000000..b928005e2 --- /dev/null +++ b/agent/migrations/0.2.8::0.2.9 @@ -0,0 +1 @@ +SELECT TRUE; \ No newline at end of file diff --git a/agent/package.yaml b/agent/package.yaml index 2b738d970..c148c4cba 100644 --- a/agent/package.yaml +++ b/agent/package.yaml @@ -1,5 +1,5 @@ name: ambassador-agent -version: 0.2.8 +version: 0.2.9 default-extensions: - NoImplicitPrelude diff --git a/agent/src/Lib/Synchronizers.hs b/agent/src/Lib/Synchronizers.hs index dc9543ee4..ca490f325 100644 --- a/agent/src/Lib/Synchronizers.hs +++ b/agent/src/Lib/Synchronizers.hs @@ -96,12 +96,12 @@ parseKernelVersion = do pure $ KernelVersion (Version (major', minor', patch', 0)) arch synchronizer :: Synchronizer -synchronizer = sync_0_2_8 +synchronizer = sync_0_2_9 {-# INLINE synchronizer #-} -sync_0_2_8 :: Synchronizer -sync_0_2_8 = Synchronizer - "0.2.8" +sync_0_2_9 :: Synchronizer +sync_0_2_9 = Synchronizer + "0.2.9" [ syncCreateAgentTmp , syncCreateSshDir , syncRemoveAvahiSystemdDependency diff --git a/agent/test/Lib/External/AppManifestSpec.hs b/agent/test/Lib/External/AppManifestSpec.hs index ae6109a45..f0ac9ee50 100644 --- a/agent/test/Lib/External/AppManifestSpec.hs +++ b/agent/test/Lib/External/AppManifestSpec.hs @@ -68,10 +68,10 @@ hidden-service-version: v3 spec :: Spec spec = do - describe "parsing app manifest ports" $ do - it "should yield true for cups 0.2.3" $ do - res <- decodeThrow @IO @(AppManifest 0) cups023Manifest - uiAvailable res `shouldBe` True - it "should yield false for cups 0.2.3 Mod" $ do - res <- decodeThrow @IO @(AppManifest 0) cups023ManifestModNoUI - uiAvailable res `shouldBe` False + describe "parsing app manifest ports" $ do + it "should yield true for cups 0.2.3" $ do + res <- decodeThrow @IO @AppManifest cups023Manifest + uiAvailable res `shouldBe` True + it "should yield false for cups 0.2.3 Mod" $ do + res <- decodeThrow @IO @AppManifest cups023ManifestModNoUI + uiAvailable res `shouldBe` False