Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

[WIP] Adapt e2e scripts so they can be used more generally (and locally) #1895

Closed
wants to merge 4 commits into from

Conversation

squaremo
Copy link
Member

@squaremo squaremo commented Apr 3, 2019

So far:

  • make them all respect a base directory, to avoid stomping on
    /usr/local
  • add some notes in each about what they depend on

curl -O https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz
echo ">>> Installing go ${GO_VERSION} to $GOBASE/go"
if ! [ -f "go${GO_VERSION}.linux-amd64.tar.gz" ]; then
curl -O https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't work for other architectures (e.g. darwin)

I think that we should simply run e2e tests as a continuation from building through the Makefile.

As an optimization, e2e CircleCI task could gather the artifacts from the build stage https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs

 - make them all respect a base directory, to avoid stomping on
   /usr/local
 - add some notes in each about what they depend on
Since Go 1.9, and after fierce resistance, wildcard paths do not
include `vendor`. Hence we can simplify the `go test` command, so that
1. it's easier to grok; 2. the output is less verbose.
@2opremio
Copy link
Contributor

Superseded by #2058

@2opremio 2opremio closed this May 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants