Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ internal static class PostaContainerImageTags
/// <remarks>jkaninda/posta</remarks>
public const string Image = "jkaninda/posta";

/// <remarks>0.13.1</remarks>
public const string Tag = "0.13.1";
/// <remarks>0.15.0</remarks>
public const string Tag = "0.15.0";
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ public class ListTemplatesResponseDataItem
[JsonPropertyName("id")]
public int? Id { get; set; }

/// <summary>Gets or sets the languages available in the active template version.</summary>
[JsonPropertyName("languages")]
public IReadOnlyList<string>? Languages { get; set; }

/// <summary>Gets or sets <c>last_edited_by</c>.</summary>
[JsonPropertyName("last_edited_by")]
public ListTemplatesResponseDataItemLastEditedBy? LastEditedBy { get; set; }
Expand Down Expand Up @@ -61,4 +65,4 @@ public class ListTemplatesResponseDataItem
[JsonPropertyName("workspace_id")]
public int? WorkspaceId { get; set; }

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public void AddPostaSetsContainerDetailsOnResource()

Assert.Equal("posta", resource.Name);
Assert.True(resource.TryGetLastAnnotation(out ContainerImageAnnotation? imageAnnotations));
Assert.Equal("0.13.1", imageAnnotations.Tag);
Assert.Equal("0.15.0", imageAnnotations.Tag);
Assert.Equal(PostaContainerImageTags.Tag, imageAnnotations.Tag);
Assert.NotEqual("latest", imageAnnotations.Tag);
Assert.Equal(PostaContainerImageTags.Image, imageAnnotations.Image);
Expand Down
Loading