-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathproject.yaml
44 lines (41 loc) · 2.48 KB
/
project.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# ********************************************************
#
# Project: nita
#
# Copyright (c) Juniper Networks, Inc., 2021. All rights reserved.
#
# Notice and Disclaimer: This code is licensed to you under the Apache 2.0 License (the "License"). You may not use this code except in compliance with the License. This code is not an official Juniper product. You can obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0.html
#
# SPDX-License-Identifier: Apache-2.0
#
# Third-Party Code: This code may depend on other components under separate copyright notice and license terms. Your use of the source code for those components is subject to the terms and conditions of the respective license as noted in the Third-Party source code file.
#
# ********************************************************
description: EVPN VLXAN ERB Data Center
name: evpn_vxlan_erb_dc_1.3
action:
- name: Build
jenkins_url: build_qfx_fabric
#must be one of NOOB, BUILD or TEST
category: BUILD
configuration:
shell_command: 'write_yaml_files.py; python3 create_ansible_job_k8s.py build juniper/nita-ansible:22.8-2; kubectl apply -f build.yaml; kubectl wait --for=jsonpath="{.status.ready}"=1 job/build; kubectl logs job/build -f'
- name: Build base config
jenkins_url: base_qfx_fabric
#must be one of NOOB, BUILD or TEST
category: BUILD
configuration:
shell_command: 'write_yaml_files.py; python3 create_ansible_job_k8s.py base juniper/nita-ansible:22.8-2; kubectl apply -f base.yaml; kubectl wait --for=jsonpath="{.status.ready}"=1 job/base; kubectl logs job/base -f'
- name: Dump configuration
jenkins_url: dump_qfx_fabric
#must be one of NOOB, BUILD or TEST
category: BUILD
configuration:
shell_command: 'write_yaml_files.py; python3 create_ansible_job_k8s.py dump juniper/nita-ansible:22.8-2; kubectl apply -f dump.yaml; kubectl wait --for=jsonpath="{.status.ready}"=1 job/dump; kubectl logs job/dump -f'
- name: Test
jenkins_url: test_qfx_fabric
#must be one of NOOB, BUILD or TEST
category: TEST
configuration:
shell_command: 'write_yaml_files.py; python3 robot.py job-ansible juniper/nita-ansible:22.8-2 job-robot juniper/nita-robot:22.8-2; kubectl apply -f job-ansible.yaml; kubectl wait --for=jsonpath="{.status.ready}"=1 job/job-ansible; kubectl logs job/job-ansible -f; kubectl apply -f job-robot.yaml; kubectl wait --for=jsonpath="{.status.ready}"=1 job/job-robot; kubectl logs job/job-robot -f'
output_path: test/outputs