| Age | Commit message (Collapse) | Author |
|
This optimization isn't necessary and is causing an error on cloudtops,
so delete it for now.
Change-Id: I36e38ceb24cbefb6d249e2232a26bedb77ae001a
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/334009
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
The nodejs service now depends on headless chrome to be up an running,
so that it can be used to run e2e tests independent of the frontend
service.
This is used to run npx in e2e tests using a different instance of the
one running in docker, such as when testing against a local instance or
when running the deployment script.
Change-Id: I68d583859a7abe8cf7b59d5a79eebe3d994c54d5
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/329915
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
The environment sections are sorted alphabetically.
Change-Id: I9a9342d2c1ef23edfc37b01c617561dc6ed57b06
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/329914
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
A hardcoded value that should be a reference to GO_DISCOVERY_* in the
migrate service is fixed.
Comments are added to make it clearer what the GO_DISCOVERY_* variables are intended for.
Change-Id: Ia30a0a9a3f5b9cda777a086a1f18fca9e9dda993
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/329911
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
|
|
If $GOPATH is not set, default to $HOME/go in the docker-compose setup.
Change-Id: Ic9919a0fc2807e7329e6f571da5985a32780cb7d
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/329829
Trust: Julie Qiu <julie@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
All GO_DISCOVERY_* can now be customized using environment variables.
Change-Id: I68f7b4e09c4caec7690fca64b8a38237b983bf0d
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/329499
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
There doesn't seem to be any reason that the config for testing needs to
be different from the normal GO_DISCOVERY_DATABASE_* environment
variables.
To simplify our setup, remove the GO_DISCOVERY_DATABASE_TEST_* variables
and replaced them with the GO_DISCOVERY_DATABASE_* variables.
Change-Id: Iedb05579693d70282f6aec531c1f9a443f8e80f0
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/329494
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
Instead of hardcoding the DB name, set it using
GO_DISCOVERY_DATABASE_NAME.
Change-Id: Icce23faadebeb62759391c468cbfdd78b9a7453d
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/329492
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
Instead of hardcoding the DB port, set it using
GO_DISCOVERY_DATABASE_PORT.
Change-Id: Ib2f4dcf0fdcde1ce4401281ae2094627103328af
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/329491
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
Rather than redownloading dependencies for each service, mount the
dependency cache so that it persists across runs.
Change-Id: I74b58d994ab0980bef0aefdd79761584f05ad38c
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/329490
Trust: Julie Qiu <julie@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
The frontend and seeddb commands are split into separate services, so
that we can run them separately.
Change-Id: Ic3b679aede268b84de8869a6ec7790357befc528
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/329409
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
The docker command in devtools/nodejs.sh is moved to docker-compose.
Change-Id: I0ee98fcbe6007729cb4e4dd57381d2d674d58347
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/328890
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
all.bash can now be run using docker-compose.
Change-Id: I2b365fd7911bb61f52f1fc7c9c9d594fb4c6c731
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/328749
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
All of the tests in e2e/ are now run in CI.
Change-Id: I440e22b89a21ba28f51d76f7c35fecdd656738f7
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/328429
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
Removes newlines at the end of commands to fix syntax
highlighting in vscode.
Change-Id: I20aee33841811b5b2f63619e8a84877e4c2df5d4
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/328670
Trust: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Julie Qiu <julie@golang.org>
|
|
A single call to npm ci at the beginning of devtools/ci
should be sufficient to ensure node modules have already
been in stalled. Removing the additional install command
in the docker-compose file will speed up test runs.
Change-Id: Id149c22f6abd5060b2bda4084333840e67f11fe9
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/328669
Trust: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Julie Qiu <julie@golang.org>
|
|
The seeddb script and all e2e testcases are now run in CI.
Change-Id: Ie5858a8debf43b64925ed3e0baa3ff15944234fa
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/328550
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
Change-Id: If0dca9186806e1159450700ab6f58c1de1e036d1
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/327933
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
The migrate service in docker-compose.yaml now uses wait-for-it, so that
migrations don't run until the service can connect to postgres.
Change-Id: I0542f5ea336fade42fb5ad39dd3875d243fac000
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/328254
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
The e2e docker setup is moved to devtools, since it will also be useful
for developing locally.
Moved and changed references for:
- e2e/docker/Dockerfile.frontend -> devtools/docker/Dockerfile.frontend
- e2e/docker/docker-compose.yaml -> devtools/docker/docker-compose.yaml
- e2e/docker/run.sh -> devtools/run_e2e.sh
Change-Id: Ibfcb84e68d07058ad1cccd67891c939c4e75aae3
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/328252
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|