Skip to content

Commit

Permalink
#901: remove cicdgen (#951)
Browse files Browse the repository at this point in the history
  • Loading branch information
Amueller36 authored Oct 21, 2022
1 parent 6d15e58 commit d9ebcad
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 124 deletions.
1 change: 0 additions & 1 deletion documentation/LICENSE.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ The following table shows the components that may be used. The column `inclusion
|https://jenkins.io/[Jenkins] |Optional|https://github.com/jenkinsci/jenkins/blob/master/LICENSE.txt[MIT]
|https://www.sonarsource.com/plans-and-pricing/community/[SonarQube (Community Edition)] |Optional|https://github.com/SonarSource/sonarqube/blob/master/LICENSE.txt[LGPL 3.0]
|https://www.sonarlint.org/eclipse/[SonarLint] |Optional|https://github.com/SonarSource/sonarlint-eclipse/blob/master/LICENSE.txt[LGPL 3+]
|https://github.com/devonfw/cicdgen[cicdgen] |Optional|https://github.com/devonfw/cicdgen/blob/develop/LICENSE.txt[ASL 2.0]
|https://github.com/devonfw/devon4j[devon4j] |Optional|https://github.com/devonfw/devon4j/blob/develop/LICENSE[ASL 2.0]
|https://github.com/devonfw/devon4ng[devon4ng] |Optional|https://github.com/devonfw/devon4ng/blob/master/LICENSE.txt[ASL 2.0]
|https://github.com/devonfw/devon4node[devon4node] |Optional|https://github.com/devonfw/devon4node/blob/develop/LICENSE.txt[ASL 2.0]
Expand Down
19 changes: 0 additions & 19 deletions documentation/cicdgen.asciidoc

This file was deleted.

1 change: 0 additions & 1 deletion documentation/ionic.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@ The arguments (`devon ionic «args»`) are explained by the following table:
|*Argument(s)* |*Meaning*
|`setup` |setup ionic (install and verify), link:configuration.asciidoc[configurable] via `IONIC_VERSION`
|`create` |Create a new https://github.com/devonfw/devon4ng/#devon4ng[devon4ng] ionic project.
|`cicd «args»` |generate cicd files for the current devon4ng project
|`«args»` |run ionic with the given arguments (`«args»`)
|=======================
1 change: 0 additions & 1 deletion documentation/java.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ The arguments (`devon java «args»`) are explained by the following table:
|`setup` |setup OpenJDK (install or update and verify), link:configuration.asciidoc[configurable] via `JAVA_VERSION` (e.g. `8u242b08` or `11.0.6_10`)
|create «args» |create a new Java project based on link:https://github.com/devonfw/devon4j/blob/master/documentation/tutorial-newapp.asciidoc[devon4j application template]. If a single argument is provided, this is the package name and is automatically split into `groupId` and `artifactId`. Use `-DdbType=«db»` to choose the database (hana, oracle, mssql, postgresql, mariadb, mysql, h2, hsqldb). Any option starting with dash is passed as is."
|`migrate [from «version»] [single]` |migrate a https://github.com/devonfw/devon4j[devon4j] project to the latest version. If for some reasons the current devonfw version can not be auto-detected you may provide it manually after the 'from' argument. Also the 'single' option allows to migrate only to the next available version."
|`cicd «args»` |generate cicd files for the current devon4java project
|=======================

Since `2021.12.003` an extra version of Java can be configured via `EXTRA_JAVA_VERSION` link:variables.asciidoc[variable]. This can be used to launch your IDE with a different (newer) version of Java but keeping the build of your project stable.
Expand Down
1 change: 0 additions & 1 deletion documentation/ng.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@ The arguments (`devon ng «args»`) are explained by the following table:
|*Argument(s)* |*Meaning*
|`setup` |setup angular (install and verify), link:configuration.asciidoc[configurable] via `NG_VERSION`
|`create` |Create a new https://github.com/devonfw/devon4ng/#devon4ng[devon4ng] project.
|`cicd «args»` |generate cicd files for the current devon4ng project
|`«args»` |run ng with the given arguments (`«args»`)
|=======================
1 change: 0 additions & 1 deletion documentation/node.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@ The arguments (`devon node «args»`) are explained by the following table:
|`create «name» [«args»]` | create a new devon4node application `(same as devon4node new)`
|`generate «s» [«args»]` | generate devon4node components using the schematic «s» `(same as devon4node generate)`
|`db «c» [«args»]` | execute a TypeORM command «c» `(same as devon4node db)`
|`cicd «args»` |generate cicd files for the current devon4node project
|`«args»` | call NodeJS with the specified arguments
|=======================
76 changes: 0 additions & 76 deletions scripts/src/main/resources/scripts/command/cicdgen

This file was deleted.

7 changes: 1 addition & 6 deletions scripts/src/main/resources/scripts/command/ionic
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if [ "${1}" = "shortlist" ]
then
if [ -z "${2}" ]
then
echo "setup create cicd help"
echo "setup create help"
fi
exit
fi
Expand Down Expand Up @@ -42,7 +42,6 @@ then
echo "Arguments:"
echo "setup setup ionic-cli (install and verify)"
echo "create create a new devon4ng ionic project"
echo "cicd «args» generate cicd files for the current devon4ng ionic project: $PWD"
echo "«args» call ionic with the specified arguments"
exit
fi
Expand All @@ -55,10 +54,6 @@ then
shift
doSetup silent
ionic start "${@}"
elif [ "${1}" = "cicd" ]
then
shift
doDevonCommand cicdgen ng "${*}"
else
doSetup silent
ionic "${@}"
Expand Down
7 changes: 1 addition & 6 deletions scripts/src/main/resources/scripts/command/java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if [ "${1}" = "shortlist" ]
then
if [ -z "${2}" ]
then
echo "setup version create migrate cicd help"
echo "setup version create migrate help"
elif [ "${2}" = "migrate" ]
then
shortlist3="from"
Expand Down Expand Up @@ -103,7 +103,6 @@ then
echo " the current devonfw version (e.g. oasp4j:2.6.0) can not be auto-detected you may provide"
echo " the version «v» manually after the 'from' argument. Also the 'single' option allows"
echo " to migrate only to the next available version."
echo " cicd «args» generate cicd files for the current project: $PWD"
elif [ -z "${1}" ] || [ "${1}" = "setup" ]
then
doSetup "${2}"
Expand All @@ -116,10 +115,6 @@ elif [ "${1}" = "migrate" ]
then
shift
doMigrate "${@}"
elif [ "${1}" = "cicd" ]
then
shift
doDevonCommand cicdgen java "${*}"
else
doFail "Unknown argument ${1}"
fi
7 changes: 1 addition & 6 deletions scripts/src/main/resources/scripts/command/ng
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if [ "${1}" = "shortlist" ]
then
if [ -z "${2}" ]
then
echo "setup create cicd help"
echo "setup create help"
fi
exit
fi
Expand Down Expand Up @@ -42,7 +42,6 @@ then
echo "Arguments:"
echo "setup setup angular-cli (install and verify)"
echo "create create a new devon4ng project"
echo "cicd «args» generate cicd files for the current devon4ng project: $PWD"
echo "«args» call ng with the specified arguments"
exit
fi
Expand All @@ -60,10 +59,6 @@ then
shift
doSetup silent
ng new "${@}"
elif [ "${1}" = "cicd" ]
then
shift
doDevonCommand cicdgen ng "${*}"
else
doSetup silent
"${NG_CMD}" "${@}"
Expand Down
7 changes: 1 addition & 6 deletions scripts/src/main/resources/scripts/command/node
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if [ "${1}" = "shortlist" ]
then
if [ -z "${2}" ]
then
echo "setup version create generate db cicd help"
echo "setup version create generate db help"
fi
exit
fi
Expand Down Expand Up @@ -58,7 +58,6 @@ case ${1} in
echo " create «name» [«args»] create a new devon4node application (same as devon4node new)"
echo " generate «s» [«args»] generate devon4node components using the schematic «s» (same as devon4node generate)"
echo " db «c» [«args»] execute a TypeORM command «c» (same as devon4node db)"
echo " cicd «args» generate cicd files for the current devon4node project: $PWD"
echo " «args» call NodeJS with the specified arguments"
exit
;;
Expand All @@ -78,10 +77,6 @@ case ${1} in
doSetupDevon4node
devon4node "${@}"
;;
"cicd")
shift
doDevonCommand cicdgen node "${*}"
;;
*)
doRun "${@}"
;;
Expand Down

0 comments on commit d9ebcad

Please sign in to comment.