Skip to content

Commit

Permalink
ci workflow added
Browse files Browse the repository at this point in the history
  • Loading branch information
biplamal committed Oct 16, 2023
1 parent 2ccb4d8 commit 6136fd9
Show file tree
Hide file tree
Showing 4 changed files with 623 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CICD

env:
GO_VERSION: "1.18"
ENV_GITHUB_USER: "biplamal"
ENV_GITHUB_PAT: "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"

on:
push:
pull_request:

jobs:
kne_b2b:
runs-on: ubuntu-22.04
steps:
- name: Checkout source
uses: actions/checkout@v3
- name: Setup docker
uses: docker-practice/actions-setup-docker@master
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Setup KNE cluster
run: |
GITHUB_USER=${{ env.ENV_GITHUB_USER }} GITHUB_PAT=${{ env.ENV_GITHUB_PAT }} ./do.sh new_k8s_cluster
- name: Deploy KNE OTG back-to-back topology
run: |
GITHUB_USER=${{ env.ENV_GITHUB_USER }} GITHUB_PAT=${{ env.ENV_GITHUB_PAT }} ./do.sh topo new kneb2b
- name: Teardown KNE OTG back-to-back topology
run: |
./do.sh topo rm kneb2b
45 changes: 45 additions & 0 deletions deployments/ixia-c-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: ixiatg-release-config
namespace: ixiatg-op-system
data:
versions: |
{
"release": "local",
"images": [
{
"name": "controller",
"path": "ghcr.io/open-traffic-generator/keng-controller",
"tag": "0.0.1-5318",
"env": {
"TRACE": "true",
}
},
{
"name": "gnmi-server",
"path": "ghcr.io/open-traffic-generator/otg-gnmi-server",
"tag": "1.12.8"
},
{
"name": "traffic-engine",
"path": "ghcr.io/open-traffic-generator/ixia-c-traffic-engine",
"tag": "1.6.0.85"
},
{
"name": "protocol-engine",
"path": "ghcr.io/open-traffic-generator/ixia-c-protocol-engine",
"tag": "1.00.0.332"
},
{
"name": "controller-community",
"path": "ghcr.io/open-traffic-generator/keng-controller",
"tag": "0.0.1-5318"
},
{
"name": "ixia-c-one",
"path": "ghcr.io/open-traffic-generator/ixia-c-one",
"tag": "0.0.1-5318"
}
]
}
20 changes: 20 additions & 0 deletions deployments/k8s/kne-manifests/ixia-c-b2b.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: ixia-c
nodes:
- name: otg
vendor: KEYSIGHT
version: local
services:
8443:
name: https
inside: 8443
40051:
name: grpc
inside: 40051
50051:
name: gnmi
inside: 50051
links:
- a_node: otg
a_int: eth1
z_node: otg
z_int: eth2
Loading

0 comments on commit 6136fd9

Please sign in to comment.