Commit 7d6eb42d authored by Andres Anaya Amariels's avatar Andres Anaya Amariels 🚀
Browse files

appVersion

parent f0a5ca06
Loading
Loading
Loading
Loading
+90 −9
Original line number Diff line number Diff line
@@ -56,9 +56,36 @@ deploy_ocf_staging:
      cat helm/capif/Chart.yaml
      yq e -i ".appVersion = \"$IMAGE_TAG_STAGING\"" helm/capif/Chart.yaml
      cat helm/capif/Chart.yaml
      ### Chart helper###
      yq e -i ".appVersion = \"$IMAGE_TAG_DEV\"" helm/capif/charts/helper/Chart.yaml
      cat helm/capif/charts/helper/Chart.yaml

      ### Chart mock-server###
      yq e -i ".appVersion = \"$IMAGE_TAG_STAGING\"" helm/capif/charts/mock-server/Chart.yaml
      ### Chart nginx###
      yq e -i ".appVersion = \"$IMAGE_TAG_STAGING\"" helm/capif/charts/nginx/Chart.yaml
      ### Chart ocf-access-control-policy###
      yq e -i ".appVersion = \"$IMAGE_TAG_STAGING\"" helm/capif/charts/ocf-access-control-policy/Chart.yaml
      ### Chart ocf-api-invocation-logs###
      yq e -i ".appVersion = \"$IMAGE_TAG_STAGING\"" helm/capif/charts/ocf-api-invocation-logs/Chart.yaml
      ### Chart ocf-api-invoker-management###
      yq e -i ".appVersion = \"$IMAGE_TAG_STAGING\"" helm/capif/charts/ocf-api-invoker-management/Chart.yaml
      ### Chart ocf-api-provider-management###
      yq e -i ".appVersion = \"$IMAGE_TAG_STAGING\"" helm/capif/charts/ocf-api-provider-management/Chart.yaml
      ### Chart ocf-auditing-api-logs###
      yq e -i ".appVersion = \"$IMAGE_TAG_STAGING\"" helm/capif/charts/ocf-auditing-api-logs/Chart.yaml
      ### Chart ocf-discover-service-api###
      yq e -i ".appVersion = \"$IMAGE_TAG_STAGING\"" helm/capif/charts/ocf-discover-service-api/Chart.yaml
      ### Chart ocf-events###
      yq e -i ".appVersion = \"$IMAGE_TAG_STAGING\"" helm/capif/charts/ocf-events/Chart.yaml
      ### Chart ocf-helper###
      yq e -i ".appVersion = \"$IMAGE_TAG_STAGING\"" helm/capif/charts/oocf-helper/Chart.yaml
      ### Chart ocf-publish-service-api###
      yq e -i ".appVersion = \"$IMAGE_TAG_STAGING\"" helm/capif/charts/ocf-publish-service-api/Chart.yaml
      ### Chart ocf-register###
      yq e -i ".appVersion = \"$IMAGE_TAG_STAGING\"" helm/capif/charts/ocf-register/Chart.yaml
      ### Chart ocf-routing-info###
      yq e -i ".appVersion = \"$IMAGE_TAG_STAGING\"" helm/capif/charts/ocf-routing-info/Chart.yaml
      ### Chart ocf-security###
      yq e -i ".appVersion = \"$IMAGE_TAG_STAGING\"" helm/capif/charts/ocf-security/Chart.yaml

      echo "### download dependencies###"
      helm dependency build helm/capif
      echo "### updating capif###"
@@ -183,9 +210,36 @@ deploy_ocf_oficial_staging:
      cat helm/capif/Chart.yaml
      yq e -i ".appVersion = \"staging\"" helm/capif/Chart.yaml
      cat helm/capif/Chart.yaml
      ### Chart helper###
      yq e -i ".appVersion = \"$IMAGE_TAG_DEV\"" helm/capif/charts/helper/Chart.yaml
      cat helm/capif/charts/helper/Chart.yaml   

      ### Chart mock-server###
      yq e -i ".appVersion = \"staging\"" helm/capif/charts/mock-server/Chart.yaml
      ### Chart nginx###
      yq e -i ".appVersion = \"staging\"" helm/capif/charts/nginx/Chart.yaml
      ### Chart ocf-access-control-policy###
      yq e -i ".appVersion = \"staging\"" helm/capif/charts/ocf-access-control-policy/Chart.yaml
      ### Chart ocf-api-invocation-logs###
      yq e -i ".appVersion = \"staging\"" helm/capif/charts/ocf-api-invocation-logs/Chart.yaml
      ### Chart ocf-api-invoker-management###
      yq e -i ".appVersion = \"staging\"" helm/capif/charts/ocf-api-invoker-management/Chart.yaml
      ### Chart ocf-api-provider-management###
      yq e -i ".appVersion = \"staging\"" helm/capif/charts/ocf-api-provider-management/Chart.yaml
      ### Chart ocf-auditing-api-logs###
      yq e -i ".appVersion = \"staging\"" helm/capif/charts/ocf-auditing-api-logs/Chart.yaml
      ### Chart ocf-discover-service-api###
      yq e -i ".appVersion = \"staging\"" helm/capif/charts/ocf-discover-service-api/Chart.yaml
      ### Chart ocf-events###
      yq e -i ".appVersion = \"staging\"" helm/capif/charts/ocf-events/Chart.yaml
      ### Chart ocf-helper###
      yq e -i ".appVersion = \"staging\"" helm/capif/charts/oocf-helper/Chart.yaml
      ### Chart ocf-publish-service-api###
      yq e -i ".appVersion = \"staging\"" helm/capif/charts/ocf-publish-service-api/Chart.yaml
      ### Chart ocf-register###
      yq e -i ".appVersion = \"staging\"" helm/capif/charts/ocf-register/Chart.yaml
      ### Chart ocf-routing-info###
      yq e -i ".appVersion = \"staging\"" helm/capif/charts/ocf-routing-info/Chart.yaml
      ### Chart ocf-security###
      yq e -i ".appVersion = \"staging\"" helm/capif/charts/ocf-security/Chart.yaml 

      echo "### download dependencies###"
      helm dependency build helm/capif
      echo "### updating capif###"
@@ -303,9 +357,36 @@ deploy_ocf_dev:
      cat helm/capif/Chart.yaml
      yq e -i ".appVersion = \"$IMAGE_TAG_DEV\"" helm/capif/Chart.yaml
      cat helm/capif/Chart.yaml
      ### Chart helper###
      yq e -i ".appVersion = \"$IMAGE_TAG_DEV\"" helm/capif/charts/helper/Chart.yaml
      cat helm/capif/charts/helper/Chart.yaml     

      ### Chart mock-server###
      yq e -i ".appVersion = \"$IMAGE_TAG_DEV\"" helm/capif/charts/mock-server/Chart.yaml
      ### Chart nginx###
      yq e -i ".appVersion = \"$IMAGE_TAG_DEV\"" helm/capif/charts/nginx/Chart.yaml
      ### Chart ocf-access-control-policy###
      yq e -i ".appVersion = \"$IMAGE_TAG_DEV\"" helm/capif/charts/ocf-access-control-policy/Chart.yaml
      ### Chart ocf-api-invocation-logs###
      yq e -i ".appVersion = \"$IMAGE_TAG_DEV\"" helm/capif/charts/ocf-api-invocation-logs/Chart.yaml
      ### Chart ocf-api-invoker-management###
      yq e -i ".appVersion = \"$IMAGE_TAG_DEV\"" helm/capif/charts/ocf-api-invoker-management/Chart.yaml
      ### Chart ocf-api-provider-management###
      yq e -i ".appVersion = \"$IMAGE_TAG_DEV\"" helm/capif/charts/ocf-api-provider-management/Chart.yaml
      ### Chart ocf-auditing-api-logs###
      yq e -i ".appVersion = \"$IMAGE_TAG_DEV\"" helm/capif/charts/ocf-auditing-api-logs/Chart.yaml
      ### Chart ocf-discover-service-api###
      yq e -i ".appVersion = \"$IMAGE_TAG_DEV\"" helm/capif/charts/ocf-discover-service-api/Chart.yaml
      ### Chart ocf-events###
      yq e -i ".appVersion = \"$IMAGE_TAG_DEV\"" helm/capif/charts/ocf-events/Chart.yaml
      ### Chart ocf-helper###
      yq e -i ".appVersion = \"$IMAGE_TAG_DEV\"" helm/capif/charts/oocf-helper/Chart.yaml
      ### Chart ocf-publish-service-api###
      yq e -i ".appVersion = \"$IMAGE_TAG_DEV\"" helm/capif/charts/ocf-publish-service-api/Chart.yaml
      ### Chart ocf-register###
      yq e -i ".appVersion = \"$IMAGE_TAG_DEV\"" helm/capif/charts/ocf-register/Chart.yaml
      ### Chart ocf-routing-info###
      yq e -i ".appVersion = \"$IMAGE_TAG_DEV\"" helm/capif/charts/ocf-routing-info/Chart.yaml
      ### Chart ocf-security###
      yq e -i ".appVersion = \"$IMAGE_TAG_DEV\"" helm/capif/charts/ocf-security/Chart.yaml

      echo "### download dependencies###"
      helm dependency build helm/capif
      echo "### updating capif###"