Commit Graph

6 Commits

Author SHA1 Message Date
Brad Fitzpatrick fc64ec92e5 .github/workflows: run tests on the right branch
I copy/paste-d from another repo earlier and didn't realize
this repo uses 'master' as its main branch.

Signed-off-by: Brad Fitzpatrick <brad@danga.com>
2024-01-13 17:12:42 -08:00
Brad Fitzpatrick 09cf7e948b go.mod: remove old replaces, update deps, use Go 1.21
This also makes Windows pass tests again (fixed in Go 1.20:
https://github.com/golang/go/issues/51007)

Signed-off-by: Brad Fitzpatrick <brad@danga.com>
2023-12-30 16:06:52 -08:00
Brad Fitzpatrick b5823a65b9 pkg/deploy/gce: remove GCE deploy support
We used to have a web-based Perkeep launcher at perkeep.org/launch
that created a GCE-based Perkeep instance for users, where they pay
Google for compute time. (One of those "one click deploy" template things)

Unfortunately, Google broke their APIs for doing the third party VM
creations and we disabled it some years ago. But the code remains. And
now, updating it again, we find that they've broken it again:

   Error: pkg/deploy/gce/deploy.go:358:4: servicemanagement.NewServicesService(s).Enable undefined (type *servicemanagement.ServicesService has no field or method Enable)

It's not worth fighting Google's API breakages. Just remove the GCE
launcher support as it's been unused for years.

We can always resurrect this code from git if really needed. But a
Digital Ocean or Fly launcher would probably be much easier.

Signed-off-by: Brad Fitzpatrick <brad@danga.com>
2023-12-30 12:47:01 -08:00
Brad Fitzpatrick f704514cb0 all: bump required Go version from Go 1.16 to Go 1.19
(Taking over #1632)

Signed-off-by: Brad Fitzpatrick <brad@danga.com>
2022-12-31 22:45:40 -08:00
Alexandre Viau 8171ea5b51
go 1.15 -> 1.16 (#1397) 2021-07-28 23:31:22 -04:00
aviau 5d8a9e87f7
gopherjs -> goplusjs
github.com/gopherjs/gopherjs no longer supports new Go versions and
doing a full perkeep build currently requires go 1.12.

This moves to github.com/goplusjs/gopherjs which supports new Go
version. Building perkeep no longer requires go 1.12.

- Support building webui with just go 1.15
- Before this PR, reactGen was built from the vendor directory.
  Now, it is built with gomodules. We can't run it with `go run`
  because it breaks myitcv.io/gogenerate which they use to determine
  what file to compile.
- go.mod: require go 1.15
- goplusjs/gopherjs is built and ran with gomodules. We run it
  with go run github.com/goplusjs/gopherjs
- Add test-tidy workflow to ensure that go.mod can't drift.
- We use go run -mod=readonly so packages are not sneakily updated.
  Any update in go.mod should be voluntary.
2021-01-13 21:55:21 -05:00