From 527bed989419391c43c1b107b23d1bcffbc4cdc8 Mon Sep 17 00:00:00 2001 From: Sander Devisscher Date: Wed, 31 Jan 2024 16:17:11 +0100 Subject: [PATCH 1/6] Update feature_request.md --- .github/ISSUE_TEMPLATE/feature_request.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index bbcbbe7..9cf086b 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -1,8 +1,8 @@ --- name: Feature request about: Suggest an idea for this project -title: '' -labels: '' +title: '[Feature request]' +labels: 'Feature request' assignees: '' --- From 207e27de8ea6fa2a0d184b6e743a7bfa04a94db7 Mon Sep 17 00:00:00 2001 From: Sander Devisscher Date: Tue, 12 Mar 2024 12:14:10 +0100 Subject: [PATCH 2/6] Update bug_report.md --- .github/ISSUE_TEMPLATE/bug_report.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index dd84ea7..bbca776 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,8 +1,8 @@ --- name: Bug report about: Create a report to help us improve -title: '' -labels: '' +title: '[BUG]' +labels: 'bug' assignees: '' --- From 339514563bfe554d793fd674aff34daa27bebde5 Mon Sep 17 00:00:00 2001 From: Sander Devisscher Date: Fri, 5 Apr 2024 10:38:13 +0200 Subject: [PATCH 3/6] Update issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 11 +++++++++-- .github/ISSUE_TEMPLATE/enhancement.md | 1 + .github/ISSUE_TEMPLATE/feature_request.md | 4 ++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index bbca776..6b01cc5 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,12 +1,19 @@ --- name: Bug report about: Create a report to help us improve -title: '[BUG]' -labels: 'bug' +title: "[BUG]" +labels: bug assignees: '' --- +**Location of the bug** +Provide a location of where the bug occured. +Tab>SubTab>Graph/Table/Map + +In case of an issue with the user interface please use `UI` +In case of an issue with the landing page please use `MAIN` + **Describe the bug** A clear and concise description of what the bug is. diff --git a/.github/ISSUE_TEMPLATE/enhancement.md b/.github/ISSUE_TEMPLATE/enhancement.md index d771b55..ec8953b 100644 --- a/.github/ISSUE_TEMPLATE/enhancement.md +++ b/.github/ISSUE_TEMPLATE/enhancement.md @@ -6,6 +6,7 @@ labels: enhancement assignees: '' --- + # Feature title The title of the feature requiring improvement or description detailing which feature is concerned. Please use the following title template if possible: diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 9cf086b..fb0936e 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -1,8 +1,8 @@ --- name: Feature request about: Suggest an idea for this project -title: '[Feature request]' -labels: 'Feature request' +title: "[Feature request]" +labels: Feature request assignees: '' --- From b75d170c1aecc1af0979373d262e9cb66d032da6 Mon Sep 17 00:00:00 2001 From: Polspoel Jens Date: Tue, 23 Apr 2024 10:12:47 +0200 Subject: [PATCH 4/6] :rocket: Add CI/CD pipeline for UAT --- .github/workflows/deployment_uat.yml | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/deployment_uat.yml diff --git a/.github/workflows/deployment_uat.yml b/.github/workflows/deployment_uat.yml new file mode 100644 index 0000000..bc6c4fe --- /dev/null +++ b/.github/workflows/deployment_uat.yml @@ -0,0 +1,32 @@ +on: + push: + branches: + - uat +jobs: + build: + name: Build and upload Docker image + runs-on: [self-hosted] + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup AWS credentials + uses: aws-actions/configure-aws-credentials@v4 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: ${{ secrets.AWS_DEFAULT_REGION }} + role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} + + - name: Login to Amazon ECR + id: login-ecr + uses: aws-actions/amazon-ecr-login@v2 + + - name: Build, tag, and push docker image to Amazon ECR + env: + REGISTRY: ${{ steps.login-ecr.outputs.registry }} + REPOSITORY: inbo-exotenportaal-portal + IMAGE_TAG: ${{ github.sha }} + run: | + docker build -t $REGISTRY/$REPOSITORY:$IMAGE_TAG . + docker push $REGISTRY/$REPOSITORY:$IMAGE_TAG From 97b60d5c2c62446a2f87c47e2db84c27cc7d519b Mon Sep 17 00:00:00 2001 From: Sander Devisscher Date: Tue, 23 Apr 2024 10:36:22 +0200 Subject: [PATCH 5/6] Update deployment_uat.yml --- .github/workflows/deployment_uat.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deployment_uat.yml b/.github/workflows/deployment_uat.yml index bc6c4fe..02d4a65 100644 --- a/.github/workflows/deployment_uat.yml +++ b/.github/workflows/deployment_uat.yml @@ -1,4 +1,5 @@ on: + workflow_dispatch: push: branches: - uat From 9e74279142072a06caeed96721ed8de36159c388 Mon Sep 17 00:00:00 2001 From: Polspoel Jens Date: Tue, 23 Apr 2024 10:55:44 +0200 Subject: [PATCH 6/6] :closed_lock_with_key: Replace ECR repository to GitHub Secret --- .github/workflows/deployment_uat.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deployment_uat.yml b/.github/workflows/deployment_uat.yml index bc6c4fe..dd5c36d 100644 --- a/.github/workflows/deployment_uat.yml +++ b/.github/workflows/deployment_uat.yml @@ -25,7 +25,7 @@ jobs: - name: Build, tag, and push docker image to Amazon ECR env: REGISTRY: ${{ steps.login-ecr.outputs.registry }} - REPOSITORY: inbo-exotenportaal-portal + REPOSITORY: ${{ secrets.AWS_ECR_REPOSITORY }} IMAGE_TAG: ${{ github.sha }} run: | docker build -t $REGISTRY/$REPOSITORY:$IMAGE_TAG .