This repository has been archived by the owner on Jan 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #103 from open-ness/openness_release_2103
Openness release 2103
- Loading branch information
Showing
452 changed files
with
4,892 additions
and
7,571 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
/biosfw/ | ||
/logs/ | ||
*.pyc | ||
/group_vars/*/30_*_flavor.yml | ||
/inventory/default/group_vars/*/30_*_flavor.yml | ||
/inventory/automated/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# Copyright (c) 2021 Intel Corporation | ||
|
||
# Provide `ANSIBLE_LINT_VERBOSITY=-v make ansible-lint` to enable verbose output. | ||
# Switch required to verify CI. | ||
ANSIBLE_LINT_ARGS?= | ||
PIPENV_INSTALL_ARGS?=--user | ||
PIPENV_VERSION?=2020.11.15 | ||
|
||
install-dependencies: | ||
pip install $(PIPENV_INSTALL_ARGS) pipenv==$(PIPENV_VERSION) | ||
pipenv sync | ||
|
||
lint: ansible-lint pylint shellcheck | ||
|
||
ansible-lint: | ||
@pipenv run ansible-lint --version || (echo "pipenv is required, please run 'make install-dependencies'"; exit 1) | ||
pipenv run ansible-lint network_edge*.yml single_node_network_edge.yml --parseable-severity -c .ansible-lint $(ANSIBLE_LINT_VERBOSITY) | ||
|
||
pylint: | ||
@pipenv run pylint --version || (echo "pipenv is required, please run 'make install-dependencies'"; exit 1) | ||
find . -type f -name "*.py" | xargs pipenv run pylint | ||
|
||
shellcheck: | ||
@shellcheck --version || (echo "shellcheck is required, please install it from https://github.com/koalaman/shellcheck/releases/download/v0.7.1/shellcheck-v0.7.1.linux.x86_64.tar.xz"; exit 1) | ||
find . -type f -name "*.sh" | xargs shellcheck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# Copyright (c) 2021 Intel Corporation | ||
|
||
[[source]] | ||
url = "https://pypi.python.org/simple" | ||
verify_ssl = true | ||
name = "pypi" | ||
|
||
[packages] | ||
ansible = "==2.9.18" | ||
ansible-lint = "==4.2.0" | ||
jinja2 = "==2.11.3" | ||
pylint = "==2.7.2" | ||
netaddr = "==0.7.18" | ||
sh = "==1.14.1" | ||
# Force 3.2 due to security vulnabilities in 3.4.6 | ||
cryptography = "==3.2" | ||
|
||
[requires] | ||
python_version = "3.6" |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.