Skip to content
Snippets Groups Projects
Commit 32ac7698 authored by Pieter van Staden's avatar Pieter van Staden
Browse files

INFRASTRUCTURE :: Resolve the issue causing the pipeline to trigger twice on a...

INFRASTRUCTURE :: Resolve the issue causing the pipeline to trigger twice on a single push to the dev branch.
parent 33610036
No related branches found
No related tags found
1 merge request!24Dev -> Prod
Pipeline #75152 failed
......@@ -21,7 +21,7 @@ deploy:
- ./make-zip.sh
- aws s3 cp bobgo-magento-plugin.zip s3://bobgo-s3-magento-plugin-dev/ --region=af-south-1
rules:
- if: $CI_COMMIT_BRANCH == "dev" && $CI_PIPELINE_SOURCE == "push"
- if: $CI_COMMIT_BRANCH == "dev"
when: always
tag_deploy:
......@@ -40,7 +40,7 @@ tag_deploy:
- "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 --acl public-read
- aws s3 cp bobgo-magento-extension-${CI_COMMIT_TAG}.zip s3://bobgo-s3-magento-plugin-prod/latest/bobgo-magento-extension-latest.zip --region=af-south-1 --acl public-read
- aws s3 cp bobgo-magento-extension-${CI_COMMIT_TAG}.zip s3://bobgo-s3-magento-plugin-prod/latest/latest.zip --region=af-south-1 --acl public-read
- echo "Tagged version URL in S3 bucket ready for download"
rules:
- if: $CI_COMMIT_TAG
......
......@@ -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.41",
"version": "1.0.51",
"authors": [
{
"name": "Bob Go",
......
......@@ -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.41">
<module name="BobGroup_BobGo" setup_version="1.0.51">
<sequence>
<module name="Magento_Webapi"/>
<module name="Magento_Catalog"/>
......
{
"name": "bobgo-magento-plugin",
"description": "Bob Go magento plugin",
"version": "1.0.50",
"version": "1.0.51",
"license": "GPL-2.0-or-later",
"scripts": {
"prepare": "husky install",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment