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

[Proposal] Rebase on top of master before running build #1947

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions .circleci/config.yml
@@ -1,4 +1,5 @@
version: 2

jobs:
build:
working_directory: /go/src/github.com/weaveworks/flux
Expand All @@ -7,6 +8,10 @@ jobs:
- image: memcached
steps:
- checkout
# Rebase on target branch after checkout, so we test the result of a
# merge, and not just what is in the proposed change.
# Ref: https://discuss.circleci.com/t/1662
- run: git pull --ff-only origin "refs/pull/${CI_PULL_REQUEST//*pull\//}/merge"
- setup_remote_docker

- run: curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
Expand Down Expand Up @@ -44,6 +49,11 @@ jobs:
working_directory: ~/go/src/github.com/weaveworks/flux
steps:
- checkout
# Rebase on target branch after checkout, so we test the result of a
# merge, and not just what is in the proposed change.
# Ref: https://discuss.circleci.com/t/1662
- run: git pull --ff-only origin "refs/pull/${CI_PULL_REQUEST//*pull\//}/merge"

- run: test/e2e/e2e-golang.sh
- run: test/e2e/e2e-flux-build.sh
- run: test/e2e/e2e-kind.sh
Expand Down