diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..7355c86 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,127 @@ +version: 2.1 + +jobs: + job1: + parameters: + test1: + type: string + docker: + - image: cimg/base:stable + parallelism: 30 + steps: + - run: + name: "Say hello" + command: "sleep 30s" + - run: + name: "Say hello1" + command: "sleep 30s" + - run: + name: "Say hello2" + command: "sleep 30s" + + job2: + parameters: + test1: + type: string + docker: + - image: cimg/base:stable + parallelism: 5 + steps: + - run: + name: "Say hello" + command: "sleep 30s" + job3: + parameters: + test1: + type: string + docker: + - image: cimg/base:stable + parallelism: 5 + steps: + - run: + name: "Say hello" + command: "sleep 30s" + job4: + parameters: + test1: + type: string + docker: + - image: cimg/base:stable + parallelism: 5 + steps: + - run: + name: "Say hello" + command: "sleep 30s" + job5: + parameters: + test1: + type: string + docker: + - image: cimg/base:stable + parallelism: 5 + steps: + - run: + name: "Say hello" + command: "sleep 30s" + job6: + parameters: + test1: + type: string + docker: + - image: cimg/base:stable + parallelism: 5 + steps: + - run: + name: "Say hello" + command: "sleep 30s" + job7: + parameters: + test1: + type: string + docker: + - image: cimg/base:stable + parallelism: 5 + steps: + - run: + name: "Say hello" + command: "sleep 30s" + job8: + parameters: + test1: + type: string + docker: + - image: cimg/base:stable + parallelism: 5 + steps: + - run: + name: "Say hello" + command: "sleep 30s" + job9: + parameters: + test1: + type: string + docker: + - image: cimg/base:stable + parallelism: 5 + steps: + - run: + name: "Say hello" + command: "sleep 30s" + job10: + parameters: + test1: + type: string + docker: + - image: cimg/base:stable + parallelism: 5 + steps: + - run: + name: "Say hello" + command: "sleep 30s" +workflows: + say-hello-workflow: + jobs: + - job1: + matrix: + parameters: + test1: ['test1', 'test2', 'test3', 'test4', 'test5', 'test6', 'test7', 'test8', 'test9', 'test10', 'test11', 'test12', 'test13', 'test14', 'test15', 'test16', 'test17', 'test18', 'test19', 'test20', 'test21', 'test22', 'test23', 'test24', 'test25', 'test26', 'test27', 'test28', 'test29', 'test30', 'test31', 'test32', 'test33', 'test34', 'test35', 'test36', 'test37', 'test38', 'test39', 'test40', 'test41', 'test42', 'test43', 'test44', 'test45', 'test46', 'test47', 'test48', 'test49', 'test50', 'test51', 'test52', 'test53', 'test54', 'test55', 'test56', 'test57', 'test58', 'test59', 'test60', 'test61', 'test62', 'test63', 'test64', 'test65', 'test66', 'test67', 'test68', 'test69', 'test70', 'test71', 'test72', 'test73', 'test74', 'test75', 'test76', 'test77', 'test78', 'test79', 'test80', 'test81', 'test82', 'test83', 'test84', 'test85', 'test86', 'test87', 'test88', 'test89', 'test90', 'test91', 'test92', 'test93', 'test94', 'test95', 'test96', 'test97', 'test98', 'test99', 'test100', 'test100', 'test101', 'test102', 'test103', 'test104', 'test105', 'test106', 'test107', 'test108', 'test109', 'test110', 'test111', 'test112', 'test113', 'test114', 'test115', 'test116', 'test117', 'test118', 'test119', 'test120', 'test121', 'test122', 'test123', 'test124', 'test125', 'test126', 'test127', 'test128', 'test129', 'test130', 'test131', 'test132', 'test133', 'test134', 'test135', 'test136', 'test137', 'test138', 'test139', 'test140', 'test141', 'test142', 'test143', 'test144', 'test145', 'test146', 'test147', 'test148', 'test149', 'test150', 'test151', 'test152', 'test153', 'test154', 'test155', 'test156', 'test157', 'test158', 'test159', 'test160', 'test161', 'test162', 'test163', 'test164', 'test165', 'test166', 'test167', 'test168', 'test169', 'test170', 'test171', 'test172', 'test173', 'test174', 'test175', 'test176', 'test177', 'test178', 'test179', 'test180', 'test181', 'test182', 'test183', 'test184', 'test185', 'test186', 'test187', 'test188', 'test189', 'test190', 'test191', 'test192', 'test193', 'test194', 'test195', 'test196', 'test197', 'test198', 'test199', 'test200'] diff --git a/.circleci/config1.yml b/.circleci/config1.yml new file mode 100644 index 0000000..b11cfc1 --- /dev/null +++ b/.circleci/config1.yml @@ -0,0 +1,28 @@ +version: 2.1 + +jobs: + job1: + docker: + - image: cimg/base:stable + parallelism: 30 + resource_class: large + steps: + - run: + name: "Say hello" + command: "echo Hello, World! test1" + + job2: + docker: + - image: cimg/base:stable + parallelism: 30 + resource_class: large + steps: + - run: + name: "Say hello" + command: "echo Hello, World! test2" + +workflows: + say-hello-workflow: + jobs: + - job1 + - job2 diff --git a/.circleci/config2.yml b/.circleci/config2.yml new file mode 100644 index 0000000..96561ee --- /dev/null +++ b/.circleci/config2.yml @@ -0,0 +1,163 @@ +version: 2.1 + +jobs: + job1: + parameters: + test1: + type: string + docker: + - image: cimg/base:stable + parallelism: 1000 + steps: + - run: + name: "Say hello" + command: "sleep 30s" + - run: + name: "Say hello1" + command: "sleep 30s" + - run: + name: "Say hello2" + command: "sleep 30s" + + job2: + parameters: + test1: + type: string + docker: + - image: cimg/base:stable + parallelism: 5 + steps: + - run: + name: "Say hello" + command: "sleep 30s" + job3: + parameters: + test1: + type: string + docker: + - image: cimg/base:stable + parallelism: 5 + steps: + - run: + name: "Say hello" + command: "sleep 30s" + job4: + parameters: + test1: + type: string + docker: + - image: cimg/base:stable + parallelism: 5 + steps: + - run: + name: "Say hello" + command: "sleep 30s" + job5: + parameters: + test1: + type: string + docker: + - image: cimg/base:stable + parallelism: 5 + steps: + - run: + name: "Say hello" + command: "sleep 30s" + job6: + parameters: + test1: + type: string + docker: + - image: cimg/base:stable + parallelism: 5 + steps: + - run: + name: "Say hello" + command: "sleep 30s" + job7: + parameters: + test1: + type: string + docker: + - image: cimg/base:stable + parallelism: 5 + steps: + - run: + name: "Say hello" + command: "sleep 30s" + job8: + parameters: + test1: + type: string + docker: + - image: cimg/base:stable + parallelism: 5 + steps: + - run: + name: "Say hello" + command: "sleep 30s" + job9: + parameters: + test1: + type: string + docker: + - image: cimg/base:stable + parallelism: 5 + steps: + - run: + name: "Say hello" + command: "sleep 30s" + job10: + parameters: + test1: + type: string + docker: + - image: cimg/base:stable + parallelism: 5 + steps: + - run: + name: "Say hello" + command: "sleep 30s" +workflows: + say-hello-workflow: + jobs: + - job1: + matrix: + parameters: + test1: ["test1", "test2", "test3"] + - job2: + matrix: + parameters: + test1: ["test1", "test2", "test3"] + - job3: + matrix: + parameters: + test1: ["test1", "test2", "test3"] + - job4: + matrix: + parameters: + test1: ["test1", "test2", "test3"] + - job5: + matrix: + parameters: + test1: ["test1", "test2", "test3"] + - job6: + matrix: + parameters: + test1: ["test1", "test2", "test3"] + - job7: + matrix: + parameters: + test1: ["test1", "test2", "test3"] + - job8: + matrix: + parameters: + test1: ["test1", "test2", "test3"] + - job9: + matrix: + parameters: + test1: ["test1", "test2", "test3"] + - job10: + matrix: + parameters: + test1: ["test1", "test2", "test3"] diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 0000000..70e7c2e --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,292 @@ +# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven + +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +name: Java CI with Maven + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + my_job: + name: deploy to staging + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.test }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test2 }}" + my_jab_1: + name: deploy to staging1 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_2: + name: deploy to staging2 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_3: + name: deploy to staging3 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_4: + name: deploy to staging4 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_5: + name: deploy to staging5 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_6: + name: deploy to staging6 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 4m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_7: + name: deploy to staging7 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_8: + name: deploy to staging8 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_9: + name: deploy to staging9 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_10: + name: deploy to staging10 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_job21: + name: deploy to staging21 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.test }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test2 }}" + my_jab_11: + name: deploy to staging11 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_12: + name: deploy to staging12 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_13: + name: deploy to staging13 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_14: + name: deploy to staging14 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_15: + name: deploy to staging15 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_16: + name: deploy to staging16 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_17: + name: deploy to staging17 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_18: + name: deploy to staging18 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_19: + name: deploy to staging19 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_20: + name: deploy to staging20 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_22: + name: deploy to staging22 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" diff --git a/.github/workflows/maven1.yml b/.github/workflows/maven1.yml new file mode 100644 index 0000000..a7c154f --- /dev/null +++ b/.github/workflows/maven1.yml @@ -0,0 +1,332 @@ +# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven + +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +name: Java CI with Maven1 + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + my_job: + name: deploy to staging + runs-on: ubuntu-latest + strategy: + matrix: + test: [1,2,3,4,5,6,7,8,9,10] + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.test }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test2 }}" + - name: echoing1 + run: | + echo "test" + sleep 3m + echo "${{ matrix.test }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test2 }}" + my_jab_1: + name: deploy to staging1 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + - name: echoing1 + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + + + my_jab_2: + name: deploy to staging2 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + - name: echoing1 + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_3: + name: deploy to staging3 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + - name: echoing1 + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_4: + name: deploy to staging4 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + - name: echoing1 + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_5: + name: deploy to staging5 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_6: + name: deploy to staging6 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 4m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_7: + name: deploy to staging7 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_8: + name: deploy to staging8 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_9: + name: deploy to staging9 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_10: + name: deploy to staging10 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_job21: + name: deploy to staging21 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.test }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test2 }}" + my_jab_11: + name: deploy to staging11 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_12: + name: deploy to staging12 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_13: + name: deploy to staging13 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_14: + name: deploy to staging14 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_15: + name: deploy to staging15 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_16: + name: deploy to staging16 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_17: + name: deploy to staging17 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_18: + name: deploy to staging18 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_19: + name: deploy to staging19 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_20: + name: deploy to staging20 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}" + my_jab_22: + name: deploy to staging22 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: echoing + run: | + echo "test" + sleep 3m + echo "${{ matrix.tes }}" + echo "${{ matrix.test1 }}" + echo "${{ matrix.test3 }}"