Skip to content

Commit

Permalink
Merge branch 'improvement/UTAPI-99' into w/7.10/improvement/VAULT-567
Browse files Browse the repository at this point in the history
(cherry picked from commit bdb483e)
  • Loading branch information
francoisferrand authored and BourgoisMickael committed May 27, 2024
1 parent 385e6eb commit 6c6ef67
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 38 deletions.
31 changes: 3 additions & 28 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ jobs:
uses: scality/workflows/.github/workflows/docker-build.yaml@v1
secrets: inherit
with:
registry: registry.scality.com
namespace: utapi
name: utapi
namespace: ${{ github.repository_owner }}
name: ${{ github.event.repository.name }}
context: .
file: ${{ github.event.inputs.dockerfile}}
tag: ${{ github.event.inputs.tag }}
Expand All @@ -37,31 +36,7 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildk
uses: docker/setup-buildx-action@v3

- name: Login to Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ github.token }}

- name: Build and push utapi image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ghcr.io/${{ github.repository }}:${{ github.event.inputs.tag }}"

- name: Create Release
uses: softprops/action-gh-release@v2
- uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down
15 changes: 5 additions & 10 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,24 +110,19 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
lfs: true
- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: '16.13.2'
cache: yarn
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: '3.9'
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip
cache: pip
- name: Install python deps
run: |
pip install requests
pip install redis
run: pip install -r requirements.txt
- name: install dependencies
run: yarn install --frozen-lockfile --network-concurrency 1
- name: ${{ matrix.test.name }}
Expand Down

0 comments on commit 6c6ef67

Please sign in to comment.