Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
856cba26
Commit
856cba26
authored
Dec 03, 2019
by
James Fargher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Extract buildpack detection
parent
204c5193
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
77 additions
and
77 deletions
+77
-77
lib/gitlab/ci/templates/Auto-DevOps.gitlab-ci.yml
lib/gitlab/ci/templates/Auto-DevOps.gitlab-ci.yml
+1
-77
lib/gitlab/ci/templates/Jobs/Detect-Buildpack.gitlab-ci.yml
lib/gitlab/ci/templates/Jobs/Detect-Buildpack.gitlab-ci.yml
+76
-0
No files found.
lib/gitlab/ci/templates/Auto-DevOps.gitlab-ci.yml
View file @
856cba26
...
...
@@ -72,84 +72,8 @@ stages:
-
performance
-
cleanup
workflow
:
rules
:
-
if
:
'
$BUILDPACK_URL
||
$AUTO_DEVOPS_EXPLICITLY_ENABLED
==
"1"'
-
exists
:
-
Dockerfile
# https://github.com/heroku/heroku-buildpack-clojure
-
exists
:
-
project.clj
# https://github.com/heroku/heroku-buildpack-go
-
exists
:
-
go.mod
-
Gopkg.mod
-
Godeps/Godeps.json
-
vendor/vendor.json
-
glide.yaml
-
src/**/*.go
# https://github.com/heroku/heroku-buildpack-gradle
-
exists
:
-
gradlew
-
build.gradle
-
settings.gradle
# https://github.com/heroku/heroku-buildpack-java
-
exists
:
-
pom.xml
-
pom.atom
-
pom.clj
-
pom.groovy
-
pom.rb
-
pom.scala
-
pom.yaml
-
pom.yml
# https://github.com/heroku/heroku-buildpack-multi
-
exists
:
-
.buildpacks
# https://github.com/heroku/heroku-buildpack-nodejs
-
exists
:
-
package.json
# https://github.com/heroku/heroku-buildpack-php
-
exists
:
-
composer.json
-
index.php
# https://github.com/heroku/heroku-buildpack-play
# TODO: detect script excludes some scala files
-
exists
:
-
'
**/conf/application.conf'
# https://github.com/heroku/heroku-buildpack-python
# TODO: detect script checks that all of these exist, not any
-
exists
:
-
requirements.txt
-
setup.py
-
Pipfile
# https://github.com/heroku/heroku-buildpack-ruby
-
exists
:
-
Gemfile
# https://github.com/heroku/heroku-buildpack-scala
-
exists
:
-
'
*.sbt'
-
project/*.scala
-
.sbt/*.scala
-
project/build.properties
# https://github.com/dokku/buildpack-nginx
-
exists
:
-
.static
include
:
-
template
:
Jobs/Detect-Buildpack.gitlab-ci.yml
# https://gitlab.com/gitlab-org/gitlab-foss/blob/master/lib/gitlab/ci/templates/Jobs/Detect-Buildpack.gitlab-ci.yml
-
template
:
Jobs/Build.gitlab-ci.yml
# https://gitlab.com/gitlab-org/gitlab-foss/blob/master/lib/gitlab/ci/templates/Jobs/Build.gitlab-ci.yml
-
template
:
Jobs/Test.gitlab-ci.yml
# https://gitlab.com/gitlab-org/gitlab-foss/blob/master/lib/gitlab/ci/templates/Jobs/Test.gitlab-ci.yml
-
template
:
Jobs/Code-Quality.gitlab-ci.yml
# https://gitlab.com/gitlab-org/gitlab-foss/blob/master/lib/gitlab/ci/templates/Jobs/Code-Quality.gitlab-ci.yml
...
...
lib/gitlab/ci/templates/Jobs/Detect-Buildpack.gitlab-ci.yml
0 → 100644
View file @
856cba26
workflow
:
rules
:
-
if
:
'
$BUILDPACK_URL
||
$AUTO_DEVOPS_EXPLICITLY_ENABLED
==
"1"'
-
exists
:
-
Dockerfile
# https://github.com/heroku/heroku-buildpack-clojure
-
exists
:
-
project.clj
# https://github.com/heroku/heroku-buildpack-go
-
exists
:
-
go.mod
-
Gopkg.mod
-
Godeps/Godeps.json
-
vendor/vendor.json
-
glide.yaml
-
src/**/*.go
# https://github.com/heroku/heroku-buildpack-gradle
-
exists
:
-
gradlew
-
build.gradle
-
settings.gradle
# https://github.com/heroku/heroku-buildpack-java
-
exists
:
-
pom.xml
-
pom.atom
-
pom.clj
-
pom.groovy
-
pom.rb
-
pom.scala
-
pom.yaml
-
pom.yml
# https://github.com/heroku/heroku-buildpack-multi
-
exists
:
-
.buildpacks
# https://github.com/heroku/heroku-buildpack-nodejs
-
exists
:
-
package.json
# https://github.com/heroku/heroku-buildpack-php
-
exists
:
-
composer.json
-
index.php
# https://github.com/heroku/heroku-buildpack-play
# TODO: detect script excludes some scala files
-
exists
:
-
'
**/conf/application.conf'
# https://github.com/heroku/heroku-buildpack-python
# TODO: detect script checks that all of these exist, not any
-
exists
:
-
requirements.txt
-
setup.py
-
Pipfile
# https://github.com/heroku/heroku-buildpack-ruby
-
exists
:
-
Gemfile
# https://github.com/heroku/heroku-buildpack-scala
-
exists
:
-
'
*.sbt'
-
project/*.scala
-
.sbt/*.scala
-
project/build.properties
# https://github.com/dokku/buildpack-nginx
-
exists
:
-
.static
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment