Skip to content

feat(cli): reduce redundancy on context to cluster flags in command deployment create #890

feat(cli): reduce redundancy on context to cluster flags in command deployment create

feat(cli): reduce redundancy on context to cluster flags in command deployment create #890

Workflow file for this run

##
# Copyright (C) 2023-2024 Hedera Hashgraph, LLC
#
# 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.
##
name: "Test Taskfile Commands"
# The purpose of this reusable workflow is to make sure task files are working as expected.
on:
workflow_dispatch:
workflow_call:
pull_request:
types:
- opened
- reopened
- synchronize
defaults:
run:
shell: bash
permissions:
contents: read
actions: read
jobs:
example-task-file-test:
timeout-minutes: 30
runs-on: solo-linux-large
strategy:
matrix:
type: ["NO_ACCOUNT_INIT", "ACCOUNT_INIT"]
steps:
- name: Harden Runner
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
with:
egress-policy: audit
- name: Checkout Code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Node
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: 20
cache: npm
- name: Setup Helm
uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
with:
version: "v3.12.3" # helm version
- name: Setup Kind
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
with:
install_only: true
node_image: kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
version: v0.21.0
kubectl_version: v1.28.6
verbosity: 3
wait: 120s
- name: Run Example Task File Test with type ${{ matrix.type }}
run: |
export CONSENSUS_NODE_VERSION=v0.58.3
task default
.github/workflows/script/solo_smoke_test.sh ${{ matrix.type }}
task clean