Skip to content

Add tenant name to droplog #148

Add tenant name to droplog

Add tenant name to droplog #148

Workflow file for this run

name: "Code scanning - action"
on:
push:
branches: [master]
pull_request:
jobs:
CodeQL-Build:
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
queries: security-and-quality
languages: cpp
config-file: ./.github/codeql-filters.yml
# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
- name: Install Needed Packages
run: |
sudo apt-get update --fix-missing
sudo apt-get install libboost-all-dev libuv1-dev openssl libssl-dev rapidjson-dev autoconf openjdk-11-jdk-headless maven texlive-font-utils python-six cmake
- name: Setup Dependencies
run: |
wget https://travisci-static-artifacts-dd485362-9714-11ea-bb37-0242ac130002.s3.us-east-2.amazonaws.com/artifacts.tgz
tar -xvzf artifacts.tgz
sudo dpkg -i libnoiro-openvswitch_2.12.0-1_amd64.deb
sudo dpkg -i libnoiro-openvswitch-dev_2.12.0-1_amd64.deb
sudo dpkg -i prometheus-cpp_1.0.1_amd64.deb
- name: Build
run: |
export PATH=$PATH:./bin
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$LGTM_WORKSPACE/lib/pkgconfig
pushd libopflex
./autogen.sh
./configure --prefix=$ROOT
make -j2
sudo make install
popd
pushd genie
mvn compile exec:java
pushd target/libmodelgbp
bash autogen.sh
./configure --prefix=$ROOT
make
sudo make install
popd
popd
pushd agent-ovs
./autogen.sh
export CPPFLAGS=-I$ROOT/include
export LDFLAGS=-L$ROOT/lib
./configure --prefix=$ROOT
make -j2
popd
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2