-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only enable the CentOS 9 opstools repo
- Loading branch information
Showing
12 changed files
with
27 additions
and
37 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name: Integration testing | ||
env: | ||
PROJECT_ROOT: /root/go/src/github.com/infrawatch/sg-core | ||
OPENSTACK_REPO: https://trunk.rdoproject.org/centos9-caracal/delorean-deps.repo | ||
OPSTOOLS_REPO: https://trunk.rdoproject.org/centos9-caracal/delorean-deps.repo | ||
|
||
QDR_IMAGE: quay.io/interconnectedcloud/qdrouterd:1.17.0 | ||
QDR_VOLUME: "--volume=${{ github.workspace }}/ci/service_configs/qdr:/etc/qpid-dispatch:ro" | ||
|
@@ -74,7 +74,7 @@ jobs: | |
if: steps.bridge_branch.outcome == 'success' | ||
run: | | ||
docker run --name=sgbridge --network host $BRIDGE_VOLUME -d -uroot \ | ||
-e GITHUB_HEAD_REF -e BRIDGE_SOCKET -e QDR_CHANNEL -e OPENSTACK_REPO \ | ||
-e GITHUB_HEAD_REF -e BRIDGE_SOCKET -e QDR_CHANNEL -e OPSTOOLS_REPO \ | ||
--workdir=$(dirname $BRIDGE_SOCKET) --volume ${{ github.workspace }}:$PROJECT_ROOT:z \ | ||
$TEST_IMAGE bash $PROJECT_ROOT/ci/integration/metrics/run_bridge.sh | ||
- name: Install collectd | ||
|
@@ -86,7 +86,7 @@ jobs: | |
sudo collectd -C ci/integration/metrics/collectd/collectd.conf | ||
- name: Run sg-core to process metrics | ||
run: | | ||
docker run --name=sgcore -d -uroot --network host $BRIDGE_VOLUME -e OPENSTACK_REPO \ | ||
docker run --name=sgcore -d -uroot --network host $BRIDGE_VOLUME -e OPSTOOLS_REPO \ | ||
--volume ${{ github.workspace }}:$PROJECT_ROOT:z --workdir $PROJECT_ROOT \ | ||
$TEST_IMAGE bash $PROJECT_ROOT/ci/integration/metrics/collectd/run_sg.sh | ||
- name: Run Prometheus to store metrics | ||
|
@@ -170,7 +170,7 @@ jobs: | |
if: steps.bridge_branch.outcome == 'success' | ||
run: | | ||
docker run --name=sgbridge --network host $BRIDGE_VOLUME -d -uroot \ | ||
-e GITHUB_HEAD_REF -e BRIDGE_SOCKET -e QDR_CHANNEL -e OPENSTACK_REPO \ | ||
-e GITHUB_HEAD_REF -e BRIDGE_SOCKET -e QDR_CHANNEL -e OPSTOOLS_REPO \ | ||
--workdir=$(dirname $BRIDGE_SOCKET) --volume ${{ github.workspace }}:$PROJECT_ROOT:z \ | ||
$TEST_IMAGE bash $PROJECT_ROOT/ci/integration/metrics/run_bridge.sh | ||
- name: Set Ceilometer pipelines to QDR output and restart notification agent | ||
|
@@ -186,7 +186,7 @@ jobs: | |
sudo systemctl restart [email protected] | ||
- name: Run sg-core to process metrics | ||
run: | | ||
docker run --name=sgcore -d -uroot --network host $BRIDGE_VOLUME -e OPENSTACK_REPO \ | ||
docker run --name=sgcore -d -uroot --network host $BRIDGE_VOLUME -e OPSTOOLS_REPO \ | ||
--volume ${{ github.workspace }}:$PROJECT_ROOT:z --workdir $PROJECT_ROOT \ | ||
$TEST_IMAGE bash $PROJECT_ROOT/ci/integration/metrics/ceilometer/bridge/run_sg.sh | ||
- name: Run Prometheus to store metrics | ||
|
@@ -263,7 +263,7 @@ jobs: | |
sudo systemctl restart [email protected] | ||
- name: Run sg-core to process metrics | ||
run: | | ||
docker run --name=sgcore -d -uroot --network host $BRIDGE_VOLUME -e OPENSTACK_REPO \ | ||
docker run --name=sgcore -d -uroot --network host $BRIDGE_VOLUME -e OPSTOOLS_REPO \ | ||
--volume ${{ github.workspace }}:$PROJECT_ROOT:z --workdir $PROJECT_ROOT \ | ||
$TEST_IMAGE bash $PROJECT_ROOT/ci/integration/metrics/ceilometer/tcp/run_sg.sh | ||
- name: Run Prometheus to store metrics | ||
|
@@ -333,7 +333,7 @@ jobs: | |
- name: Start sg-bridge with same branch | ||
if: steps.bridge_branch.outcome == 'success' | ||
run: | | ||
docker run --name=sgbridge $BRIDGE_VOLUME -d -uroot --network host -e OPENSTACK_REPO \ | ||
docker run --name=sgbridge $BRIDGE_VOLUME -d -uroot --network host -e OPSTOOLS_REPO \ | ||
-e GITHUB_HEAD_REF -e BRIDGE_SOCKET --workdir=$(dirname $BRIDGE_SOCKET) --volume ${{ github.workspace }}:$PROJECT_ROOT:z \ | ||
$TEST_IMAGE bash $PROJECT_ROOT/ci/integration/logging/run_bridge.sh | ||
- name: Run rsyslog to produce log messages | ||
|
@@ -395,7 +395,7 @@ jobs: | |
# run integration tests | ||
- name: Run sg-core to process log messages | ||
run: | | ||
docker run --name=sgcore -d -uroot --network host $TEST_PORT $BRIDGE_VOLUME -e OPENSTACK_REPO \ | ||
docker run --name=sgcore -d -uroot --network host $TEST_PORT $BRIDGE_VOLUME -e OPSTOOLS_REPO \ | ||
--volume ${{ github.workspace }}:$PROJECT_ROOT:z --workdir $PROJECT_ROOT \ | ||
$TEST_IMAGE bash $PROJECT_ROOT/ci/integration/logging/run_sg.sh | ||
- name: sg-core debug output | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# CentOS 9 Opstools repos | ||
|
||
[centos9-opstools] | ||
name=centos9-opstools | ||
baseurl=http://mirror.stream.centos.org/SIGs/9-stream/opstools/$basearch/collectd-5/ | ||
enabled=1 | ||
gpgcheck=0 | ||
module_hotfixes=1 |
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 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