Skip to content

Commit e65598f

Browse files
authored
Merge pull request #1114 from jmpsec/prepare-0.6.1
Prepare for release 0.6.1
2 parents 7b80e7a + 8bf18f6 commit e65598f

7 files changed

Lines changed: 28 additions & 28 deletions

File tree

‎.env.example‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
OSCTRL_VERSION=0.6.0
1+
OSCTRL_VERSION=0.6.1
22
OSQUERY_VERSION=5.24.0
33
NGINX_VERSION=1.31.0-alpine
44
POSTGRES_VERSION=13.5-alpine

‎cmd/api/main.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1664,7 +1664,7 @@ func initializeLoggers(cfg config.YAMLConfigurationService) {
16641664
}
16651665

16661666
// @title osctrl API
1667-
// @version 0.6.0
1667+
// @version 0.6.1
16681668
// @description API service for osctrl, a fast and efficient osquery management solution.
16691669
// @termsOfService https://github.com/jmpsec/osctrl
16701670
// @contact.name osctrl

‎frontend/package-lock.json‎

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎frontend/src/features/health/HealthPage.test.tsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function makeStatus(overrides: Partial<HealthStatus> = {}): HealthStatus {
2828
{ id: 'tls', name: 'osctrl-tls', status: 'stale', summary: 'last reported 4m0s ago' },
2929
{ id: 'workers', name: 'Workers', status: 'degraded', summary: 'alerts worker dropped 12 hits' },
3030
],
31-
upgrade: { current: '0.5.8', suggested: '0.5.8', latest: '0.6.0', up_to_date: true, checked: true, skew: false },
31+
upgrade: { current: '0.5.8', suggested: '0.5.8', latest: '0.6.1', up_to_date: true, checked: true, skew: false },
3232
...overrides,
3333
};
3434
}
@@ -156,13 +156,13 @@ describe('HealthPage', () => {
156156

157157
it('shows upgrade status and hides the skew row when versions agree', async () => {
158158
renderPage();
159-
expect(await screen.findByText('0.6.0')).toBeInTheDocument();
159+
expect(await screen.findByText('0.6.1')).toBeInTheDocument();
160160
expect(screen.queryByText(/version mismatch/i)).not.toBeInTheDocument();
161161
});
162162

163163
it('calls out version skew between services', async () => {
164164
mockGetHealth.mockResolvedValue(makeStatus({
165-
upgrade: { current: '0.5.8', suggested: '0.5.8', latest: '0.6.0', up_to_date: true, checked: true, skew: true, api_version: '0.5.8', tls_version: '0.5.7' },
165+
upgrade: { current: '0.5.8', suggested: '0.5.8', latest: '0.6.1', up_to_date: true, checked: true, skew: true, api_version: '0.5.8', tls_version: '0.5.7' },
166166
}));
167167
renderPage();
168168
expect(await screen.findByText(/version mismatch/i)).toBeInTheDocument();

‎osctrl-api.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ info:
99
url: https://github.com/jmpsec/osctrl/blob/master/LICENSE
1010
termsOfService: https://github.com/jmpsec/osctrl
1111
title: osctrl API
12-
version: 0.6.0
12+
version: 0.6.1
1313
paths:
1414
/:
1515
get:

‎pkg/health/version_test.go‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ func TestUpgradeInfoBeforeAnyCheck(t *testing.T) {
1717

1818
func TestUpgradeInfoAfterCheck(t *testing.T) {
1919
c := NewVersionCache("0.5.8")
20-
c.Set(version.VersionData{LatestRelease: "0.6.0", SuggestedRelease: "0.5.8"})
20+
c.Set(version.VersionData{LatestRelease: "0.6.1", SuggestedRelease: "0.5.8"})
2121
info := c.Info("0.5.8")
2222
require.True(t, info.Checked)
23-
require.Equal(t, "0.6.0", info.Latest)
23+
require.Equal(t, "0.6.1", info.Latest)
2424
require.Equal(t, "0.5.8", info.Suggested)
2525
require.False(t, info.Skew)
2626
}
2727

2828
func TestUpgradeInfoReportsServiceSkew(t *testing.T) {
2929
c := NewVersionCache("0.5.8")
30-
c.Set(version.VersionData{LatestRelease: "0.6.0", SuggestedRelease: "0.5.8"})
30+
c.Set(version.VersionData{LatestRelease: "0.6.1", SuggestedRelease: "0.5.8"})
3131
info := c.Info("0.5.7")
3232
require.True(t, info.Skew)
3333
require.Equal(t, "0.5.7", info.TLS)

‎pkg/version/version.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313

1414
const (
1515
// OsctrlVersion to have the version for all components
16-
OsctrlVersion = "0.6.0"
16+
OsctrlVersion = "0.6.1"
1717
// OsqueryVersion to have the version for osquery defined
1818
OsqueryVersion = "5.24.0"
1919
// VersionDataURL to have the URL to retrieve the latest version for all osctrl components

0 commit comments

Comments
 (0)