Skip to content
Open
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
14 changes: 0 additions & 14 deletions .bingo/.gitignore

This file was deleted.

13 changes: 0 additions & 13 deletions .bingo/README.md

This file was deleted.

31 changes: 0 additions & 31 deletions .bingo/Variables.mk

This file was deleted.

1 change: 0 additions & 1 deletion .bingo/go.mod

This file was deleted.

5 changes: 0 additions & 5 deletions .bingo/golangci-lint.mod

This file was deleted.

13 changes: 0 additions & 13 deletions .bingo/variables.env

This file was deleted.

4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# HyperFleet E2E — Agent Instructions

Black-box E2E testing framework for HyperFleet cluster lifecycle management. Tests hit the HyperFleet API, create ephemeral clusters, verify adapter execution and K8s resource creation, then clean up. Built with Go 1.25, Ginkgo v2, Gomega, and a hand-written generic HTTP client.
Black-box E2E testing framework for HyperFleet cluster lifecycle management. Tests hit the HyperFleet API, create ephemeral clusters, verify adapter execution and K8s resource creation, then clean up. Built with Go 1.26, Ginkgo v2, Gomega, and a hand-written generic HTTP client.

Test suites: `e2e/cluster/`, `e2e/nodepool/`, `e2e/adapter/`.

Expand All @@ -14,7 +14,7 @@ Run `make check` before declaring work done. It runs everything in order:
| `make build` | `generate` → compile binary to `bin/hyperfleet-e2e` |
| `make fmt` | Format code and imports (`golangci-lint fmt`) |
| `make test` | Unit tests only (`./pkg/...`) |
| `make lint` | `golangci-lint` (config: `.golangci.yml`) |
| `make lint` | `golangci-lint` (pinned in `tools/go.mod`, config: `.golangci.yml`) |
Comment thread
kuudori marked this conversation as resolved.
| `make generate` | No-op (reserved for future code generation) |

Pre-flight order: `make check` then `make build`.
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Thank you for contributing to HyperFleet E2E! This document provides guidelines

### Prerequisites

- **Go 1.25+** - [Install Go](https://go.dev/doc/install)
- **Go 1.26+** - [Install Go](https://go.dev/doc/install)
- **Make** - Build automation tool
- **Container tool** - Docker or Podman for building images
- **Git** - Version control
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ARG BASE_IMAGE=registry.access.redhat.com/ubi9/go-toolset

# Build stage
FROM golang:1.25 AS builder
FROM golang:1.26.0 AS builder

WORKDIR /build

Expand Down
18 changes: 13 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
include .bingo/Variables.mk

.DEFAULT_GOAL := help

GO ?= go
GOFMT ?= gofmt
TOOL_MOD := tools/go.mod
gotool = "$(GO)" tool -modfile="$(TOOL_MOD)" $(1)

# Binary output directory and name
BIN_DIR := bin
Expand Down Expand Up @@ -120,14 +120,22 @@ vet: generate ## Run go vet
$(GO) vet ./...

.PHONY: lint
lint: generate $(GOLANGCI_LINT) ## Run golangci-lint
$(GOLANGCI_LINT) run
lint: ## Run golangci-lint
$(call gotool,golangci-lint) run ./...

.PHONY: tools
tools: ## Ensure tool dependencies are up to date
cd tools && "$(GO)" mod tidy

.PHONY: verify-tools
verify-tools: tools ## Fail in CI if tool module drifted
@git diff --exit-code HEAD -- tools/go.mod tools/go.sum || (echo "tool modules out of date; run 'make tools'" && exit 1)
Comment thread
kuudori marked this conversation as resolved.
Comment thread
kuudori marked this conversation as resolved.

.PHONY: verify
verify: generate fmt-check vet ## Run all verification checks

.PHONY: check
check: verify lint test ## Run all checks (fmt, vet, lint, test)
check: verify lint test verify-tools ## Run all checks (fmt, vet, lint, test, tools)

##@ Container Images

Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ New to HyperFleet E2E? This guide will help you run your first test in 10 minute

## Prerequisites

- **Go 1.25+** - Required for building the framework
- **Go 1.26+** - Required for building the framework
- **HyperFleet deployment** - Running HyperFleet API and Maestro instance
- **10 minutes** - Time to complete this guide

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/openshift-hyperfleet/hyperfleet-e2e

go 1.25.0
go 1.26.0

require (
cloud.google.com/go/pubsub/v2 v2.6.0
Expand Down
2 changes: 1 addition & 1 deletion images/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ARG BASE_IMAGE=registry.access.redhat.com/ubi9/go-toolset

# Build stage
FROM golang:1.25 AS builder
FROM golang:1.26.0 AS builder

WORKDIR /build

Expand Down
Loading