Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TFS
controller
Merge requests
!10
Tutorials cleanup
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Tutorials cleanup
feat/tutorial
into
develop
Overview
0
Commits
10
Pipelines
0
Changes
22
Merged
Lluis Gifre Renom
requested to merge
feat/tutorial
into
develop
2 years ago
Overview
0
Commits
10
Pipelines
0
Changes
22
Expand
updated code repository to clone from
0
0
Merge request reports
Compare
develop
version 3
8386cb51
2 years ago
version 2
f0eae51d
2 years ago
version 1
a592187d
2 years ago
develop (base)
and
latest version
latest version
9e65e44d
10 commits,
2 years ago
version 3
8386cb51
9 commits,
2 years ago
version 2
f0eae51d
8 commits,
2 years ago
version 1
a592187d
7 commits,
2 years ago
22 files
+
695
−
252
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
22
Search (e.g. *.vue) (Ctrl+P)
scripts/create_component.sh
0 → 100755
+
39
−
0
Options
#!/bin/bash
# Copyright 2021-2023 H2020 TeraFlow (https://www.teraflow-h2020.eu/)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
COMPONENT_NAME
=
$1
PROJECTDIR
=
`
pwd
`
mkdir
-p
${
PROJECTDIR
}
/src/
${
COMPONENT_NAME
}
mkdir
-p
${
PROJECTDIR
}
/src/
${
COMPONENT_NAME
}
/client
mkdir
-p
${
PROJECTDIR
}
/src/
${
COMPONENT_NAME
}
/service
mkdir
-p
${
PROJECTDIR
}
/src/
${
COMPONENT_NAME
}
/tests
touch
${
PROJECTDIR
}
/src/
${
COMPONENT_NAME
}
/client/__init__.py
touch
${
PROJECTDIR
}
/src/
${
COMPONENT_NAME
}
/service/__init__.py
touch
${
PROJECTDIR
}
/src/
${
COMPONENT_NAME
}
/tests/__init__.py
touch
${
PROJECTDIR
}
/src/
${
COMPONENT_NAME
}
/.gitlab-ci.yml
touch
${
PROJECTDIR
}
/src/
${
COMPONENT_NAME
}
/__init__.py
touch
${
PROJECTDIR
}
/src/
${
COMPONENT_NAME
}
/Config.py
touch
${
PROJECTDIR
}
/src/
${
COMPONENT_NAME
}
/Dockerfile
touch
${
PROJECTDIR
}
/src/
${
COMPONENT_NAME
}
/requirements.in
cd
${
PROJECTDIR
}
/src
python gitlab-ci.yml_generator.py
-t
latest forecaster
cd
${
PROJECTDIR
}
/src/
${
COMPONENT_NAME
}
mv
.gitlab-ci.yml gitlab-ci.yaml
${
PROJECTDIR
}
/scripts/add_license_header_to_files.sh
mv
gitlab-ci.yaml .gitlab-ci.yml
Loading