Skip to content

Commit 5277369

Browse files
committed
test(ci): add test workflow for reusable components
Signed-off-by: Árpád Csepi <[email protected]>
1 parent aeaa318 commit 5277369

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
name: test-reusable-components-action
5+
on:
6+
workflow_dispatch:
7+
push:
8+
branches:
9+
- "ci/create-reusable-deploy-actions"
10+
11+
jobs:
12+
run-tests-gateway:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0
19+
20+
- name: Setup Environment
21+
uses: ./.github/actions/deploy-components
22+
with:
23+
deploy-gateway: "true"
24+
deploy-directory: "true"
25+
install-kind-dependency: "true"
26+
install-taskfile-dependency: "true"
27+
28+
- name: Check deployments
29+
shell: bash
30+
run: |
31+
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
32+
33+
chmod +x kubectl && mv ./kubectl /usr/local/bin
34+
kubectl get deployments

0 commit comments

Comments
 (0)