Skip to content

Commit 15d54c7

Browse files
author
Kerkesni
committed
enable oob tests
Issue: ZENKO-4414
1 parent ddb44ab commit 15d54c7

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/scripts/end2end/patch-coredns.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ corefile="
3636
rewrite name exact prom.dr.zenko.local ingress-nginx-controller.ingress-nginx.svc.cluster.local
3737
rewrite name exact shell-ui.dr.zenko.local ingress-nginx-controller.ingress-nginx.svc.cluster.local
3838
rewrite name exact website.mywebsite.com ingress-nginx-controller.ingress-nginx.svc.cluster.local
39+
rewrite name exact s3c.local s3c-cloudserver.metadata.svc.cluster.local
3940
kubernetes cluster.local in-addr.arpa ip6.arpa {
4041
pods insecure
4142
fallthrough in-addr.arpa ip6.arpa

.github/workflows/end2end.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ env:
7575
GCP_BACKEND_SERVICE_KEY: ${{ secrets.GCP_BACKEND_SERVICE_KEY }}
7676
GCP_BACKEND_SERVICE_EMAIL: ${{ secrets.GCP_BACKEND_SERVICE_EMAIL }}
7777
# Enable this for Ring tests
78-
ENABLE_RING_TESTS: "false"
79-
RING_S3C_ACCESS_KEY: ${{ secrets.RING_S3C_BACKEND_ACCESS_KEY }}
80-
RING_S3C_SECRET_KEY: ${{ secrets.RING_S3C_BACKEND_SECRET_KEY }}
81-
RING_S3C_ENDPOINT: ${{ secrets.RING_S3C_BACKEND_ENDPOINT }}
78+
ENABLE_RING_TESTS: "true"
79+
RING_S3C_ACCESS_KEY: accessKey1
80+
RING_S3C_SECRET_KEY: verySecretKey1
81+
RING_S3C_ENDPOINT: http://s3c.local:8000
8282
RING_S3C_BACKEND_SOURCE_LOCATION: rings3cbackendingestion
8383
RING_S3C_INGESTION_SRC_BUCKET_NAME: ingestion-test-src-bucket-${{ github.run_id }}-${{ github.run_attempt }}
8484
# CTST end2end tests

tests/zenko_tests/node_tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"test_operator": "mocha --tags ${MOCHA_TAGS} --exit -t 10000 --reporter mocha-multi-reporters --reporter-options configFile=config.json ./init_test.js",
5454
"test_smoke": "mocha --tags ${MOCHA_TAGS} --exit -t 10000 --reporter mocha-multi-reporters --reporter-options configFile=config.json --recursive smoke_tests",
5555
"test_iam_policies": "mocha --tags ${MOCHA_TAGS} --exit -t 15000 --reporter mocha-multi-reporters --reporter-options configFile=config.json --recursive iam_policies",
56-
"test_all_extensions": "run-p --aggregate-output test_aws_crr test_expiration test_transition",
56+
"test_all_extensions": "run-p --aggregate-output test_aws_crr test_expiration test_transition test_ingestion_oob_s3c",
5757
"test_object_api": "mocha --tags ${MOCHA_TAGS} --exit -t 10000 --reporter mocha-multi-reporters --reporter-options configFile=config.json --recursive cloudserver/keyFormatVersion/tests",
5858
"lint": "eslint $(find . -name '*.js' -not -path '*/node_modules/*')"
5959
},

0 commit comments

Comments
 (0)