Commit Graph

22 Commits

Author SHA1 Message Date
Jim Kalafut 3d9036e663
Rename some references from master to main (#11897)
* Rename some references from master to main

* Update changelog-checker
2021-06-18 11:24:54 -07:00
Nick Cabatoff b07ed925e0
Remove oss nightly cachebuilder. (#11866) 2021-06-15 13:53:44 -04:00
Sam Salisbury fdd4e3a2e4
Remove vendor/ (RELENG-355) (#11544) 2021-06-11 12:35:38 +01:00
Nick Cabatoff 312a43a5bc
Only test UI on master, release, merge, and UI branches (#11813) 2021-06-10 15:08:53 -04:00
Sam Salisbury a81f6683d2
Revert "Remove use of go cache from go test CI", bump Go to 1.15.11 (#11279)
* Revert "Saving and restoring the go cache was an experiment to reduce build times, but it worked too inconsistently. (#10493)"

This reverts commit 1e72bb1c41aef6648e9e219f6e44ae7942f463fe.

* make ci-config

* ci: update default go image to use docker mirror

* bump to go1.15.11

- Previously there was version skew: 1.15.10 and 1.15.4 were in use.
2021-04-06 14:42:14 +01:00
Nick Cabatoff 88d14684e2
We should allow test-go and test-go-remote-docker to run so that they can satisfy the check. There's a short-circuit within them to avoid taking time if it's a ui/ or docs/ branch. (#10763) 2021-01-25 15:31:05 -05:00
Nick Cabatoff a73e834fda
Fail build if go mod vendor changes anything. (#10524) 2020-12-10 10:09:21 -05:00
Nick Cabatoff 22f5d10a93
Saving and restoring the go cache was an experiment to reduce build times, but it worked too inconsistently. (#10493) 2020-12-03 10:59:47 -05:00
ncabatoff b615da43d7
Run CI tests in docker instead of a machine. (#8948) 2020-09-15 10:01:26 -04:00
Nick Cabatoff 6a6afb1d0c Revert hack to nightly test workflow. 2020-07-29 13:10:08 -04:00
Nick Cabatoff ea1f4cb634 Hack nightly test workflow to trigger a cache-populating build now. 2020-07-29 12:23:15 -04:00
ncabatoff b2873e44b0
Use the go test cache to reduce circleci test time (#8838) 2020-07-29 12:20:49 -04:00
Kevin Pruett 4a48b57546
Add Algolia indexing script to CI (#9332) 2020-06-29 16:39:08 +01:00
Jeff Escalante 4019a3543c
Improve website docker image build (#8437)
* improve website docker image build

* update image tag technique

* generate ci file
2020-03-06 10:50:38 -08:00
Chelsea Shaw 859696361f
skip go tests on ui and doc branches (#8372)
* skip test-go and test-go-race workflows when branch starts with ui/ or docs/
2020-03-02 14:08:42 -06:00
Calvin Leung Huang 1561c69b1f
ci: add context to website-docker-image job (#8272)
* ci: add context to website-docker-image job

* ci: test context value

* ci: revert test context value
2020-02-03 09:04:33 -08:00
Jeff Escalante df34412570 New Website! (#8154)
* new documentation website

* ci job adjustment

* update to latest version on downloads page

* remove transition-period scripts

* add netlify toml file

* fix docs patch

* fix ci config?

* revert go.mod changes

* a couple last markdown formatting fixes
2020-01-17 16:18:09 -08:00
Sam Salisbury b589fbfbd9
ci: switch to go1.12.12 on machine executors (#7703)
* ci: switch to go1.12.12 on machine executors

- This brings in recent ci changes from the release/1.2.x branch.

* go mod vendor

* ci: remove ent build tags

* ci: fix gopath

* go mod vendor

* ci: ensure yarn install

* ci: add debug commands

* ci: debugging

* ci: increment yarn cache; remove debugging

* ci: remove redundant yarn install
2019-11-06 13:15:06 +00:00
Sam Salisbury 9915404747 ci: do not run browserstack tests for forked PRs
- They require a secret API key, not available to forks.
2019-07-25 11:35:17 +01:00
Sam Salisbury 75b84a40b6
ci: re-enable browserstack tests (#7123)
* ci: re-enable browserstack tests ...

- Also sets "strict mode" bash with -euo pipefail at executor level.

* ci: Makefile: more compatible SHELL var

* ci: remove some trailing whitespace

* ci: remove redundant set -eux -o pipefail

- In some cases, just replace with -x where debug output might be useful.
- In most cases, don't bother with -x, it is a secret leak risk, and
  circleci prints the command body before executing it anyway.

* try specifying yarn version

* set yarn version

* Revert "try specifying yarn version"

This reverts commit 6b4e57a304d999d72d4b07468a6b4a30880f1f4c.
2019-07-24 14:13:41 +01:00
Sam Salisbury 6f79b6dfc6
ci pre-flight checks (#6960)
* ci: update Makefile

- Copied from c5c5149583/copythis.circleci/Makefile

* Makefile: make ci- targets phony and more explicit

* ci: add pre-flight checks

- Right now just validates ci config is up to date.

* ci: add --skip-update-check to circleci

* ci: remove cruft from Makefile

* ci: fix missing source dir error message

* ci: consolidate circleci path handling
2019-06-26 15:14:23 +01:00
Sam Salisbury e2e5e16ff2 ci: break config into separate files (#6849)
* ci: break config into separate files

* Untangle githooks

* githooks: fix whitespace

* .hooks/pre-commit: add ui -> lint-staged check

- We no longer require dependency on husky with this change.

* ui: remove husky dependency and config

- The previous commit obviates the need for it.
- We will now have to manage these hooks by hand, but this removes
  the conflict between husky-installed hooks and those in the .hooks dir.

* ui: update yarn.lock with husky removed

* .hooks/pre-commit: always use subshell + docs

- Always use subshell means we consistently exit from the
  same place which feels less complex.
- Docs are necessary for horrible bash like this I think...

* Makefile: remove old husky githooks

- Husky has installed a handler for every single git hook.
- This causes warnings on every git operation.
- Eventually we can remove this, but better not to confuse
  people with these messages for now.

* ci: fix go build tags

* Makefile: improve compatibility of rm call

- Looks like the xargs in Travis does something different to the one
  on my mac, this more verbose call should be safe everywhere.

* ci: fix make target names

* ci: fix test-ui invocation

* Makefile: simplify husky hook cleanup

* ci: more focussed readme
2019-06-11 09:55:53 -05:00