From 2e37eddfa79d36d01b8881b47984fb7242162edf Mon Sep 17 00:00:00 2001 From: shachar2000 Date: Mon, 16 Sep 2024 13:40:37 +0300 Subject: [PATCH 1/3] Provide CI/CD Pipeline For The Project --- .github/workflows/Test disko.yml | 129 +++++++++++++++++++++++++++++++ requirements.txt | 8 +- 2 files changed, 136 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/Test disko.yml diff --git a/.github/workflows/Test disko.yml b/.github/workflows/Test disko.yml new file mode 100644 index 00000000..2ac9b1ea --- /dev/null +++ b/.github/workflows/Test disko.yml @@ -0,0 +1,129 @@ +name: Test disko + +on: + push: + branches: [ "ygal" ] + +jobs: + TestStatistic: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: '3.10' + + - name: Installing requirements + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + + - name: install kind cluster + run: | + [ $(uname -m) = x86_64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.24.0/kind-linux-amd64 + chmod +x ./kind + sudo mv ./kind /usr/local/bin/kind + + cat > kind_install.yaml < Date: Mon, 16 Sep 2024 13:47:02 +0300 Subject: [PATCH 2/3] Update Test disko.yml fix the workflow file --- .github/workflows/Test disko.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Test disko.yml b/.github/workflows/Test disko.yml index 2ac9b1ea..e8920266 100644 --- a/.github/workflows/Test disko.yml +++ b/.github/workflows/Test disko.yml @@ -2,7 +2,7 @@ name: Test disko on: push: - branches: [ "ygal" ] + branches: [ "main" ] jobs: TestStatistic: @@ -126,4 +126,4 @@ jobs: # echo "✅ Copy images test was completed successfully!" # else # echo "❌ Copy images test was failed!" - # fi \ No newline at end of file + # fi From 66d8def6c27833ee902ba9a0e665d271be97722f Mon Sep 17 00:00:00 2001 From: Daniel Kallner Date: Tue, 8 Oct 2024 06:22:36 -0700 Subject: [PATCH 3/3] Update Test disko.yml remove comments at the bottom --- .github/workflows/Test disko.yml | 36 -------------------------------- 1 file changed, 36 deletions(-) diff --git a/.github/workflows/Test disko.yml b/.github/workflows/Test disko.yml index e8920266..90707e54 100644 --- a/.github/workflows/Test disko.yml +++ b/.github/workflows/Test disko.yml @@ -91,39 +91,3 @@ jobs: run: | pytest test_cluster_migration.py echo "✅ Copy images test was completed successfully!" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # exit_code=$? - # if [ $exit_code -eq "0" ]; then - # echo "✅ Copy images test was completed successfully!" - # else - # echo "❌ Copy images test was failed!" - # fi