-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- v1.18.2
- v1.18.1
- v1.18.0
- v1.17.1
- v1.17.0
- v1.16.13
- v1.16.12
- v1.16.11
- v1.16.10
- v1.16.9
- v1.16.8
- v1.16.7
- v1.16.6
- v1.16.5
- v1.16.4
- v1.16.3
- v1.16.2
- v1.16.1
- v1.16.0
- v1.15.6
- v1.15.5
- v1.15.4
- v1.15.3
- v1.15.2
- v1.15.1
- v1.15.0
- v1.14.8
- v1.14.7
- v1.14.6
- v1.14.5
- v1.14.4
- v1.14.3
- v1.14.2
- v1.14.1
- v1.14.0
- v1.13.0
- v1.12.0
- v1.11.10
- v1.11.9
- v1.11.8
- v1.11.7
- v1.11.6
- v1.11.5
- v1.11.4
- v1.11.3
- v1.11.2
- v1.11.1
- v1.11.0
- v1.10.0
- v1.9.0
- v1.8.0
- v1.7.3
- v1.7.2
- v1.7.1
- v1.7.0
- v1.6.6
- v1.6.5
- v1.6.4
- v1.6.3
- v1.6.2
- v1.6.1
- v1.6.0
- v1.5.1
- v1.5.0
- v1.4.1
- v1.4.0
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.0
- v1.1.1
- v1.1.0
- v1.0.3
- v1.0.2
- v1.0.1
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Deactivate | ||
|
||
on: | ||
pull_request: | ||
types: [ closed ] | ||
|
||
jobs: | ||
bury_review_env: | ||
name: Deactivate review branch | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: SocialGouv/actions/autodevops-deactivate@v1 | ||
with: | ||
kube-config: ${{ secrets.KUBECONFIG }} | ||
rancherId: ${{ secrets.RANCHER_PROJECT_ID }} | ||
socialgouvBaseDomain: ${{ secrets.SOCIALGOUV_BASE_DOMAIN }} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
name: Review | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
tags-ignore: | ||
- v* | ||
|
||
concurrency: | ||
cancel-in-progress: true | ||
group: preproduction | ||
|
||
jobs: | ||
|
||
############################################################################## | ||
## BUILD AND REGISTER DOCKER IMAGES | ||
############################################################################## | ||
register: | ||
name: Build & Register application | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Get project name | ||
run: | | ||
echo "project=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV | ||
- name: Use autodevops build and register | ||
uses: SocialGouv/actions/autodevops-build-register@v1 | ||
with: | ||
environment: preprod | ||
project: ${{ env.project }} | ||
imageName: fabrique/ressourcerie | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
############################################################################## | ||
## GENERATE KUBERNETES MANIFESTS | ||
############################################################################## | ||
manifests: | ||
name: Generate k8s manifests | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Use autodevops manifests generation | ||
uses: SocialGouv/actions/autodevops-manifests@v1 | ||
with: | ||
environment: preprod | ||
rancherId: ${{ secrets.RANCHER_PROJECT_ID }} | ||
socialgouvBaseDomain: ${{ secrets.SOCIALGOUV_BASE_DOMAIN }} | ||
|
||
############################################################################## | ||
## DEPLOY APPLICATION OVER KUBERNETES | ||
############################################################################## | ||
deploy: | ||
name: Deploy application | ||
runs-on: ubuntu-latest | ||
needs: [register, manifests] | ||
steps: | ||
|
||
- name: Use autodevops deployment | ||
uses: SocialGouv/actions/autodevops-deploy@v1 | ||
with: | ||
environment: preprod | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
kubeconfig: ${{ secrets.KUBECONFIG }} | ||
rancherId: ${{ secrets.RANCHER_PROJECT_ID }} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
name: Production | ||
|
||
on: | ||
push: | ||
tags: | ||
- v* | ||
|
||
concurrency: | ||
group: production | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
|
||
############################################################################## | ||
## BUILD AND REGISTER DOCKER IMAGE | ||
############################################################################## | ||
register: | ||
name: Build & Register application | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Get project name | ||
run: | | ||
echo "project=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV | ||
- name: Use autodevops build and register | ||
uses: SocialGouv/actions/autodevops-build-register@v1 | ||
with: | ||
environment: prod | ||
project: ${{ env.project }} | ||
imageName: fabrique/ressourcerie | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
############################################################################## | ||
## DEPLOY PRODUCTION APPLICATION | ||
############################################################################## | ||
deploy: | ||
name: Deploy application | ||
runs-on: ubuntu-latest | ||
needs: [register] | ||
environment: | ||
name: production | ||
url: https://ressourcerie.fabrique.social.gouv.fr | ||
steps: | ||
|
||
- name: Use autodevops manifests generation | ||
uses: SocialGouv/actions/autodevops-manifests@v1 | ||
with: | ||
environment: prod | ||
productionNamespace: fabrique | ||
rancherId: ${{ secrets.RANCHER_PROJECT_ID }} | ||
socialgouvBaseDomain: ${{ secrets.SOCIALGOUV_BASE_DOMAIN }} | ||
env: | ||
NODE_OPTIONS: '--max_old_space_size=4096' | ||
|
||
- name: Use autodevops deployment | ||
uses: SocialGouv/actions/autodevops-deploy@v1 | ||
with: | ||
environment: prod | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
kubeconfig: ${{ secrets.KUBECONFIG }} | ||
rancherId: ${{ secrets.RANCHER_PROJECT_ID }} |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Release | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [master, alpha, beta, next] | ||
|
||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- uses: SocialGouv/actions/autodevops-release@v1 | ||
with: | ||
author-name: ${{ secrets.SOCIALGROOVYBOT_NAME }} | ||
author-email: ${{ secrets.SOCIALGROOVYBOT_EMAIL }} | ||
github-token: ${{ secrets.SOCIALGROOVYBOT_BOTO_PAT }} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: Review | ||
|
||
on: | ||
push: | ||
branches-ignore: | ||
- master | ||
tags-ignore: | ||
- v* | ||
|
||
concurrency: | ||
cancel-in-progress: true | ||
group: review-${{ github.ref }} | ||
|
||
jobs: | ||
|
||
############################################################################## | ||
## BUILD AND REGISTER DOCKER IMAGES | ||
############################################################################## | ||
register: | ||
name: Build & Register application | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Get project name | ||
run: | | ||
echo "project=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV | ||
- name: Use autodevops build and register | ||
uses: SocialGouv/actions/autodevops-build-register@v1 | ||
with: | ||
environment: dev | ||
imageName: fabrique/ressourcerie | ||
project: ${{ env.project }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
############################################################################## | ||
## GENERATE KUBERNETES MANIFESTS | ||
############################################################################## | ||
manifests: | ||
name: Generate k8s manifests | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Use autodevops manifests generation | ||
uses: SocialGouv/actions/autodevops-manifests@v1 | ||
with: | ||
environment: dev | ||
rancherId: ${{ secrets.RANCHER_PROJECT_ID }} | ||
socialgouvBaseDomain: ${{ secrets.SOCIALGOUV_BASE_DOMAIN }} | ||
env: | ||
NODE_OPTIONS: '--max_old_space_size=4096' | ||
|
||
############################################################################## | ||
## DEPLOY APPLICATION OVER KUBERNETES | ||
############################################################################## | ||
deploy: | ||
name: Deploy application | ||
runs-on: ubuntu-latest | ||
needs: [register, manifests] | ||
steps: | ||
|
||
- name: Use autodevops deployment | ||
uses: SocialGouv/actions/autodevops-deploy@v1 | ||
with: | ||
environment: dev | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
kubeconfig: ${{ secrets.KUBECONFIG }} | ||
rancherId: ${{ secrets.RANCHER_PROJECT_ID }} |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "app", | ||
"registry": "ghcr", | ||
"project": "fabrique", | ||
"name": "ressourcerie", | ||
"subdomain": "ressourcerie" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# 1.0.0 (2021-12-13) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **workflows:** Add basic workflows and socialgouv config ([#3](https://github.com/SocialGouv/ressourcerie/issues/3)) ([d48157d](https://github.com/SocialGouv/ressourcerie/commit/d48157dd5e6376464917ad7fa001a9ffef311ba1)) | ||
* add missing folders gitignore ([c6aeb21](https://github.com/SocialGouv/ressourcerie/commit/c6aeb218472026f693bfb0c2cd85ea190d6f7f13)) | ||
|
||
|
||
### Features | ||
|
||
* article IA 1/2 ([cff4861](https://github.com/SocialGouv/ressourcerie/commit/cff4861ab96844a412583c1bda38b7f9abe39a4d)) | ||
* article publicodes ([6fb6555](https://github.com/SocialGouv/ressourcerie/commit/6fb65555ed03b257066461fb795dabb5eaffbe03)) | ||
|
||
# [1.0.0-alpha.5](https://github.com/SocialGouv/ressourcerie/compare/v1.0.0-alpha.4...v1.0.0-alpha.5) (2021-12-10) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Bump version ([5bd998e](https://github.com/SocialGouv/ressourcerie/commit/5bd998e801cd45a24f0660a5b2be1329e784baec)) | ||
|
||
# [1.0.0-alpha.4](https://github.com/SocialGouv/ressourcerie/compare/v1.0.0-alpha.3...v1.0.0-alpha.4) (2021-12-09) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* add NODE_OPTIONS ([2e81b13](https://github.com/SocialGouv/ressourcerie/commit/2e81b132580e815ebe27ee2db3096a8d8aa9e5f1)) | ||
|
||
# [1.0.0-alpha.3](https://github.com/SocialGouv/ressourcerie/compare/v1.0.0-alpha.2...v1.0.0-alpha.3) (2021-12-09) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Set subdomain ([3fe93e6](https://github.com/SocialGouv/ressourcerie/commit/3fe93e61cfad3f0898a1ede3dc9dcda9d3cf2612)) | ||
|
||
# [1.0.0-alpha.2](https://github.com/SocialGouv/ressourcerie/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2021-12-09) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Set production namespace ([b444b28](https://github.com/SocialGouv/ressourcerie/commit/b444b283f26407713940b6055b93ac2dc2700da7)) | ||
|
||
# 1.0.0-alpha.1 (2021-12-09) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* add missing folders gitignore ([c6aeb21](https://github.com/SocialGouv/ressourcerie/commit/c6aeb218472026f693bfb0c2cd85ea190d6f7f13)) |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
const Page = () => <h1>It Works!</h1> | ||
export default Page |