Skip to content

Commit 1888f70

Browse files
authored
test: Update upload artifact action (#61)
* test: Update upload artifact action * tests: Update pipeline name * tests: Upgrade deprecated action * tests: Using right image registry * stock_rest_api: fixing the right collection
1 parent b42a25e commit 1888f70

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/production.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Unit Tests
1+
name: Production
22

33
on:
44
push:

.github/workflows/staging.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
github-token: "${{ secrets.ACTIONS_PAT }}"
4040

4141
- name: Upload artifact with db name
42-
uses: actions/upload-artifact@v2
42+
uses: actions/upload-artifact@v4
4343
with:
4444
name: db_name-${{ steps.comment-branch.outputs.head_ref }}
4545
path: db_name.txt

.github/workflows/tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ env:
2525
REQUIRED_MODULES: cloud_platform_exoscale # list of addional addons to install separated by comma
2626
GAR_BASE: us-docker.pkg.dev/${{ secrets.GKE_PROJECT }}/odoo-gob
2727
HUB_BASE: gobdo/odoo-gob
28-
IMAGE_LOCATION: gcr.io/iterativo/dockerdoo
28+
IMAGE_LOCATION: iterativodo/dockerdoo
2929
ENV: "test"
3030

3131
jobs:
@@ -180,7 +180,7 @@ jobs:
180180
ODOO_VERSION_URL_SLUG: ${{ env.GITHUB_BASE_REF_SLUG_URL }}
181181
DEPLOY_DOMAIN: ${{ secrets.DEPLOY_DOMAIN }}
182182

183-
- uses: actions/upload-artifact@v2
183+
- uses: actions/upload-artifact@v4
184184
with:
185185
name: deployment-${{ env.GITHUB_HEAD_REF_SLUG }}
186186
path: deployment.yaml

stock_rest_api/services/product_services.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
class ProductService(Component):
99
_inherit = "product.service"
10-
_collection = "stock.rest.api.private.services"
10+
_collection = "product.rest.api.private.services"
1111
_description = """
1212
Product Services
1313
Access to the Product services is only allowed to authenticated users.

0 commit comments

Comments
 (0)