Skip to content

Commit

Permalink
Release steampipe v0.23.3.
Browse files Browse the repository at this point in the history
* fix: skips docker config for credential store, allows GHCR to work if docker-credential-desktop not on PATH. Closes #4323

* v0.23.3. Closes #4328

* Update CHANGELOG for v0.23.3

* Update goreleaser args

* Use goreleaser v1

* fix: fixed credStore to use Docker when not Turbot GHCR. Closes #4330

* Update CHANGELOG

* Update FDW to v1.11.4 (#4334)

---------

Co-authored-by: Graza <code@graza.io>
Co-authored-by: kai <kai@turbot.com>
  • Loading branch information
3 people authored Jul 18, 2024
1 parent 8234b9b commit e808eb7
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release_cli_and_assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ jobs:
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --snapshot --clean --skip-publish
version: '~> v1'
args: release --snapshot --clean --skip=publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down Expand Up @@ -759,7 +759,7 @@ jobs:
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
version: latest
version: '~> v1'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## v0.23.3 [2024-07-17]
_Bug fixes_
- When installing plugins, do not use local docker config for credential store if the plugin is being installed from GHCR, enabling installation from GHCR to work even if docker-credential-desktop not in PATH. ([#4323](https://github.com/turbot/steampipe/issues/4323))
- Fix issue where steampipe returned 0 exit code even if failed to export snapshot. ([#4276](https://github.com/turbot/steampipe/issues/4276))
- Query command should support legacy 'true' and 'false' for --timing flag. ([#4282](https://github.com/turbot/steampipe/issues/4282))
- Fix issue where sps output is not working. ([#4297](https://github.com/turbot/steampipe/issues/4297))
- When loading creating connection plugins, return connections successfully created even if some connections fail, due to config not being available. ([#474](https://github.com/turbot/steampipe-postgres-fdw/issues/474))
- Show scan info in query JSON output only when timing config is verbose. ([#4292](https://github.com/turbot/steampipe/issues/4292))

## v0.23.2 [2024-05-17]
_Bug fixes_
- Update FDW to 1.11.2 to remove unnecessary NOTICE level log messages. ([#469](https://github.com/turbot/steampipe-postgres-fdw/issues/469))
Expand Down
2 changes: 1 addition & 1 deletion pkg/constants/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const (
// constants for installing db and fdw images
const (
DatabaseVersion = "14.2.0"
FdwVersion = "1.11.3"
FdwVersion = "1.11.4"

// PostgresImageRef is the OCI Image ref for the database binaries
PostgresImageRef = "us-docker.pkg.dev/steampipe/steampipe/db:14.2.0"
Expand Down
5 changes: 5 additions & 0 deletions pkg/constants/image.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package constants

const (
BaseImageRef = "ghcr.io/turbot/steampipe/plugins"
)
8 changes: 7 additions & 1 deletion pkg/ociinstaller/ocidownloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package ociinstaller
import (
"context"
"encoding/json"
"github.com/turbot/steampipe/pkg/constants"
"log"
"strings"

Expand Down Expand Up @@ -63,7 +64,12 @@ func (o *ociDownloader) Pull(ctx context.Context, ref string, mediaTypes []strin

// Get credentials from the docker credentials store
storeOpts := credentials.StoreOptions{}
credStore, err := credentials.NewStoreFromDocker(storeOpts)
var credStore *credentials.DynamicStore
if strings.HasPrefix(ref, constants.BaseImageRef) {
credStore, err = credentials.NewStore("", storeOpts)
} else {
credStore, err = credentials.NewStoreFromDocker(storeOpts)
}
if err != nil {
return nil, nil, nil, nil, err
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Also https://www.digitalocean.com/community/tutorials/using-ldflags-to-set-versi
**/

// The main version number that is being run at the moment.
var steampipeVersion = "0.23.2"
var steampipeVersion = "0.23.3"

// A pre-release marker for the version. If this is "" (empty string)
// then it means that it is a final release. Otherwise, this is a pre-release
Expand Down

0 comments on commit e808eb7

Please sign in to comment.