From dcef5f02a34ce6d6accc6489822b02bbf4c0ad5d Mon Sep 17 00:00:00 2001 From: Phani Kumar Mallampati Date: Mon, 17 Jun 2024 12:12:30 -0700 Subject: [PATCH 01/26] Migrate Jenkins CI to github actions for sift-dotnet git repo --- .github/workflows/ci-workflow.yml | 48 +++++++++++++++++++++++++++++++ .idea/workspace.xml | 39 +++++++++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 .github/workflows/ci-workflow.yml create mode 100644 .idea/workspace.xml diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml new file mode 100644 index 0000000..859dcca --- /dev/null +++ b/.github/workflows/ci-workflow.yml @@ -0,0 +1,48 @@ +name: ciworkflow + +on: + workflow_dispatch: + +jobs: + build: + env: + DOTNET_CLI_TELEMETRY_OPTOUT: 1 + runs-on: mcr.microsoft.com/dotnet/sdk:7.0 + steps: + - uses: actions/checkout@v2 + - name: Setup NuGet + uses: NuGet/setup-nuget@v1.0.5 + - name: Setup .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 7.x.x + - name: Install unzip + run: | + apt-get update + apt-get install -y unzip + - name: Install OpenSSH and Git + run: | + apt-get update && apt-get install -y openssh-client git + - name: checkout + run: | + ./build.sh --target=restore + ./build.sh --target=generate + ./build.sh --target=build + ./build.sh --target=test + ./build.sh --target=testNet7 --filter=Account + ./build.sh --target=testNet7 --filter=Cart + ./build.sh --target=testNet7 --filter=Chargebacks + ./build.sh --target=testNet7 --filter=Contents + ./build.sh --target=testNet7 --filter=LoginLogout + ./build.sh --target=testNet7 --filter=Notifications + ./build.sh --target=testNet7 --filter=Order + ./build.sh --target=testNet7 --filter=Passwords + ./build.sh --target=testNet7 --filter=Promotions + ./build.sh --target=testNet7 --filter=Sessions + ./build.sh --target=testNet7 --filter=Transactions + ./build.sh --target=testNet7 --filter=Verifications + ./build.sh --target=testNet7 --filter=DecisionsRequests + ./build.sh --target=testNet7 --filter=Labels + ./build.sh --target=testNet7 --filter=MerchantRequests + ./build.sh --target=testNet7 --filter=Scores + ./build.sh --target=testNet7 --filter=VerificationsRequests diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..1199ba2 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + 1718650120542 + + + + \ No newline at end of file From d7d6e7006dcf95526f246152347265542c0fb9f3 Mon Sep 17 00:00:00 2001 From: Phani Kumar Mallampati Date: Mon, 17 Jun 2024 12:27:29 -0700 Subject: [PATCH 02/26] Migrate Jenkins CI to github actions for sift-dotnet git repo --- .github/workflows/ci-workflow.yml | 5 +++- .idea/workspace.xml | 39 ------------------------------- 2 files changed, 4 insertions(+), 40 deletions(-) delete mode 100644 .idea/workspace.xml diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index 859dcca..2a5dd90 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -1,7 +1,10 @@ name: ciworkflow on: - workflow_dispatch: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] jobs: build: diff --git a/.idea/workspace.xml b/.idea/workspace.xml deleted file mode 100644 index 1199ba2..0000000 --- a/.idea/workspace.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - 1718650120542 - - - - \ No newline at end of file From c5f9c2c3baad7c86a71fcdf606bc49c72186f30b Mon Sep 17 00:00:00 2001 From: Phani Kumar Mallampati Date: Mon, 17 Jun 2024 13:15:28 -0700 Subject: [PATCH 03/26] Migrate Jenkins CI to github actions for sift-dotnet git repo --- .github/workflows/ci-workflow.yml | 4 +-- .idea/workspace.xml | 53 +++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 .idea/workspace.xml diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index 2a5dd90..8546597 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -2,9 +2,9 @@ name: ciworkflow on: push: - branches: [ "master" ] + branches: [ "CI-16184" ] pull_request: - branches: [ "master" ] + branches: [ "CI-16184" ] jobs: build: diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..47ad30c --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + 1718650120542 + + + + + + + \ No newline at end of file From 680dbab08fcf0292a364d6198407cb6637d1befb Mon Sep 17 00:00:00 2001 From: Phani Kumar Mallampati Date: Mon, 17 Jun 2024 13:20:06 -0700 Subject: [PATCH 04/26] Migrate Jenkins CI to github actions for sift-dotnet git repo --- .github/workflows/ci-workflow.yml | 8 ++--- .idea/workspace.xml | 53 ------------------------------- 2 files changed, 3 insertions(+), 58 deletions(-) delete mode 100644 .idea/workspace.xml diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index 8546597..d46133e 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -10,13 +10,11 @@ jobs: build: env: DOTNET_CLI_TELEMETRY_OPTOUT: 1 - runs-on: mcr.microsoft.com/dotnet/sdk:7.0 + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Setup NuGet - uses: NuGet/setup-nuget@v1.0.5 + - uses: actions/checkout@v4 - name: Setup .NET - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: 7.x.x - name: Install unzip diff --git a/.idea/workspace.xml b/.idea/workspace.xml deleted file mode 100644 index 47ad30c..0000000 --- a/.idea/workspace.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - 1718650120542 - - - - - - - \ No newline at end of file From 2408babc9ef91e2e1bdbd291912a8a0b1df3b99a Mon Sep 17 00:00:00 2001 From: Phani Kumar Mallampati Date: Mon, 17 Jun 2024 13:21:36 -0700 Subject: [PATCH 05/26] Migrate Jenkins CI to github actions for sift-dotnet git repo --- .github/workflows/ci-workflow.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index d46133e..762eda6 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -8,8 +8,7 @@ on: jobs: build: - env: - DOTNET_CLI_TELEMETRY_OPTOUT: 1 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 From 4970c69149a949939126c64f880e12f306ed62b9 Mon Sep 17 00:00:00 2001 From: Phani Kumar Mallampati Date: Mon, 17 Jun 2024 13:24:22 -0700 Subject: [PATCH 06/26] Migrate Jenkins CI to github actions for sift-dotnet git repo --- .github/workflows/ci-workflow.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index 762eda6..b66907e 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -18,11 +18,11 @@ jobs: dotnet-version: 7.x.x - name: Install unzip run: | - apt-get update - apt-get install -y unzip + sudo apt-get update + sudo apt-get install -y unzip - name: Install OpenSSH and Git run: | - apt-get update && apt-get install -y openssh-client git + sudo apt-get update && sudo apt-get install -y openssh-client git - name: checkout run: | ./build.sh --target=restore From b9712f0e70df431d0101abc7978949b3c64a4245 Mon Sep 17 00:00:00 2001 From: Phani Kumar Mallampati Date: Mon, 17 Jun 2024 13:33:42 -0700 Subject: [PATCH 07/26] Migrate Jenkins CI to github actions for sift-dotnet git repo --- .github/workflows/ci-workflow.yml | 2 +- .idea/workspace.xml | 50 +++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 .idea/workspace.xml diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index b66907e..0d013bc 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -23,7 +23,7 @@ jobs: - name: Install OpenSSH and Git run: | sudo apt-get update && sudo apt-get install -y openssh-client git - - name: checkout + - name: siftDotNetIntegrationTest run: | ./build.sh --target=restore ./build.sh --target=generate diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..f5895ad --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + 1718650120542 + + + + + + + \ No newline at end of file From 883c2ef46627aa78ae0cb0aeed99495e7f8e73e9 Mon Sep 17 00:00:00 2001 From: Phani Kumar Mallampati Date: Mon, 17 Jun 2024 13:52:36 -0700 Subject: [PATCH 08/26] Migrate Jenkins CI to github actions for sift-dotnet git repo --- .idea/workspace.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index f5895ad..53840db 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,7 +1,9 @@ - + + +