Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Commit

Permalink
Merge pull request #4 from gardener/ci
Browse files Browse the repository at this point in the history
Prepare basic CI-Pipeline
  • Loading branch information
stoyanr authored Aug 12, 2020
2 parents 7e4cabc + 4555203 commit 1141f87
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .ci/pipeline_definitions
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,15 @@ machine-controller-manager-provider-kubevirt:
image: 'golang:1.13.3'
jobs:
head-update:
steps:
verify:
image: 'golang:1.14.4'
traits:
draft_release: ~
pull-request:
steps:
verify:
image: 'golang:1.14.4'
traits:
pull-request: ~
release:
Expand Down
19 changes: 19 additions & 0 deletions .ci/verify
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash

set -o errexit
set -o nounset
set -o pipefail

cd "$(dirname $0)/.."

git config --global user.email "[email protected]"
git config --global user.name "Gardener CI/CD"

apt-get update
apt-get install -y unzip

mkdir -p /go/src/github.com/gardener/machine-controller-manager-provider-kubevirt
cp -r . /go/src/github.com/gardener/machine-controller-manager-provider-kubevirt
cd /go/src/github.com/gardener/machine-controller-manager-provider-kubevirt

make verify

0 comments on commit 1141f87

Please sign in to comment.