Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
fix: conflict(
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgfr committed Feb 24, 2022
2 parents 8bc5351 + c556c9d commit 53e7f97
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/preproduction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ jobs:
echo "project=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV
- name: Use autodevops to deploy review branch
uses: SocialGouv/actions/autodevops@v1
uses: SocialGouv/actions/autodevops-helm@v1
with:
environment: preprod
project: ${{ env.project }}
token: ${{ secrets.GITHUB_TOKEN }}
kubeconfig: ${{ secrets.KUBECONFIG }}
imageName: ${{ env.project }}/app
rancherId: ${{ secrets.RANCHER_PROJECT_ID }}
rancherProjectName: ${{ secrets.RANCHER_PROJECT_NAME }}
socialgouvBaseDomain: ${{ secrets.SOCIALGOUV_BASE_DOMAIN }}
3 changes: 1 addition & 2 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ jobs:
- name: Get project name
run: |
echo "project=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV
- name: Use autodevops to deploy production
uses: SocialGouv/actions/autodevops@v1
uses: SocialGouv/actions/autodevops-helm@v1
id: autodevops
with:
environment: prod
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ jobs:
echo "project=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV
- name: Use autodevops to deploy review branch
uses: SocialGouv/actions/autodevops@v1
uses: SocialGouv/actions/autodevops-helm@v1
with:
environment: dev
project: ${{ env.project }}
token: ${{ secrets.GITHUB_TOKEN }}
kubeconfig: ${{ secrets.KUBECONFIG }}
imageName: ${{ env.project }}/app
rancherId: ${{ secrets.RANCHER_PROJECT_ID }}
rancherProjectName: ${{ secrets.RANCHER_PROJECT_NAME }}
socialgouvBaseDomain: ${{ secrets.SOCIALGOUV_BASE_DOMAIN }}
2 changes: 2 additions & 0 deletions .socialgouv/chart/values.project.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
app:
containerPort: 80
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
## [1.3.1](https://github.com/SocialGouv/template/compare/v1.3.0...v1.3.1) (2022-02-23)


### Bug Fixes

* **ci:** autodevops-helm ([62d2f8f](https://github.com/SocialGouv/template/commit/62d2f8f442e50c46c6444d21edcf5bc4e2d6da07))
* **ci:** autodevops-helm ([48be757](https://github.com/SocialGouv/template/commit/48be757865f4be1a11bb54fd98ca8f0494b89efb))
* **ci:** autodevops-helm ([bc3d79b](https://github.com/SocialGouv/template/commit/bc3d79b6d41229be03c7cb66b379954aaf3b1613))
* **ci:** autodevops-helm ([d71c7bf](https://github.com/SocialGouv/template/commit/d71c7bfcbb68d536c873aaaefb96de11e41b367c))
* **ci:** autodevops-helm ([0400fd5](https://github.com/SocialGouv/template/commit/0400fd5f4f6394a4fb01a53c0782856fdab4b3c0))
* **ci:** autodevops-helm ([0277ada](https://github.com/SocialGouv/template/commit/0277ada8276ff5d0000012c12eb7e2c7eb72185d))
* **ci:** autodevops-helm ([f94ab63](https://github.com/SocialGouv/template/commit/f94ab6331289c6d8eee00efce3d0eb70ee471816))
* **ci:** autodevops-helm ([9ff36c7](https://github.com/SocialGouv/template/commit/9ff36c7e83bfffb8a1e5c67be2cefd38f813e086))
* **ci:** autodevops-helm ([7fab225](https://github.com/SocialGouv/template/commit/7fab225218ecdd868f9a84b57a4ca14d1fd1f03d))
* **ci:** autodevops-helm ([9604bf9](https://github.com/SocialGouv/template/commit/9604bf9ab8492558e3460c228563761304691e89))
* **ci:** autodevops-helm ([91d1b6a](https://github.com/SocialGouv/template/commit/91d1b6acd24dbe6a86f23033e98971b737c12f73))

# [1.3.0](https://github.com/SocialGouv/template/compare/v1.2.1...v1.3.0) (2022-02-18)


Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,5 @@ RUN if [ -z "$PRODUCTION" ]; then \
# Production image, copy all the files and run next
FROM ghcr.io/socialgouv/docker/nginx:6.64.2 AS runner

COPY --from=builder /app/out /usr/share/nginx/html
COPY --from=builder /app/out /usr/share/nginx/html

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@
"start-server-and-test": "^1.14.0",
"typescript": "4.5.5"
},
"version": "1.3.0"
"version": "1.3.1"
}

0 comments on commit 53e7f97

Please sign in to comment.