Skip to content

Commit

Permalink
fixed output
Browse files Browse the repository at this point in the history
Signed-off-by: Tullio Sebastiani <[email protected]>
  • Loading branch information
tsebastiani committed Jan 16, 2024
1 parent 5943325 commit 8afab9c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/build.yml → .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Build Krkn
name: Functional & Unit Tests
on:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -51,15 +50,11 @@ jobs:
# run: python -m coverage run -a -m unittest discover -s tests -v
- name: Deploy test workloads
run: |
kubectl apply -f CI/templates/container_scenario_pod.yaml
kubectl wait --for=condition=ready pod -l scenario=container --timeout=300s
kubectl create namespace namespace-scenario
kubectl apply -f CI/templates/time_pod.yaml
kubectl wait --for=condition=ready pod -l scenario=time-skew --timeout=300s
- name: Get Kind nodes
run: |
kubectl get nodes --show-labels=true
Expand All @@ -80,10 +75,6 @@ jobs:
./CI/run.sh
cat ./CI/results.markdown >> $GITHUB_STEP_SUMMARY
echo >> $GITHUB_STEP_SUMMARY
- name: Print affected config files
run: |
echo -e "## CI/config/common_test_config.yaml\n\n"
cat CI/config/common_test_config.yaml
- name: Upload CI logs
uses: actions/upload-artifact@v3
with:
Expand Down
1 change: 0 additions & 1 deletion CI/run.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/bash
set -x
MAX_RETRIES=60

KUBECTL=`which kubectl 2>/dev/null`
Expand Down
1 change: 0 additions & 1 deletion CI/run_test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/bash
set -x
readonly SECONDS_PER_HOUR=3600
readonly SECONDS_PER_MINUTE=60
function get_time_format() {
Expand Down

0 comments on commit 8afab9c

Please sign in to comment.