Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bring V3 to Main #452

Merged
merged 60 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
3587561
reset main
jordan-rash Oct 18, 2024
7531a03
adding first ADR (#371)
autodidaddict Sep 12, 2024
080bf53
scaffolding for json schemas for agent api (#370)
autodidaddict Sep 13, 2024
cc3a1b6
CLI Update | `node up` (#372)
jordan-rash Sep 13, 2024
034c08a
initial scaffolding for ergo supervision tree (#377)
jordan-rash Sep 17, 2024
3970742
Moving CI to vnext (#385)
jordan-rash Sep 26, 2024
9c865ac
configure node to use provided logger (#386)
jordan-rash Sep 26, 2024
226c7f2
CLI rootfs Subcommand (#381)
jordan-rash Sep 27, 2024
0ce783c
starting readme (#388)
jordan-rash Sep 30, 2024
ac45fc7
Implement internal NATS actor (#390)
kthomas Oct 1, 2024
5628225
CLI Upgrade Subcommand (#384)
jordan-rash Oct 2, 2024
27b61ca
correct input params
jordan-rash Oct 21, 2024
17a4c2e
Node Logging Actor + slog (#399)
jordan-rash Oct 21, 2024
c4cf374
General Code Cleanup (#400)
jordan-rash Oct 21, 2024
057061a
More structure | direct start + external actor (#401)
jordan-rash Oct 24, 2024
b41903e
moving from ergo to goakt (#402)
autodidaddict Oct 25, 2024
5d8e5e4
adding scaffolding for protobuf messages (#403)
autodidaddict Oct 25, 2024
54391e3
removes final references to ergo (#404)
jordan-rash Oct 25, 2024
ada8dc8
Signal Capture Reset (#405)
jordan-rash Oct 25, 2024
84db131
remove code jank around signals and use NoSigs NATS server property (…
autodidaddict Oct 26, 2024
1ec6c5c
adds a sample actor interaction for querying the list of running work…
autodidaddict Oct 28, 2024
7c1cb4c
JSONSchema - NodeControl (#406)
jordan-rash Oct 28, 2024
9c2152e
basic scaffold for new agents (#409)
autodidaddict Oct 29, 2024
108f3a8
NodeControl Client (#410)
jordan-rash Oct 29, 2024
21d904c
adding os process struct scaffold (#411)
autodidaddict Oct 29, 2024
e0b35e5
empty artifact downloader (#412)
autodidaddict Oct 29, 2024
418fe4c
adds a tester agent (#415)
autodidaddict Oct 30, 2024
3ef61b1
Conversions and Handlers (#413)
jordan-rash Oct 30, 2024
c60fbbe
CLI start stop commands (#414)
jordan-rash Oct 31, 2024
3082fc3
Direct Start Workload (#416)
jordan-rash Nov 4, 2024
1147bc2
CLI Node List Command (#417)
jordan-rash Nov 4, 2024
30c60f3
file/oci/nats Artifact Support (#418)
jordan-rash Nov 5, 2024
d66b704
moves actors package to node internals (#419)
jordan-rash Nov 5, 2024
bb354d8
Test Suite | Node Start & Direct Workloads (#420)
jordan-rash Nov 6, 2024
a94f044
fix windows graceful stop (#421)
jordan-rash Nov 6, 2024
af66fb1
Workload Log Filter (#422)
jordan-rash Nov 7, 2024
90fe4b6
fixes uptime bug (#423)
jordan-rash Nov 7, 2024
3bee4a0
remove oci test (#427)
jordan-rash Nov 8, 2024
c608b0f
Adding in some of the host services before gluing that to agents (#428)
autodidaddict Nov 12, 2024
d9acac4
first use of agent registration (#425)
autodidaddict Nov 12, 2024
85f4d3f
Lameduck Mode (#426)
jordan-rash Nov 13, 2024
66b012f
safety PR. starts fleshing out javascript agent (#430)
autodidaddict Nov 13, 2024
9bc02f0
fixes the connection and credentials (#431)
autodidaddict Nov 13, 2024
a6ed15b
CLI Monitor Command (#424)
jordan-rash Nov 14, 2024
9091243
OCI Bundler / Deployment (#429)
jordan-rash Nov 14, 2024
c983ac0
node info command (#432)
jordan-rash Nov 15, 2024
af35ed5
Attempting to make direct start os/arch aware (#433)
jordan-rash Nov 15, 2024
cf62796
Lameduck delay (#435)
jordan-rash Nov 20, 2024
c53b669
can now download agent artifacts (#437)
autodidaddict Nov 20, 2024
373b1d9
Workload Info Command (#436)
jordan-rash Nov 20, 2024
2f629a6
Auction on Deploy w/ BidderID (#434)
jordan-rash Nov 20, 2024
c543110
API Remodel (#438)
jordan-rash Nov 20, 2024
47e1867
XKeys & Encrypted Environments (#439)
jordan-rash Nov 22, 2024
be525d4
javascript runner (#440)
autodidaddict Nov 22, 2024
be9bc64
Workload clone (#441)
jordan-rash Nov 25, 2024
7b3431f
fixes oci auth to local repo (#442)
jordan-rash Nov 26, 2024
a364f72
initial commit (#444)
autodidaddict Dec 2, 2024
e5bcb4b
set up host services conn and subscribe to trigger subjects (#446)
autodidaddict Dec 3, 2024
4a478af
update CI for merge (#453)
jordan-rash Dec 12, 2024
f296b87
Reverts all external agent work to be moved to separate PR (#455)
jordan-rash Dec 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
50 changes: 0 additions & 50 deletions .github/workflows/docker.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/issue_create.yml

This file was deleted.

48 changes: 16 additions & 32 deletions .github/workflows/ltb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [ "main" ]

env:
GO_VER: '1.22.4'
GO_VER: '1.23.0'


jobs:
Expand All @@ -16,6 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
-
name: Checkout code
uses: actions/checkout@v4
-
name: Set up Go
Expand All @@ -25,9 +26,9 @@ jobs:
cache: false
-
name: golangci-lint
uses: golangci/golangci-lint-action@v4
uses: golangci/golangci-lint-action@v6.1.0
with:
version: v1.54
version: v1.61.0

test:
strategy:
Expand All @@ -36,48 +37,31 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 20
timeout-minutes: 5
steps:
-
name: Checkout code
uses: actions/checkout@v4
-
name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VER }}
-
name: Build agent
working-directory: ./agent/cmd/nex-agent
run: go build
-
name: Run test suite
if: runner.os == 'Linux'
run: |
go build -buildmode=plugin -o ./test/fixtures/noop.so ./examples/workload_provider_plugins/noop/main.go
go test $(go list ./... | grep -v spec)
go test -v -race $(go list ./... | grep -v spec)
-
name: Run spec suite | Linux
if: runner.os == 'Linux'
name: Run test suite | node
run: |
go install github.com/onsi/ginkgo/v2/[email protected]
go mod tidy
sudo $(go env GOPATH)/bin/ginkgo -r --randomize-all --randomize-suites --vv --trace --keep-going --output-interceptor-mode=none ./spec
go test -v ./...
-
name: Run spec suite | Windows
if: runner.os == 'Windows'
name: Run test suite | CLI
working-directory: ./cmd/nex
run: |
go install github.com/onsi/ginkgo/v2/[email protected]
go mod tidy
go run github.com/onsi/ginkgo/v2/ginkgo -r --randomize-all --randomize-suites --flake-attempts=5 --vv --trace --keep-going --output-interceptor-mode=none ./spec
go test -v ./...
-
name: Run spec suite | Darwin
working-directory: .
if: runner.os == 'macOS'
name: Run test suite (rootfs | linux only)
if: runner.os == 'Linux'
working-directory: ./cmd/nex
run: |
go install github.com/onsi/ginkgo/v2/[email protected]
go mod tidy
sudo $(go env GOPATH)/bin/ginkgo -r --randomize-all --randomize-suites --vv --trace --keep-going --output-interceptor-mode=none ./spec
sudo go test -v ./... -run TestRootFsSimple

build:
timeout-minutes: 10
Expand All @@ -95,7 +79,7 @@ jobs:
go-version: ${{ env.GO_VER }}
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
Expand Down
83 changes: 0 additions & 83 deletions .github/workflows/release.yml

This file was deleted.

46 changes: 0 additions & 46 deletions .github/workflows/release_candidate.yml

This file was deleted.

48 changes: 48 additions & 0 deletions .github/workflows/schema_generation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Verify Schema Generation

on:
pull_request:
branches: main

jobs:
verify-schema-generation:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
fetch-depth: 0 # Ensure the full history is fetched for proper diffing

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23' # Specify your Go version

- name: Install Protoc
run: |
curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v28.3/protoc-28.3-linux-x86_64.zip
sudo unzip protoc-28.3-linux-x86_64.zip -d /usr/local
rm protoc-28.3-linux-x86_64.zip

- name: Install dependencies
run: |
go install github.com/go-task/task/v3/cmd/task@latest
go install github.com/atombender/go-jsonschema@latest
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest

- name: Run 'task gen-schema'
run: |
task all-code-gen

- name: Check for Uncommitted Changes
run: |
git config --global --add safe.directory /github/workspace
if [[ $(git status --porcelain) ]]; then
echo "Uncommitted changes detected after running 'task gen-schema'."
echo "Please run 'task gen-schema' and commit the changes."
git diff
exit 1
else
echo "No changes detected. Generated code is up to date."
fi
Loading
Loading