Skip to content

Commit f622454

Browse files
committed
Add Stratio CI dependencies
1 parent 23676a4 commit f622454

File tree

5 files changed

+42
-0
lines changed

5 files changed

+42
-0
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Changelog
2+
3+
## 1.6.0-0.1.0 (upcoming)
4+
5+
* Add the PRs that have not yet been merged

Jenkinsfile

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
@Library('libpipelines@master') _
2+
3+
hose {
4+
EMAIL = 'clouds-integration@stratio.com'
5+
BUILDTOOL = 'make'
6+
VERSIONING_TYPE = 'stratioVersion-3-3'
7+
UPSTREAM_VERSION = '1.6.0'
8+
DEPLOYONPRS = true
9+
DEVTIMEOUT = 30
10+
ANCHORE_POLICY = "production"
11+
GRYPE_TEST = false
12+
13+
BUILDTOOL_MEMORY_REQUEST = "1024Mi"
14+
BUILDTOOL_MEMORY_LIMIT = "4096Mi"
15+
16+
DEV = { config ->
17+
doDocker(conf:config, dockerfile: 'Dockerfile', image:'cluster-api-provider-gcp')
18+
}
19+
}

Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -601,3 +601,6 @@ verify-gen: generate
601601
@if !(git diff --quiet HEAD); then \
602602
echo "generated files are out of date, run make generate"; exit 1; \
603603
fi
604+
605+
change-version:
606+
hack/custom/change-version.sh $(version)

VERSION

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.1.0-SNAPSHOT

hack/change-version.sh

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash -e
2+
3+
BASEDIR=`dirname $0`/../..
4+
5+
cd $BASEDIR
6+
7+
if [[ -z "$1" ]]; then
8+
VERSION=$(cat $BASEDIR/VERSION)
9+
else
10+
VERSION=$1
11+
fi
12+
13+
echo "Modifying cluster-api-provider-gcp version to: $1"
14+
echo $VERSION > VERSION

0 commit comments

Comments
 (0)