Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
9ae3344
Add ed25519 key support to authentication package
travispaul Apr 9, 2026
8331e5b
Trim authentication tests to remove stdlib and redundant coverage
travispaul Apr 9, 2026
520617e
examples/compute/create_instance_with_volumes: fix unit tests
alrs Feb 18, 2026
fb2053b
account: fix UpdateConfig to use PUT instead of POST
travispaul Apr 9, 2026
0ab4c33
examples: fix env vars, add TSG note, guard force_delete, update copy…
travispaul Apr 9, 2026
3468bb6
Fix copyright headers across modified files
travispaul Apr 9, 2026
f364149
storage: fix recursive directory deletion (issue #155)
travispaul Apr 9, 2026
6e90276
storage: update stale comments on Delete and ForceDelete
travispaul Apr 9, 2026
d19796d
Update error messages
travispaul Apr 10, 2026
315ce3e
examples: replace remaining TRITON_ env vars with MANTA_ equivalents
travispaul Apr 10, 2026
d098e3d
storage: add test for non-recursive directory deletion
travispaul Apr 10, 2026
36866e4
build: replace govvv and dep with native Go tooling
travispaul Apr 10, 2026
4c2c689
compute: widen Image Tags type to accept non-string values
travispaul Apr 10, 2026
a3368e5
Target latest ubuntu 24 image
travispaul Apr 10, 2026
24b5815
Fix missing copyright headers and grammar in error messages
travispaul Apr 10, 2026
c937df7
Bump version to 2.0.0-pre5
travispaul Apr 10, 2026
085970b
storage: add acceptance test for full object lifecycle
travispaul Apr 13, 2026
080e4c8
Add ForceDelete note to pre5 changelog and reorder entries
travispaul Apr 13, 2026
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
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#

#
# Copyright 2026 Edgecast Cloud LLC.
#

name: CI

on:
push:
branches: [master]
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: make build

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: make check

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Comment thread
travispaul marked this conversation as resolved.
- run: make test
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
## Unreleased

## 2.0.0-pre5 (April 13 2026)

**NOTE:** The `deleteAll` helper was fundamentally broken — when
`ForceDelete` was set to `true`, it failed to actually remove all child
entries before deleting the parent directory. This is now fixed.

- Fix ForceDelete behavior in `deleteAll` [#155]
- TRITON-2542 Add support for ed25519 keys
- Fix UpdateConfig endpoint support
- Fix issue decoding image tags with non boolean keys
- Fix dropped marshal errors [#204]
- Fix create_instance_with_volumes unit test [#205]

## 2.0.0-pre4 (May 23 2025)

- Added delegate_dataset support to instance creation
Expand Down
19 changes: 8 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#
# Copyright 2020 Joyent, Inc.
# Copyright 2026 Edgecast Cloud LLC.
#

TEST?=$$(go list ./... |grep -Ev 'vendor|examples|testutils')
Expand All @@ -14,18 +15,13 @@ GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor)
.PHONY: all
all:

.PHONY: tools
tools: ## Download and install all dev/code tools
@echo "==> Installing dev tools"
go get -u github.com/golang/dep/cmd/dep

.PHONY: build
build:
@govvv build
build: ## Build all packages
@go build ./...

.PHONY: install
install:
@govvv install
install: ## Install all packages
@go install ./...

.PHONY: test
test: ## Run unit tests
Expand All @@ -38,8 +34,9 @@ testacc: ## Run acceptance tests
TRITON_TEST=1 go test $(TEST) -v -run TestAcc -timeout 60m

.PHONY: check
check:
scripts/gofmt-check.sh
check: ## Run all lint checks (gofmt, vet)
@scripts/gofmt-check.sh
@go vet ./...

.PHONY: help
help: ## Display this help message
Expand Down
3 changes: 2 additions & 1 deletion account/config.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//
// Copyright 2020 Joyent, Inc. All rights reserved.
// Copyright 2025 MNX Cloud, Inc.
// Copyright 2026 Edgecast Cloud LLC.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down Expand Up @@ -64,7 +65,7 @@ type UpdateConfigInput struct {
func (c *ConfigClient) Update(ctx context.Context, input *UpdateConfigInput) (*Config, error) {
fullPath := path.Join("/", c.client.AccountName, "config")
reqInputs := client.RequestInput{
Method: http.MethodPost,
Method: http.MethodPut,
Path: fullPath,
Body: input,
}
Expand Down
5 changes: 3 additions & 2 deletions account/config_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//
// Copyright 2020 Joyent, Inc. All rights reserved.
// Copyright 2025 MNX Cloud, Inc.
// Copyright 2026 Edgecast Cloud LLC.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down Expand Up @@ -141,7 +142,7 @@ func TestUpdateConfig(t *testing.T) {
}

t.Run("successful", func(t *testing.T) {
testutils.RegisterResponder("POST", path.Join("/", accountUrl, "config"), updateConfigSuccess)
testutils.RegisterResponder("PUT", path.Join("/", accountUrl, "config"), updateConfigSuccess)

_, err := do(context.Background(), accountClient)
if err != nil {
Expand All @@ -150,7 +151,7 @@ func TestUpdateConfig(t *testing.T) {
})

t.Run("error", func(t *testing.T) {
testutils.RegisterResponder("POST", path.Join("/", accountUrl, "config"), updateConfigError)
testutils.RegisterResponder("PUT", path.Join("/", accountUrl, "config"), updateConfigError)

_, err := do(context.Background(), accountClient)
if err == nil {
Expand Down
Loading
Loading