Skip to content

Commit

Permalink
fix(ci): pull the version of the submodules defined in the repo
Browse files Browse the repository at this point in the history
This is not necessarily the latest version, which is what `git submodule update --remote` does.
  • Loading branch information
matthieu-foucault committed Jan 8, 2020
1 parent c6d1851 commit 3888c3c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 26 deletions.
40 changes: 16 additions & 24 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,9 @@ jobs:
- attach_workspace:
at: ~/
- run:
name: "Pull Submodules"
name: "Checkout Submodules"
command: |
git submodule init
git submodule update --remote
git submodule update --init
- run:
name: start postgres
command: |
Expand Down Expand Up @@ -249,10 +248,9 @@ jobs:
steps:
- checkout
- run:
name: "Pull Submodules"
name: "Checkout Submodules"
command: |
git submodule init
git submodule update --remote
git submodule update --init
- redhat-openshift/create-local-cluster-with-oc:
skip-registry-check: true
- redhat-openshift/login-and-update-kubeconfig:
Expand Down Expand Up @@ -288,10 +286,9 @@ jobs:
steps:
- checkout
- run:
name: "Pull Submodules"
name: "Checkout Submodules"
command: |
git submodule init
git submodule update --remote
git submodule update --init
- redhat-openshift/login-and-update-kubeconfig:
insecure-skip-tls-verify: true
openshift-platform-version: 3.x
Expand All @@ -306,10 +303,9 @@ jobs:
steps:
- checkout
- run:
name: "Pull Submodules"
name: "Checkout Submodules"
command: |
git submodule init
git submodule update --remote
git submodule update --init
- redhat-openshift/login-and-update-kubeconfig:
insecure-skip-tls-verify: true
openshift-platform-version: 3.x
Expand All @@ -324,10 +320,9 @@ jobs:
steps:
- checkout
- run:
name: "Pull Submodules"
name: "Checkout Submodules"
command: |
git submodule init
git submodule update --remote
git submodule update --init
- redhat-openshift/login-and-update-kubeconfig:
insecure-skip-tls-verify: true
openshift-platform-version: 3.x
Expand All @@ -342,10 +337,9 @@ jobs:
steps:
- checkout
- run:
name: "Pull Submodules"
name: "Checkout Submodules"
command: |
git submodule init
git submodule update --remote
git submodule update --init
- redhat-openshift/login-and-update-kubeconfig:
insecure-skip-tls-verify: true
openshift-platform-version: 3.x
Expand All @@ -360,10 +354,9 @@ jobs:
steps:
- checkout
- run:
name: "Pull Submodules"
name: "Checkout Submodules"
command: |
git submodule init
git submodule update --remote
git submodule update --init
- redhat-openshift/login-and-update-kubeconfig:
insecure-skip-tls-verify: true
openshift-platform-version: 3.x
Expand All @@ -381,10 +374,9 @@ jobs:
- attach_workspace:
at: ~/
- run:
name: "Pull Submodules"
name: "Checkout Submodules"
command: |
git submodule init
git submodule update --remote
git submodule update --init
- run:
name: start postgres
command: |
Expand Down
3 changes: 1 addition & 2 deletions shipit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ dependencies:
override: []
deploy:
override:
- git submodule init
- git submodule update --remote
- git submodule update --init
- make install
review:
checklist: []

0 comments on commit 3888c3c

Please sign in to comment.