Skip to content

Commit

Permalink
feat(devel): split tasks to own namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoscode committed Jun 30, 2023
1 parent 11cdac6 commit db0151c
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 12 deletions.
26 changes: 26 additions & 0 deletions .tasks/app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# /********************************************************************************
# * Copyright (c) 2021,2023 Contributors to the Eclipse Foundation
# *
# * See the NOTICE file(s) distributed with this work for additional
# * information regarding copyright ownership.
# *
# * This program and the accompanying materials are made available under the
# * terms of the Apache License, Version 2.0 which is available at
# * https://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.
# *
# * SPDX-License-Identifier: Apache-2.0
# ********************************************************************************/

version: '3'

tasks:
build:
desc: Build the whole app
cmds:
- ./gradlew build -PgithubToken=$GITHUB_TOKEN $SKIP_GRADLE_TASKS_PARAM
27 changes: 27 additions & 0 deletions .tasks/helm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# /********************************************************************************
# * Copyright (c) 2021,2023 Contributors to the Eclipse Foundation
# *
# * See the NOTICE file(s) distributed with this work for additional
# * information regarding copyright ownership.
# *
# * This program and the accompanying materials are made available under the
# * terms of the Apache License, Version 2.0 which is available at
# * https://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.
# *
# * SPDX-License-Identifier: Apache-2.0
# ********************************************************************************/

version: '3'

tasks:
unittest:
desc: Executes helm unittests
dir: charts/managed-identity-wallet
cmds:
- helm unittest .
17 changes: 5 additions & 12 deletions Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,17 @@ includes:
internal: true
docker:
taskfile: .tasks/docker-{{OS}}.yaml
helm:
taskfile: .tasks/helm.yaml
app:
taskfile: .tasks/app.yaml

tasks:
check-prerequisites:
check-prereqs:
desc: Checks the local machine for all tools, which are used for MIW development
cmds:
- task: check:check-all

unittest:
desc: Executes helm unittests
dir: charts/managed-identity-wallet
cmds:
- helm unittest .

build-app:
desc: Build the whole app
cmds:
- ./gradlew build -PgithubToken=$GITHUB_TOKEN $SKIP_GRADLE_TASKS_PARAM

clean-all:
desc: Cleans everything...
cmds:
Expand Down

0 comments on commit db0151c

Please sign in to comment.