@@ -74,127 +74,127 @@ permissions:
7474 packages : write
7575
7676jobs :
77- linting-coverage :
78- runs-on : ubuntu-latest
79- steps :
80- - name : Checkout
81- uses : actions/checkout@v4
82- - uses : actions/setup-node@v4
83- with :
84- node-version : ' 16'
85- cache : yarn
86- - name : install dependencies
87- run : yarn install --frozen-lockfile --network-concurrency 1
88- - uses : actions/setup-python@v5
89- with :
90- python-version : ' 3.9'
91- - uses : actions/cache@v4
92- with :
93- path : ~/.cache/pip
94- key : ${{ runner.os }}-pip
95- - name : Install python deps
96- run : pip install flake8
97- - name : Lint Javascript
98- run : yarn run --silent lint -- --max-warnings 0
99- - name : Lint Markdown
100- run : yarn run --silent lint_md
101- - name : Lint python
102- run : flake8 $(git ls-files "*.py")
103- - name : Lint Yaml
104- run : yamllint -c yamllint.yml $(git ls-files "*.yml")
105- - name : Unit Coverage
106- run : |
107- set -ex
108- mkdir -p $CIRCLE_TEST_REPORTS/unit
109- yarn test
110- yarn run test_legacy_location
111- env :
112- S3_LOCATION_FILE : tests/locationConfig/locationConfigTests.json
113- CIRCLE_TEST_REPORTS : /tmp
114- CIRCLE_ARTIFACTS : /tmp
115- CI_REPORTS : /tmp
116- - name : Unit Coverage logs
117- run : find /tmp/unit -exec cat {} \;
118- - name : preparing junit files for upload
119- run : |
120- mkdir -p artifacts/junit
121- find . -name "*junit*.xml" -exec cp {} artifacts/junit/ ";"
122- if : always()
123- - name : Upload files to artifacts
124- uses : scality/action-artifacts@v4
125- with :
126- method : upload
127- url : https://artifacts.scality.net
128- user : ${{ secrets.ARTIFACTS_USER }}
129- password : ${{ secrets.ARTIFACTS_PASSWORD }}
130- source : artifacts
131- if : always()
77+ # linting-coverage:
78+ # runs-on: ubuntu-latest
79+ # steps:
80+ # - name: Checkout
81+ # uses: actions/checkout@v4
82+ # - uses: actions/setup-node@v4
83+ # with:
84+ # node-version: '16'
85+ # cache: yarn
86+ # - name: install dependencies
87+ # run: yarn install --frozen-lockfile --network-concurrency 1
88+ # - uses: actions/setup-python@v5
89+ # with:
90+ # python-version: '3.9'
91+ # - uses: actions/cache@v4
92+ # with:
93+ # path: ~/.cache/pip
94+ # key: ${{ runner.os }}-pip
95+ # - name: Install python deps
96+ # run: pip install flake8
97+ # - name: Lint Javascript
98+ # run: yarn run --silent lint -- --max-warnings 0
99+ # - name: Lint Markdown
100+ # run: yarn run --silent lint_md
101+ # - name: Lint python
102+ # run: flake8 $(git ls-files "*.py")
103+ # - name: Lint Yaml
104+ # run: yamllint -c yamllint.yml $(git ls-files "*.yml")
105+ # - name: Unit Coverage
106+ # run: |
107+ # set -ex
108+ # mkdir -p $CIRCLE_TEST_REPORTS/unit
109+ # yarn test
110+ # yarn run test_legacy_location
111+ # env:
112+ # S3_LOCATION_FILE: tests/locationConfig/locationConfigTests.json
113+ # CIRCLE_TEST_REPORTS: /tmp
114+ # CIRCLE_ARTIFACTS: /tmp
115+ # CI_REPORTS: /tmp
116+ # - name: Unit Coverage logs
117+ # run: find /tmp/unit -exec cat {} \;
118+ # - name: preparing junit files for upload
119+ # run: |
120+ # mkdir -p artifacts/junit
121+ # find . -name "*junit*.xml" -exec cp {} artifacts/junit/ ";"
122+ # if: always()
123+ # - name: Upload files to artifacts
124+ # uses: scality/action-artifacts@v4
125+ # with:
126+ # method: upload
127+ # url: https://artifacts.scality.net
128+ # user: ${{ secrets.ARTIFACTS_USER }}
129+ # password: ${{ secrets.ARTIFACTS_PASSWORD }}
130+ # source: artifacts
131+ # if: always()
132132
133- build :
134- runs-on : ubuntu-latest
135- steps :
136- - name : Checkout
137- uses : actions/checkout@v4
138- - name : Set up Docker Buildx
139- uses : docker/setup-buildx-action@v3
140- - name : Login to GitHub Registry
141- uses : docker/login-action@v3
142- with :
143- registry : ghcr.io
144- username : ${{ github.repository_owner }}
145- password : ${{ github.token }}
146- - name : Build and push cloudserver image
147- uses : docker/build-push-action@v5
148- with :
149- push : true
150- context : .
151- provenance : false
152- tags : |
153- ghcr.io/${{ github.repository }}:${{ github.sha }}
154- labels : |
155- git.repository=${{ github.repository }}
156- git.commit-sha=${{ github.sha }}
157- cache-from : type=gha,scope=cloudserver
158- cache-to : type=gha,mode=max,scope=cloudserver
159- - name : Build and push pykmip image
160- uses : docker/build-push-action@v5
161- with :
162- push : true
163- context : .github/pykmip
164- tags : |
165- ghcr.io/${{ github.repository }}/pykmip:${{ github.sha }}
166- labels : |
167- git.repository=${{ github.repository }}
168- git.commit-sha=${{ github.sha }}
169- cache-from : type=gha,scope=pykmip
170- cache-to : type=gha,mode=max,scope=pykmip
133+ # build:
134+ # runs-on: ubuntu-latest
135+ # steps:
136+ # - name: Checkout
137+ # uses: actions/checkout@v4
138+ # - name: Set up Docker Buildx
139+ # uses: docker/setup-buildx-action@v3
140+ # - name: Login to GitHub Registry
141+ # uses: docker/login-action@v3
142+ # with:
143+ # registry: ghcr.io
144+ # username: ${{ github.repository_owner }}
145+ # password: ${{ github.token }}
146+ # - name: Build and push cloudserver image
147+ # uses: docker/build-push-action@v5
148+ # with:
149+ # push: true
150+ # context: .
151+ # provenance: false
152+ # tags: |
153+ # ghcr.io/${{ github.repository }}:${{ github.sha }}
154+ # labels: |
155+ # git.repository=${{ github.repository }}
156+ # git.commit-sha=${{ github.sha }}
157+ # cache-from: type=gha,scope=cloudserver
158+ # cache-to: type=gha,mode=max,scope=cloudserver
159+ # - name: Build and push pykmip image
160+ # uses: docker/build-push-action@v5
161+ # with:
162+ # push: true
163+ # context: .github/pykmip
164+ # tags: |
165+ # ghcr.io/${{ github.repository }}/pykmip:${{ github.sha }}
166+ # labels: |
167+ # git.repository=${{ github.repository }}
168+ # git.commit-sha=${{ github.sha }}
169+ # cache-from: type=gha,scope=pykmip
170+ # cache-to: type=gha,mode=max,scope=pykmip
171171
172- build-federation-image :
173- runs-on : ubuntu-latest
174- steps :
175- - name : Checkout
176- uses : actions/checkout@v4
177- - name : Set up Docker Buildx
178- uses : docker/setup-buildx-action@v3
179- - name : Login to GitHub Registry
180- uses : docker/login-action@v3
181- with :
182- registry : ghcr.io
183- username : ${{ github.repository_owner }}
184- password : ${{ github.token }}
185- - name : Build and push image for federation
186- uses : docker/build-push-action@v5
187- with :
188- push : true
189- context : .
190- file : images/svc-base/Dockerfile
191- tags : |
192- ghcr.io/${{ github.repository }}:${{ github.sha }}-svc-base
193- labels : |
194- git.repository=${{ github.repository }}
195- git.commit-sha=${{ github.sha }}
196- cache-from : type=gha,scope=federation
197- cache-to : type=gha,mode=max,scope=federation
172+ # build-federation-image:
173+ # runs-on: ubuntu-latest
174+ # steps:
175+ # - name: Checkout
176+ # uses: actions/checkout@v4
177+ # - name: Set up Docker Buildx
178+ # uses: docker/setup-buildx-action@v3
179+ # - name: Login to GitHub Registry
180+ # uses: docker/login-action@v3
181+ # with:
182+ # registry: ghcr.io
183+ # username: ${{ github.repository_owner }}
184+ # password: ${{ github.token }}
185+ # - name: Build and push image for federation
186+ # uses: docker/build-push-action@v5
187+ # with:
188+ # push: true
189+ # context: .
190+ # file: images/svc-base/Dockerfile
191+ # tags: |
192+ # ghcr.io/${{ github.repository }}:${{ github.sha }}-svc-base
193+ # labels: |
194+ # git.repository=${{ github.repository }}
195+ # git.commit-sha=${{ github.sha }}
196+ # cache-from: type=gha,scope=federation
197+ # cache-to: type=gha,mode=max,scope=federation
198198
199199 # multiple-backend:
200200 # runs-on: ubuntu-latest
@@ -325,13 +325,13 @@ jobs:
325325
326326 kmip-ft-tests :
327327 runs-on : ubuntu-latest
328- needs : build
328+ # needs: build
329329 env :
330330 S3BACKEND : file
331331 S3VAULT : mem
332332 MPU_TESTING : true
333- CLOUDSERVER_IMAGE : ghcr.io/${{ github.repository }}:${{ github.sha }}
334- PYKMIP_IMAGE : ghcr.io/${{ github.repository }}/pykmip:${{ github.sha }}
333+ CLOUDSERVER_IMAGE : ghcr.io/${{ github.repository }}:5f9a8d500e8f3e95e79d9b12160ca659e62bf266
334+ PYKMIP_IMAGE : ghcr.io/${{ github.repository }}/pykmip:5f9a8d500e8f3e95e79d9b12160ca659e62bf266
335335 JOB_NAME : ${{ github.job }}
336336 steps :
337337 - name : Checkout
@@ -375,13 +375,13 @@ jobs:
375375 # job-name: sse-kms-migration-tests-hide-arn
376376 name : ${{ matrix.job-name }}
377377 runs-on : ubuntu-latest
378- needs : build
378+ # needs: build
379379 env :
380380 S3BACKEND : file
381381 S3VAULT : scality
382382 CLOUDSERVER_IMAGE_BEFORE_SSE_MIGRATION : ghcr.io/${{ github.repository }}:7.70.66
383383 VAULT_IMAGE_BEFORE_SSE_MIGRATION : ghcr.io/scality/vault:7.70.31
384- CLOUDSERVER_IMAGE : ghcr.io/${{ github.repository }}:${{ github.sha }}
384+ CLOUDSERVER_IMAGE : ghcr.io/${{ github.repository }}:5f9a8d500e8f3e95e79d9b12160ca659e62bf266
385385 VAULT_IMAGE : ghcr.io/scality/vault:7.70.32
386386 KMS_IMAGE : nsmithuk/local-kms:3.11.7
387387 MPU_TESTING : " yes"
0 commit comments