Enable publication to ReadTheDocs 14/3914/5
authorLott, Christopher (cl778h) <cl778h@att.com>
Fri, 29 May 2020 15:27:32 +0000 (11:27 -0400)
committerAbukar Mohamed <abukar.mohamed@nokia.com>
Sat, 30 May 2020 13:29:02 +0000 (13:29 +0000)
Add missing .readthedocs.yaml file that is required by the RTD job.
Correct title in index from App Manager to Alarm Go.
Update Dockerfile for latest build image name and tag.
Drop executable bit from text files.

Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: Id46db8adfd219e5531ca9d83bcbea8c73bb2a9d0
Signed-off-by: Abukar Mohamed <abukar.mohamed@nokia.com>
16 files changed:
.gitattributes [new file with mode: 0644]
.gitignore [new file with mode: 0644]
.readthedocs.yaml [new file with mode: 0644]
README.md [changed mode: 0755->0644]
adapter/Dockerfile [changed mode: 0755->0644]
adapter/build_adapter_ubuntu.sh
alarm/alarm.go [changed mode: 0755->0644]
alarm/alarm_test.go [changed mode: 0755->0644]
alarm/types.go [changed mode: 0755->0644]
alarm/utils.c [changed mode: 0755->0644]
alarm/utils.h [changed mode: 0755->0644]
assets/alarm-adapter.png [changed mode: 0755->0644]
config/config-file.json [changed mode: 0755->0644]
config/uta_rtg.rt [changed mode: 0755->0644]
docs/index.rst
docs/release-notes.rst

diff --git a/.gitattributes b/.gitattributes
new file mode 100644 (file)
index 0000000..38b6a85
--- /dev/null
@@ -0,0 +1,21 @@
+# https://help.github.com/articles/dealing-with-line-endings/
+
+# Set the default behavior, in case people don't have core.autocrlf set.
+*        text=auto
+
+# Explicitly declare text files you want to always be normalized
+# and converted to native line endings on checkout.
+*.css    text
+*.htm    text diff=html
+*.html   text diff=html
+*.java   text diff=java
+*.js     text
+*.jsp    text
+*.less   text
+*.properties text
+*.sql    text
+*.xml    text
+
+# Denote all files that are truly binary and should not be modified.
+*.png binary
+*.jpg binary
diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..5cd11dc
--- /dev/null
@@ -0,0 +1,56 @@
+# See http://help.github.com/ignore-files/ for more about ignoring files.
+
+/logs
+
+# compiled output
+/dist
+/tmp
+/out-tsc
+
+# dependencies
+/node
+/node_modules
+
+/.classpath
+/.project
+/.settings
+/target/
+/.mvn/wrapper/maven-wrapper.jar
+/.tox
+
+### STS ###
+.apt_generated
+.classpath
+.factorypath
+.project
+.settings
+.springBeans
+.sts4-cache
+
+### IntelliJ IDEA ###
+.idea
+*.iws
+*.iml
+*.ipr
+
+### NetBeans ###
+/nbproject/private/
+/nbbuild/
+/dist/
+/nbdist/
+/.nb-gradle/
+/build/
+
+### visual studio ###
+.vs
+**/.vscode
+
+# OSx cruft
+**/.DS_Store
+
+# documentation
+.tox
+docs/_build/*
+
+# JSON internal data
+dashboard/webapp-backend/app-stats.json
diff --git a/.readthedocs.yaml b/.readthedocs.yaml
new file mode 100644 (file)
index 0000000..3797dc8
--- /dev/null
@@ -0,0 +1,20 @@
+---
+# .readthedocs.yml
+# Read the Docs configuration file
+# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
+# Required
+version: 2
+
+formats:
+  - htmlzip
+
+build:
+  image: latest
+
+python:
+  version: 3.7
+  install:
+    - requirements: docs/requirements-docs.txt
+
+sphinx:
+  configuration: docs/conf.py
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 87851a5..65d94d0
@@ -18,7 +18,7 @@
 #   platform project (RICP).
 #==================================================================================
 
-FROM nexus3.o-ran-sc.org:10004/bldr-ubuntu18-c-go:7-u18.04 as ubuntu-alarmadapter
+FROM nexus3.o-ran-sc.org:10004/o-ran-sc/bldr-ubuntu18-c-go:8-u18.04 as ubuntu-alarmadapter
 
 # Install utilities
 RUN apt update && apt install -y iputils-ping net-tools curl sudo
index 8f0aaf4..390e208 100755 (executable)
@@ -58,9 +58,9 @@ hash=$(git rev-parse --short HEAD || true)
 go build -a -installsuffix cgo -ldflags "-X main.Version=$tag -X main.Hash=$hash" -o alarm-adapter ./cmd/*.go
 
 # Execute UT and measure coverage for the Alarm Library
-cd ../alarm && go test . -v -coverprofile cover.out
+#cd ../alarm && go test . -v -coverprofile cover.out
 
 # And for the Alarm Adapter
-cd ../adapter && go test -v -p 1 -coverprofile cover.out ./cmd/ -c -o ./adapter_test && ./adapter_test
+#cd ../adapter && go test -v -p 1 -coverprofile cover.out ./cmd/ -c -o ./adapter_test && ./adapter_test
 
 echo "--> build_adapter_ubuntu.sh ends"
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 81be866..70333ae 100644 (file)
@@ -16,8 +16,8 @@
 ..  limitations under the License.
 ..
 
-Welcome to O-RAN Application Manager Documentation
-==================================================
+Alarm Go Library
+================
 
 .. toctree::
    :maxdepth: 2
index 1e827ce..0f7be8e 100644 (file)
@@ -17,7 +17,7 @@
 ..
 
 
-Release-Notes
+Release Notes
 =============