Skip to content

Commit

Permalink
cicd: fixes for redhat runner
Browse files Browse the repository at this point in the history
  • Loading branch information
TrekkieCoder committed Apr 11, 2024
1 parent f6758ef commit 2f4b944
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .github/workflows/tcp-sanity-rh9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,36 @@ jobs:
./validation.sh
./rmconfig.sh
cd -
- run: |
cd cicd/tcplbmark/
./config.sh
./validation.sh
./rmconfig.sh
cd -
- run: |
cd cicd/tcplbdsr1/
./config.sh
./validation.sh
./rmconfig.sh
cd -
- run: |
cd cicd/tcplbdsr2/
./config.sh
./validation.sh
./rmconfig.sh
cd -
- run: |
cd cicd/tcplbl3dsr/
./config.sh
./validation.sh
./rmconfig.sh
cd -
- run: |
cd cicd/tcplbhash/
./config.sh
./validation.sh
./rmconfig.sh
cd -
- name: Clean test-bed
if: success() || failure()
run: |
Expand Down
6 changes: 5 additions & 1 deletion cicd/common/tcp_server.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
var http = require('http');
var port = 8080
if (process.argv[3]) {
port = 2020
}
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/html'});
res.end(process.argv[2]);
}).listen(8080);
}).listen(port);

0 comments on commit 2f4b944

Please sign in to comment.