Skip to content

Commit

Permalink
Merge pull request #96 from inbo/uat
Browse files Browse the repository at this point in the history
rebase after automatisation
  • Loading branch information
SanderDevisscher authored Apr 23, 2024
2 parents bf5e66d + c673432 commit 8ba983d
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 4 deletions.
11 changes: 9 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
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.

Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/enhancement.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
title: "[Feature request]"
labels: Feature request
assignees: ''

---
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/deployment_uat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
on:
workflow_dispatch:
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: ${{ secrets.AWS_ECR_REPOSITORY }}
IMAGE_TAG: ${{ github.sha }}
run: |
docker build -t $REGISTRY/$REPOSITORY:$IMAGE_TAG .
docker push $REGISTRY/$REPOSITORY:$IMAGE_TAG

0 comments on commit 8ba983d

Please sign in to comment.