From 0fed580ddd8b329a3f9f209e59772f059b47d20e Mon Sep 17 00:00:00 2001 From: Pieter van Staden <pieter@bob.co.za> Date: Tue, 6 May 2025 06:19:43 +0200 Subject: [PATCH] INFRASTRUCTURE :: Update the Magento plugin s3 bucket name --- .gitlab-ci.yml | 6 +++--- composer.json | 2 +- etc/module.xml | 2 +- package.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bf21798..c63731a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,7 @@ deploy: - export AWS_SECRET_ACCESS_KEY script: - ./make-zip.sh - - aws s3 cp bobgo-magento-plugin.zip s3://bobgo-s3-magento-plugin-dev/ --region=af-south-1 + - aws s3 cp bobgo-magento-plugin.zip s3://magento-plugin.dev.bobgo.co.za/ --region=af-south-1 rules: - if: $CI_COMMIT_BRANCH == "dev" when: always @@ -49,8 +49,8 @@ tag_deploy: script: - "TAG_ARCHIVE_URL=https://gitlab.bob.co.za/bob-public-utils/bobgo-magento-extension/-/archive/${CI_COMMIT_TAG}/bobgo-magento-extension-${CI_COMMIT_TAG}.zip" - curl -o bobgo-magento-extension-${CI_COMMIT_TAG}.zip "$TAG_ARCHIVE_URL" - - aws s3 cp bobgo-magento-extension-${CI_COMMIT_TAG}.zip s3://bobgo-s3-magento-plugin-prod/tags/bobgo-magento-extension-${CI_COMMIT_TAG}.zip --region=af-south-1 - - aws s3 cp bobgo-magento-extension-${CI_COMMIT_TAG}.zip s3://bobgo-s3-magento-plugin-prod/latest/latest.zip --region=af-south-1 + - aws s3 cp bobgo-magento-extension-${CI_COMMIT_TAG}.zip s3://magento-plugin.bobgo.co.za/tags/bobgo-magento-extension-${CI_COMMIT_TAG}.zip --region=af-south-1 + - aws s3 cp bobgo-magento-extension-${CI_COMMIT_TAG}.zip s3://magento-plugin.bobgo.co.za/latest/latest.zip --region=af-south-1 - echo "Tagged version URL in S3 bucket ready for download" rules: - if: $CI_COMMIT_TAG diff --git a/composer.json b/composer.json index 8eb11af..ee70cf6 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "bobgo/bobgo-magento-extension", "description": "Smart shipping and order management solution in South Africa", "type": "magento2-module", - "version": "1.0.57", + "version": "1.0.58", "authors": [ { "name": "Bob Go", diff --git a/etc/module.xml b/etc/module.xml index 067f42d..c6eb73e 100644 --- a/etc/module.xml +++ b/etc/module.xml @@ -7,7 +7,7 @@ */ --> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> - <module name="BobGroup_BobGo" setup_version="1.0.57"> + <module name="BobGroup_BobGo" setup_version="1.0.58"> <sequence> <module name="Magento_Webapi"/> <module name="Magento_Catalog"/> diff --git a/package.json b/package.json index ac43d9d..361e426 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "bobgo-magento-plugin", "description": "Bob Go magento plugin", - "version": "1.0.57", + "version": "1.0.58", "license": "GPL-2.0-or-later", "scripts": { "prepare": "husky install", -- GitLab