Commit 1c00ef6a authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

feat: initial release

parents
Loading
Loading
Loading
Loading
Loading

.gitignore

0 → 100644
+26 −0
Original line number Diff line number Diff line
/target/
!.mvn/wrapper/maven-wrapper.jar

### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache

### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr

### NetBeans ###
/nbproject/private/
/build/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
 No newline at end of file

.gitlab-ci.yml

0 → 100644
+44 −0
Original line number Diff line number Diff line
include:
  - project: 'Orange-OpenSource/tbc/tools/gitlab-ci'
    ref: 'master'
    file: '/templates/validation.yml'
  - project: 'Orange-OpenSource/tbc/kicker'
    ref: 'master'
    file: '/templates/validation.yml'
  - project: 'Orange-OpenSource/tbc/bash'
    ref: '1.0.0'
    file: 'templates/gitlab-ci-bash.yml'

stages:
  - build
  - publish

variables:
  GITLAB_CI_FILES: "templates/gitlab-ci-s3.yml"
  BASH_SHELLCHECK_FILES: "*.sh"

extract-script:
  stage: .pre
  script:
    - echo "#!/bin/bash" > script.sh
    - sed -n '/BEGSCRIPT/,/ENDSCRIPT/p' "$GITLAB_CI_FILES" | sed 's/^  //' >> script.sh
    - export LC_ALL=C.UTF-8
  artifacts:
    when: always
    name: extracted template script
    expire_in: 1h
    paths:
      - script.sh

release:
  image: node:12
  stage: publish
  before_script:
    - npm install -g semantic-release @semantic-release/gitlab @semantic-release/exec @semantic-release/git
  script:
    - semantic-release
  only:
    refs:
      - master
    variables:
      - $TMPL_RELEASE_ENABLED
+53 −0
Original line number Diff line number Diff line
## Describe the bug

(Describe the problem clearly and concisely.)


## Expected behavior

(Describe the expected behavior clearly and concisely.)


## Actual behavior

(Describe the actual behavior clearly and concisely.)


## Logs and/or screenshots

(Join any relevant logs and/or screenshot. Please use code blocks (```) to format console output, logs, and code.)


## Context & Configuration

Link to a project, pipeline or job facing the bug: (please provide one if possible)

The issue was reproduced using:

* Version of the template: (type in the version)
* GitLab server(s): (Was it gitlab.com? A self-managed server? Which version? CE / EE? Which license?)
* GitLab runner(s): (type in any relevant information about the GitLab runner(s) you used)


Here is the `.gitlab-ci.yml` file:

```yaml
# Add your .gitlab-ci.yml here, if applicable and useful.

```

(If useful, list configured GitLab CI project and/or group variables.)

Configured GitLab CI project or group variables:

* `VARIABLE_1`
* `VARIABLE_2`
* ...


(Finally add any possible additional useful context info here.)




/label ~kind/bug ~status/needs-investigation
+11 −0
Original line number Diff line number Diff line
## Description

(Describe the feature clearly and concisely.)

## Implementation ideas

(If you have any implementation ideas, they can go here.)
(Any design change proposal could be also discussed on the _to be continuous_ Google Group: https://groups.google.com/g/tbc-dev.)


/label ~kind/enhancement ~status/needs-investigation
+15 −0
Original line number Diff line number Diff line
## Presentation

(Necessarily link to an issue. If it doesn't exist, please create one.)

Fixes #999

## Checklist

* Documented:
    * [ ] `README.md` reflects any job, variable or whichever visible change
    * [ ] `kicker.json` reflects any job, variable or whichever visible change
* Tested & examplified:
    * [ ] (url to a project sample successfully proving the merge request fixes the issue)

/label ~kind/fix