Skip to content

Commit

Permalink
Merge pull request #75 from stemdo-labs/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ValentinoSanchez00 authored Dec 11, 2024
2 parents d228a43 + 37bfd62 commit c8d1406
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/SubirDockerfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
uses: ./.github/workflows/principal.yaml
with:
MICROSERVICE: "frontend"
VERSION_CHART: "0.2.1"
VERSION_CHART: "0.2.2"
ENVIROMENT: ${{ github.ref == 'refs/heads/main' && 'production' || 'develop' }}
secrets:
ARM_CLIENT_ID: ${{ secrets.ARM_CLIENT_ID }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/principal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,15 @@ jobs:
- name: Desempaquetar el chart
if: inputs.ENVIROMENT == 'develop'
run: |
helm upgrade --install develop-frontend ${NAME_CHART}-${VERSION_CHART}.tgz --namespace ns-vsanchez -f valuesdev.yaml
helm upgrade --install frontend-develop ${NAME_CHART}-${VERSION_CHART}.tgz --namespace ns-vsanchez -f valuesdev.yaml
env:
NAME_CHART: chart-${{ inputs.MICROSERVICE }}
VERSION_CHART: ${{ inputs.VERSION_CHART }}

- name: Desempaquetar el chart
if: inputs.ENVIROMENT == 'production'
run: |
helm upgrade --install production-frontend ${NAME_CHART}-${VERSION_CHART}.tgz --namespace ns-vsanchez -f valuesprod.yaml
helm upgrade --install frontend-production ${NAME_CHART}-${VERSION_CHART}.tgz --namespace ns-vsanchez -f valuesprod.yaml
env:
NAME_CHART: chart-${{ inputs.MICROSERVICE }}
VERSION_CHART: ${{ inputs.VERSION_CHART }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "frontend-rh",
"version": "0.1.3",
"version": "0.1.4",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.16.5",
Expand Down
2 changes: 1 addition & 1 deletion valuesdev.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

frontend:
replicas: 2
image: containerregistryvsanchez.azurecr.io/imagen-proyecto-frontend-develop:0.1.3
image: containerregistryvsanchez.azurecr.io/imagen-proyecto-frontend-develop:0.1.4
containerPort: 80
resources:
requests:
Expand Down
2 changes: 1 addition & 1 deletion valuesprod.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

frontend:
replicas: 2
image: containerregistryvsanchez.azurecr.io/imagen-proyecto-frontend-production:0.1.3
image: containerregistryvsanchez.azurecr.io/imagen-proyecto-frontend-production:0.1.4
containerPort: 80
resources:
requests:
Expand Down

0 comments on commit c8d1406

Please sign in to comment.