UNCLASSIFIED

Commit a511ddce authored by Priyal Patel's avatar Priyal Patel Committed by Adam Martin
Browse files

gitlab-triage initial development

parent 37db64f6
ARG BASE_REGISTRY=registry1.dso.mil
ARG BASE_IMAGE=ironbank/opensource/ruby/ruby27
ARG BASE_TAG=2.7.2
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
USER root
RUN groupadd -r gitlab-triage && \
useradd -m -r gitlab-triage -g gitlab-triage
COPY *.gem ./
RUN gem install gitlab-triage && \
rm -rf *.gem
USER gitlab-triage
WORKDIR /home/gitlab-triage
HEALTHCHECK NONE
ENTRYPOINT ["gitlab-triage"]
Copyright (c) 2011-2017 GitLab B.V.
With regard to the GitLab Software:
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
For all third party components incorporated into the GitLab Software, those
components are licensed under the original license provided by the owner of the
applicable component.
\ No newline at end of file
# <application name>
# gitlab-triage
Project template for all Iron Bank container repositories.
\ No newline at end of file
[`Gitlab-triage`](https://gitlab.com/gitlab-org/gitlab-triage) allows to automate triaging of issues and merge requests for GitLab projects or groups.
The gitlab-triage gem aims to enable project managers and maintainers to
automatically triage Issues and Merge Requests in GitLab projects or groups
based on defined policies.
_Referenced from: [`Gitlab-triage`](https://gitlab.com/gitlab-org/gitlab-triage)_
---
# Usage
Perform the following to see the help options:
docker run --rm -it registry1.dso.mil/ironbank/opensource/gitlab-triage:1.16.0 --help
See [`gitlab-triage`](https://gitlab.com/gitlab-org/gitlab-triage) for further documentation.
---
apiVersion: v1
# The repository name in registry1, excluding /ironbank/
name: "opensource/gitlab-triage/gitlab-triage"
tags:
- "1.16.0"
- "latest"
args:
BASE_IMAGE: "opensource/ruby/ruby27"
BASE_TAG: "2.7.2"
labels:
org.opencontainers.image.title: "gitlab-triage"
## Human-readable description of the software packaged in the image
org.opencontainers.image.description: "This image allows to automate triaging of issues and merge requests for GitLab projects or groups."
## License(s) under which contained software is distributed
org.opencontainers.image.licenses: "Copyright (c) 2011-2017 GitLab B.V."
## URL to find more information on the image
org.opencontainers.image.url: "https://gitlab.com/gitlab-org/gitlab-triage"
## Name of the distributing entity, organization or individual
org.opencontainers.image.vendor: "gitlab"
org.opencontainers.image.version: "1.16.0"
## Keywords to help with search
mil.dso.ironbank.image.keywords: "gitlab, triage, gitlab-triage"
## This value can be "opensource" or "commercial"
mil.dso.ironbank.image.type: "opensource"
# ## Product the image belongs to for grouping multiple images
mil.dso.ironbank.product.name: "gitlab-triage"
# List of resources to make available to the offline build context
resources:
- filename: mime-types-data-3.2021.0225.gem
url: https://rubygems.org/downloads/mime-types-data-3.2021.0225.gem
validation:
type: sha256
value: b1bae3b70776fc81794da9e727a53b60c38715ad7839e24fe337de0ffec10cde
- filename: mime-types-3.3.1.gem
url: https://rubygems.org/downloads/mime-types-3.3.1.gem
validation:
type: sha256
value: 708f737e28ceef48b9a1bc041aa9eec46fa36eb36acb95e6b64a9889131541fe
- filename: multi_xml-0.6.0.gem
url: https://rubygems.org/downloads/multi_xml-0.6.0.gem
validation:
type: sha256
value: d24393cf958adb226db884b976b007914a89c53ad88718e25679d7008823ad52
- filename: httparty-0.18.1.gem
url: https://rubygems.org/downloads/httparty-0.18.1.gem
validation:
type: sha256
value: 878fe8038e344b219dbba9e20c442914a2be251d2f4a20bcdeb31f25dcb2f79d
- filename: graphql-1.12.6.gem
url: https://rubygems.org/downloads/graphql-1.12.6.gem
validation:
type: sha256
value: f57c51231aa6207d103b205a7c17911fe77f0867f8bfc0a5a73c6a1231e4d4c0
- filename: concurrent-ruby-1.1.8.gem
url: https://rubygems.org/downloads/concurrent-ruby-1.1.8.gem
validation:
type: sha256
value: e35169e8e01c33cddc9d322e4e793a9bc8c3c00c967d206d17457e0d301f2257
- filename: minitest-5.14.2.gem
url: https://rubygems.org/downloads/minitest-5.14.2.gem
validation:
type: sha256
value: 9b401338e287c50cd2354353b4b781d3766d863cae413b2a1bf585d237131e9c
- filename: thread_safe-0.3.6.gem
url: https://rubygems.org/downloads/thread_safe-0.3.6.gem
validation:
type: sha256
value: 9ed7072821b51c57e8d6b7011a8e282e25aeea3a4065eab326e43f66f063b05a
- filename: tzinfo-1.2.9.gem
url: https://rubygems.org/downloads/tzinfo-1.2.9.gem
validation:
type: sha256
value: 725b865cc72ac00ef21f1413fe55e01400dfb95f6e7317c45848a3110cc4987f
- filename: i18n-1.8.9.gem
url: https://rubygems.org/downloads/i18n-1.8.9.gem
validation:
type: sha256
value: 62a877ff6b5fdb4c20ca614c6bfcd6abd7b426d883069e59ce41a6744758e622
- filename: activesupport-5.2.4.5.gem
url: https://rubygems.org/downloads/activesupport-5.2.4.5.gem
validation:
type: sha256
value: 8c25759e6c5df1de673e9bfc35e42f4c5e021d47a8dde103a00f17f1467ee43a
- filename: graphql-client-0.16.0.gem
url: https://rubygems.org/downloads/graphql-client-0.16.0.gem
validation:
type: sha256
value: 244fac646bbb86f1be5eac3d4baa310f894bca57268b80d0cc4367cf580e273d
- filename: globalid-0.4.2.gem
url: https://rubygems.org/downloads/globalid-0.4.2.gem
validation:
type: sha256
value: 61f72a3817e0d8ca0c382460847ed19b821805b5a9ad3204774b9cc976b37dfe
- filename: gitlab-triage-1.16.0.gem
url: https://rubygems.org/downloads/gitlab-triage-1.16.0.gem
validation:
type: sha256
value: 9bd0882511549f73a12cca16f72cec5d771fafa03a3fe37ba848a65e4fec0503
maintainers:
- email: "priyal.patel@lmco.com"
# The name of the current container owner
name: "Priyal Patel"
# The gitlab username of the current container owner
username: "priyal.patel"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment