File tree 6 files changed +39
-499
lines changed
6 files changed +39
-499
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ get_latest_release() {
27
27
}
28
28
29
29
# Install CNF-TestSuite
30
- LATEST_RELEASE=$( get_latest_release cncf/cnf- testsuite)
30
+ LATEST_RELEASE=$( get_latest_release cnti-testcatalog/ testsuite)
31
31
mkdir -p ~ /.cnf-testsuite
32
- curl --silent -L https://github.com/cncf/cnf- testsuite/releases/download/$LATEST_RELEASE /cnf-testsuite-$LATEST_RELEASE .tar.gz -o ~ /.cnf-testsuite/cnf-testsuite.tar.gz
32
+ curl --silent -L https://github.com/cnti-testcatalog/ testsuite/releases/download/$LATEST_RELEASE /cnf-testsuite-$LATEST_RELEASE .tar.gz -o ~ /.cnf-testsuite/cnf-testsuite.tar.gz
33
33
tar -C ~ /.cnf-testsuite -xf ~ /.cnf-testsuite/cnf-testsuite.tar.gz
34
34
rm ~ /.cnf-testsuite/cnf-testsuite.tar.gz
35
35
Original file line number Diff line number Diff line change @@ -51,8 +51,9 @@ module UERANSIM
51
51
Log .info { " Found ueransim ... deleting" }
52
52
Helm .delete(" ueransim" )
53
53
end
54
- Helm .helm_repo_add(" openverso" ," https://gradiant.github.io/openverso-charts/" )
55
- Helm .fetch(" openverso/ueransim-gnb --version 0.2.5 --untar" )
54
+ # Helm.helm_repo_add("openverso","https://gradiant.github.io/openverso-charts/")
55
+ # Helm.fetch("openverso/ueransim-gnb --version 0.2.5 --untar")
56
+ Helm .fetch(" oci://registry-1.docker.io/gradiant/ueransim-gnb --version 0.2.5 --untar" )
56
57
57
58
protectionScheme = config.cnf_config[:fiveG_core ][:protectionScheme ]
58
59
unless protectionScheme.empty?
Original file line number Diff line number Diff line change 1
- FROM myoung34/github-runner:2.303 .0-ubuntu-bionic
1
+ FROM myoung34/github-runner:2.313 .0-ubuntu-bionic
2
2
3
3
ARG CRYSTAL_VERSION=1.6.2
4
4
ARG CRYSTAL_URL=https://github.com/crystal-lang/crystal/releases/download
@@ -11,7 +11,7 @@ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg --o
11
11
12
12
RUN mkdir /crystal && \
13
13
wget -O /crystal/crystal.tar.gz "$CRYSTAL_URL/$CRYSTAL_VERSION/crystal-$CRYSTAL_VERSION-1-linux-x86_64.tar.gz" --progress=dot:giga && \
14
- tar -xf /crystal/crystal.tar.gz -C /tmp && \
14
+ tar -xf /crystal/crystal.tar.gz -C /crystal && \
15
15
chmod +x /crystal/crystal-${CRYSTAL_VERSION}-1/bin/crystal && \
16
16
chmod +x /crystal/crystal-${CRYSTAL_VERSION}-1/bin/shards && \
17
17
ln -s /crystal/crystal-${CRYSTAL_VERSION}-1/bin/crystal /usr/local/bin/crystal && \
Original file line number Diff line number Diff line change 3
3
RUNNERS=(
4
4
136.144.55.87
5
5
136.144.55.243
6
- 139.178.69.151
7
- 139.178.69.153
8
- 139.178.68.167
9
- 86.109.1.243
10
- 139.178.68.111
11
- 139.178.68.103
12
- 139.178.68.93
13
- 139.178.68.107
14
- 136.144.54.249)
6
+ 139.178.69.151)
15
7
16
8
17
9
# TOKEN=$(curl -XPOST -H "authorization: token ${GITHUB_TOKEN}" https://api.github.com/repos/cncf/cnf-testsuite/actions/runners/registration-token | jq -r .token)
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
RUNNERS=(
4
- 136.144.55.87
5
- 136.144.55.243
6
- 139.178.69.151
7
- 139.178.69.153
8
- 139.178.68.167
9
- 86.109.1.243
10
- 139.178.68.111
11
- 139.178.68.103
12
- 139.178.68.93
13
- 139.178.68.107
14
- 136.144.54.249)
4
+ 136.144.55.87
5
+ 136.144.55.243
6
+ 139.178.69.151)
15
7
16
8
VIPS=(
17
9
147.75.89.176/28
18
10
147.75.108.64/28
19
- 147.75.202.0/28
20
- 147.75.202.80/28
21
- 147.75.88.0/28
22
- 147.75.202.112/28
23
- 147.75.203.112/28
24
- 147.75.203.144/28
25
- 147.75.203.160/28
26
- 147.75.203.176/28
27
- 147.75.203.192/28)
11
+ 147.75.202.0/28)
28
12
29
13
30
14
RUNNER_COUNT=0
31
15
for node in " ${! RUNNERS[@]} " ; do
32
- export RUNNER_IMAGE=" conformance/github-runner:v2.303.0-4 " # don't forget the v
16
+ export RUNNER_IMAGE=" conformance/github-runner:v2.313.0 " # don't forget the v
33
17
ssh root@${RUNNERS[$node]} " docker pull $RUNNER_IMAGE "
34
18
RUNNERS_PER_NODE=4
35
19
until [ $RUNNERS_PER_NODE -eq 0 ]; do
36
- ssh root@${RUNNERS[$node]} " docker run -d --network host --restart always --name github-runner$RUNNER_COUNT -e REPO_URL=" https://github.com/cncf/cnf- testsuite" -e RUNNER_NAME=" runner$RUNNER_COUNT " -e RUNNER_TOKEN=" $TOKEN " -e RUNNER_WORKDIR=" /github-runner-cnf-testsuite" -e LABELS=" v1.0.0" -v /var/run/docker.sock:/var/run/docker.sock -v /runner-tmp/runner$RUNNER_COUNT :/tmp -v /github-runner-cnf-testsuite/cnf-testsuite/cnf-testsuite/tools:/docker-host-repo/tools -v /shared:/shared $RUNNER_IMAGE "
20
+ ssh root@${RUNNERS[$node]} " docker run -d --network host --restart always --name github-runner$RUNNER_COUNT -e REPO_URL=" https://github.com/cnti-testcatalog/ testsuite" -e RUNNER_NAME=" runner$RUNNER_COUNT " -e RUNNER_TOKEN=" $TOKEN " -e RUNNER_WORKDIR=" /github-runner-cnf-testsuite" -e LABELS=" v1.0.0" -v /var/run/docker.sock:/var/run/docker.sock -v /runner-tmp/runner$RUNNER_COUNT :/tmp -v /github-runner-cnf-testsuite/cnf-testsuite/cnf-testsuite/tools:/docker-host-repo/tools -v /shared:/shared $RUNNER_IMAGE "
37
21
RUNNER_COUNT=$(( $RUNNER_COUNT + 1 ))
38
22
RUNNERS_PER_NODE=$(( $RUNNERS_PER_NODE - 1 ))
39
23
done
You can’t perform that action at this time.
0 commit comments