@@ -1700,193 +1700,193 @@ jobs:
1700
1700
with :
1701
1701
args : ' "chrome:headless" portal-ui/tests/operator/tenant/test-2 --skip-js-errors -c 3'
1702
1702
1703
- all-operator-tests-4 :
1704
- name : Operator UI Tests Part 4
1705
- needs :
1706
- - lint-job
1707
- - no-warnings-and-make-assets
1708
- - reuse-golang-dependencies
1709
- - vulnerable-dependencies-checks
1710
- - semgrep-static-code-analysis
1711
- runs-on : ${{ matrix.os }}
1712
- strategy :
1713
- matrix :
1714
- go-version : [ 1.18.x ]
1715
- os : [ ubuntu-latest ]
1716
- steps :
1717
- - name : Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
1718
- uses : actions/setup-go@v2
1719
- with :
1720
- go-version : ${{ matrix.go-version }}
1721
- id : go
1722
-
1723
- - name : Check out code into the Go module directory
1724
- uses : actions/checkout@v2
1725
-
1726
- # To build operator image, we need to clone the repository first
1727
- - name : clone https://github.com/minio/operator
1728
- uses : actions/checkout@master
1729
- with :
1730
-
1731
- # Repository name with owner. For example, actions/checkout
1732
- # Default: ${{ github.repository }}
1733
- repository : minio/operator
1734
-
1735
- # Relative path under $GITHUB_WORKSPACE to place the repository
1736
- # To have two repositories under the same test
1737
- path : ' operator_repository'
1738
-
1739
- - name : Read .nvmrc
1740
- id : node_version
1741
- run : echo ::set-output name=NVMRC::$(cat .nvmrc)
1742
-
1743
- - uses : actions/setup-node@v2
1744
- with :
1745
- node-version : ${{ env.NVMRC }}
1746
-
1747
- - uses : actions/cache@v3
1748
- name : Go Mod Cache
1749
- with :
1750
- path : |
1751
- ~/.cache/go-build
1752
- ~/go/pkg/mod
1753
- key : ${{ runner.os }}-go-${{ github.run_id }}
1754
-
1755
- - name : Get yarn cache directory path
1756
- id : yarn-cache-dir-path
1757
- run : echo "::set-output name=dir::$(yarn cache dir)"
1758
-
1759
- - uses : actions/cache@v3
1760
- id : yarn-cache
1761
- name : Yarn Cache
1762
- with :
1763
- path : |
1764
- ${{ steps.yarn-cache-dir-path.outputs.dir }}
1765
- ./portal-ui/node_modules/
1766
- key : ${{ runner.os }}-yarn-${{ hashFiles('./portal-ui/yarn.lock') }}
1767
- restore-keys : |
1768
- ${{ runner.os }}-yarn-
1769
-
1770
- - uses : actions/cache@v3
1771
- id : assets-cache
1772
- name : Assets Cache
1773
- with :
1774
- path : |
1775
- ./portal-ui/build/
1776
- key : ${{ runner.os }}-assets-${{ github.run_id }}
1777
- restore-keys : |
1778
- ${{ runner.os }}-assets-
1779
-
1780
- - name : Build Console on ${{ matrix.os }}
1781
- env :
1782
- GO111MODULE : on
1783
- GOOS : linux
1784
- run : |
1785
- make console
1786
-
1787
- # Runs a set of commands using the runners shell
1788
- - name : Start Kind for Operator UI
1789
- run : |
1790
- "${GITHUB_WORKSPACE}/portal-ui/tests/scripts/operator.sh"
1791
-
1792
- - name : Run TestCafe Tests
1793
- uses : DevExpress/testcafe-action@latest
1794
- with :
1795
- args : ' "chrome:headless" portal-ui/tests/operator/tenant/test-3 --skip-js-errors -c 3'
1796
-
1797
- all-operator-tests-5 :
1798
- name : Operator UI Tests Part 5
1799
- needs :
1800
- - lint-job
1801
- - no-warnings-and-make-assets
1802
- - reuse-golang-dependencies
1803
- - vulnerable-dependencies-checks
1804
- - semgrep-static-code-analysis
1805
- runs-on : ${{ matrix.os }}
1806
- strategy :
1807
- matrix :
1808
- go-version : [ 1.18.x ]
1809
- os : [ ubuntu-latest ]
1810
- steps :
1811
- - name : Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
1812
- uses : actions/setup-go@v2
1813
- with :
1814
- go-version : ${{ matrix.go-version }}
1815
- id : go
1816
-
1817
- - name : Check out code into the Go module directory
1818
- uses : actions/checkout@v2
1819
-
1820
- # To build operator image, we need to clone the repository first
1821
- - name : clone https://github.com/minio/operator
1822
- uses : actions/checkout@master
1823
- with :
1824
-
1825
- # Repository name with owner. For example, actions/checkout
1826
- # Default: ${{ github.repository }}
1827
- repository : minio/operator
1828
-
1829
- # Relative path under $GITHUB_WORKSPACE to place the repository
1830
- # To have two repositories under the same test
1831
- path : ' operator_repository'
1832
-
1833
- - name : Read .nvmrc
1834
- id : node_version
1835
- run : echo ::set-output name=NVMRC::$(cat .nvmrc)
1836
-
1837
- - uses : actions/setup-node@v2
1838
- with :
1839
- node-version : ${{ env.NVMRC }}
1840
-
1841
- - uses : actions/cache@v3
1842
- name : Go Mod Cache
1843
- with :
1844
- path : |
1845
- ~/.cache/go-build
1846
- ~/go/pkg/mod
1847
- key : ${{ runner.os }}-go-${{ github.run_id }}
1848
-
1849
- - name : Get yarn cache directory path
1850
- id : yarn-cache-dir-path
1851
- run : echo "::set-output name=dir::$(yarn cache dir)"
1852
-
1853
- - uses : actions/cache@v3
1854
- id : yarn-cache
1855
- name : Yarn Cache
1856
- with :
1857
- path : |
1858
- ${{ steps.yarn-cache-dir-path.outputs.dir }}
1859
- ./portal-ui/node_modules/
1860
- key : ${{ runner.os }}-yarn-${{ hashFiles('./portal-ui/yarn.lock') }}
1861
- restore-keys : |
1862
- ${{ runner.os }}-yarn-
1863
-
1864
- - uses : actions/cache@v3
1865
- id : assets-cache
1866
- name : Assets Cache
1867
- with :
1868
- path : |
1869
- ./portal-ui/build/
1870
- key : ${{ runner.os }}-assets-${{ github.run_id }}
1871
- restore-keys : |
1872
- ${{ runner.os }}-assets-
1873
-
1874
- - name : Build Console on ${{ matrix.os }}
1875
- env :
1876
- GO111MODULE : on
1877
- GOOS : linux
1878
- run : |
1879
- make console
1880
-
1881
- # Runs a set of commands using the runners shell
1882
- - name : Start Kind for Operator UI
1883
- run : |
1884
- "${GITHUB_WORKSPACE}/portal-ui/tests/scripts/operator.sh"
1885
-
1886
- - name : Run TestCafe Tests
1887
- uses : DevExpress/testcafe-action@latest
1888
- with :
1889
- args : ' "chrome:headless" portal-ui/tests/operator/tenant/test-4 --skip-js-errors -c 3'
1703
+ # all-operator-tests-4:
1704
+ # name: Operator UI Tests Part 4
1705
+ # needs:
1706
+ # - lint-job
1707
+ # - no-warnings-and-make-assets
1708
+ # - reuse-golang-dependencies
1709
+ # - vulnerable-dependencies-checks
1710
+ # - semgrep-static-code-analysis
1711
+ # runs-on: ${{ matrix.os }}
1712
+ # strategy:
1713
+ # matrix:
1714
+ # go-version: [ 1.18.x ]
1715
+ # os: [ ubuntu-latest ]
1716
+ # steps:
1717
+ # - name: Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
1718
+ # uses: actions/setup-go@v2
1719
+ # with:
1720
+ # go-version: ${{ matrix.go-version }}
1721
+ # id: go
1722
+
1723
+ # - name: Check out code into the Go module directory
1724
+ # uses: actions/checkout@v2
1725
+
1726
+ # # To build operator image, we need to clone the repository first
1727
+ # - name: clone https://github.com/minio/operator
1728
+ # uses: actions/checkout@master
1729
+ # with:
1730
+
1731
+ # # Repository name with owner. For example, actions/checkout
1732
+ # # Default: ${{ github.repository }}
1733
+ # repository: minio/operator
1734
+
1735
+ # # Relative path under $GITHUB_WORKSPACE to place the repository
1736
+ # # To have two repositories under the same test
1737
+ # path: 'operator_repository'
1738
+
1739
+ # - name: Read .nvmrc
1740
+ # id: node_version
1741
+ # run: echo ::set-output name=NVMRC::$(cat .nvmrc)
1742
+
1743
+ # - uses: actions/setup-node@v2
1744
+ # with:
1745
+ # node-version: ${{ env.NVMRC }}
1746
+
1747
+ # - uses: actions/cache@v3
1748
+ # name: Go Mod Cache
1749
+ # with:
1750
+ # path: |
1751
+ # ~/.cache/go-build
1752
+ # ~/go/pkg/mod
1753
+ # key: ${{ runner.os }}-go-${{ github.run_id }}
1754
+
1755
+ # - name: Get yarn cache directory path
1756
+ # id: yarn-cache-dir-path
1757
+ # run: echo "::set-output name=dir::$(yarn cache dir)"
1758
+
1759
+ # - uses: actions/cache@v3
1760
+ # id: yarn-cache
1761
+ # name: Yarn Cache
1762
+ # with:
1763
+ # path: |
1764
+ # ${{ steps.yarn-cache-dir-path.outputs.dir }}
1765
+ # ./portal-ui/node_modules/
1766
+ # key: ${{ runner.os }}-yarn-${{ hashFiles('./portal-ui/yarn.lock') }}
1767
+ # restore-keys: |
1768
+ # ${{ runner.os }}-yarn-
1769
+
1770
+ # - uses: actions/cache@v3
1771
+ # id: assets-cache
1772
+ # name: Assets Cache
1773
+ # with:
1774
+ # path: |
1775
+ # ./portal-ui/build/
1776
+ # key: ${{ runner.os }}-assets-${{ github.run_id }}
1777
+ # restore-keys: |
1778
+ # ${{ runner.os }}-assets-
1779
+
1780
+ # - name: Build Console on ${{ matrix.os }}
1781
+ # env:
1782
+ # GO111MODULE: on
1783
+ # GOOS: linux
1784
+ # run: |
1785
+ # make console
1786
+
1787
+ # # Runs a set of commands using the runners shell
1788
+ # - name: Start Kind for Operator UI
1789
+ # run: |
1790
+ # "${GITHUB_WORKSPACE}/portal-ui/tests/scripts/operator.sh"
1791
+
1792
+ # - name: Run TestCafe Tests
1793
+ # uses: DevExpress/testcafe-action@latest
1794
+ # with:
1795
+ # args: '"chrome:headless" portal-ui/tests/operator/tenant/test-3 --skip-js-errors -c 3'
1796
+
1797
+ # all-operator-tests-5:
1798
+ # name: Operator UI Tests Part 5
1799
+ # needs:
1800
+ # - lint-job
1801
+ # - no-warnings-and-make-assets
1802
+ # - reuse-golang-dependencies
1803
+ # - vulnerable-dependencies-checks
1804
+ # - semgrep-static-code-analysis
1805
+ # runs-on: ${{ matrix.os }}
1806
+ # strategy:
1807
+ # matrix:
1808
+ # go-version: [ 1.18.x ]
1809
+ # os: [ ubuntu-latest ]
1810
+ # steps:
1811
+ # - name: Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
1812
+ # uses: actions/setup-go@v2
1813
+ # with:
1814
+ # go-version: ${{ matrix.go-version }}
1815
+ # id: go
1816
+
1817
+ # - name: Check out code into the Go module directory
1818
+ # uses: actions/checkout@v2
1819
+
1820
+ # # To build operator image, we need to clone the repository first
1821
+ # - name: clone https://github.com/minio/operator
1822
+ # uses: actions/checkout@master
1823
+ # with:
1824
+
1825
+ # # Repository name with owner. For example, actions/checkout
1826
+ # # Default: ${{ github.repository }}
1827
+ # repository: minio/operator
1828
+
1829
+ # # Relative path under $GITHUB_WORKSPACE to place the repository
1830
+ # # To have two repositories under the same test
1831
+ # path: 'operator_repository'
1832
+
1833
+ # - name: Read .nvmrc
1834
+ # id: node_version
1835
+ # run: echo ::set-output name=NVMRC::$(cat .nvmrc)
1836
+
1837
+ # - uses: actions/setup-node@v2
1838
+ # with:
1839
+ # node-version: ${{ env.NVMRC }}
1840
+
1841
+ # - uses: actions/cache@v3
1842
+ # name: Go Mod Cache
1843
+ # with:
1844
+ # path: |
1845
+ # ~/.cache/go-build
1846
+ # ~/go/pkg/mod
1847
+ # key: ${{ runner.os }}-go-${{ github.run_id }}
1848
+
1849
+ # - name: Get yarn cache directory path
1850
+ # id: yarn-cache-dir-path
1851
+ # run: echo "::set-output name=dir::$(yarn cache dir)"
1852
+
1853
+ # - uses: actions/cache@v3
1854
+ # id: yarn-cache
1855
+ # name: Yarn Cache
1856
+ # with:
1857
+ # path: |
1858
+ # ${{ steps.yarn-cache-dir-path.outputs.dir }}
1859
+ # ./portal-ui/node_modules/
1860
+ # key: ${{ runner.os }}-yarn-${{ hashFiles('./portal-ui/yarn.lock') }}
1861
+ # restore-keys: |
1862
+ # ${{ runner.os }}-yarn-
1863
+
1864
+ # - uses: actions/cache@v3
1865
+ # id: assets-cache
1866
+ # name: Assets Cache
1867
+ # with:
1868
+ # path: |
1869
+ # ./portal-ui/build/
1870
+ # key: ${{ runner.os }}-assets-${{ github.run_id }}
1871
+ # restore-keys: |
1872
+ # ${{ runner.os }}-assets-
1873
+
1874
+ # - name: Build Console on ${{ matrix.os }}
1875
+ # env:
1876
+ # GO111MODULE: on
1877
+ # GOOS: linux
1878
+ # run: |
1879
+ # make console
1880
+
1881
+ # # Runs a set of commands using the runners shell
1882
+ # - name: Start Kind for Operator UI
1883
+ # run: |
1884
+ # "${GITHUB_WORKSPACE}/portal-ui/tests/scripts/operator.sh"
1885
+
1886
+ # - name: Run TestCafe Tests
1887
+ # uses: DevExpress/testcafe-action@latest
1888
+ # with:
1889
+ # args: '"chrome:headless" portal-ui/tests/operator/tenant/test-4 --skip-js-errors -c 3'
1890
1890
1891
1891
compile-job :
1892
1892
name : Compiles on Go ${{ matrix.go-version }} and ${{ matrix.os }}
0 commit comments