diff --git a/.ci/prepare b/.ci/prepare deleted file mode 100755 index c0e00aec1140b6d6fccf7522917bcf2641f57cd5..0000000000000000000000000000000000000000 --- a/.ci/prepare +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -VERSION=`curl -s https://api.github.com/repos/RocketChat/Rocket.Chat/tags | grep name | cut -d'"' -f4 | grep -v "rc\|develop" | grep "^$MAJOR_VERSION" | head -n1` - -echo "VERSION=$VERSION" diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 657ab727a4393cae49c9cb8b6aaf2aae39a50d1b..2d96be76db7275ff8b5217c4a0953d7882af66b2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,25 +1,12 @@ variables: DOCKER_HUB_REPO: libresh/rocketchat - MAJOR_VERSION: 4 - -prepare: - stage: .pre - image: - name: registry.gitlab.com/gitlab-ci-utils/curl-jq:latest - entrypoint: [""] - script: - - ./.ci/prepare > build.env - artifacts: - reports: - dotenv: build.env + VERSION: 4.8.3 test: stage: test image: name: gcr.io/kaniko-project/executor:debug entrypoint: [""] - dependencies: - - prepare script: - ./.ci/test_build except: @@ -31,8 +18,6 @@ push: image: name: gcr.io/kaniko-project/executor:debug entrypoint: [""] - dependencies: - - prepare script: - cp $DOCKER_SECRET_CONFIG /kaniko/.docker/config.json - ./.ci/build diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000000000000000000000000000000000000..d3a7ce0d4bad54adc50f775332a4ad0405244d81 --- /dev/null +++ b/renovate.json @@ -0,0 +1,12 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["config:base", ":automergeDisabled", "docker:disableMajor"], + "regexManagers": [ + { + "fileMatch": ["^.gitlab-ci.yml$"], + "matchStrings": ["VERSION: (?.*?)\\n"], + "depNameTemplate": "RocketChat/Rocket.Chat", + "datasourceTemplate": "github-releases" + } + ] +}