Skip to content

Commit

Permalink
Add Stratio CI dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kahun committed Apr 24, 2024
1 parent 23676a4 commit f622454
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Changelog

## 1.6.0-0.1.0 (upcoming)

* Add the PRs that have not yet been merged
19 changes: 19 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@Library('libpipelines@master') _

hose {
EMAIL = '[email protected]'
BUILDTOOL = 'make'
VERSIONING_TYPE = 'stratioVersion-3-3'
UPSTREAM_VERSION = '1.6.0'
DEPLOYONPRS = true
DEVTIMEOUT = 30
ANCHORE_POLICY = "production"
GRYPE_TEST = false

BUILDTOOL_MEMORY_REQUEST = "1024Mi"
BUILDTOOL_MEMORY_LIMIT = "4096Mi"

DEV = { config ->
doDocker(conf:config, dockerfile: 'Dockerfile', image:'cluster-api-provider-gcp')
}
}
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -601,3 +601,6 @@ verify-gen: generate
@if !(git diff --quiet HEAD); then \
echo "generated files are out of date, run make generate"; exit 1; \
fi

change-version:
hack/custom/change-version.sh $(version)
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.0-SNAPSHOT
14 changes: 14 additions & 0 deletions hack/change-version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash -e

BASEDIR=`dirname $0`/../..

cd $BASEDIR

if [[ -z "$1" ]]; then
VERSION=$(cat $BASEDIR/VERSION)
else
VERSION=$1
fi

echo "Modifying cluster-api-provider-gcp version to: $1"
echo $VERSION > VERSION

0 comments on commit f622454

Please sign in to comment.