Skip to content

Commit dd3a06c

Browse files
committed
Merge branch 'master' into TTA-196-duration-column-formatting-ui
2 parents ab06c75 + eed3671 commit dd3a06c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+405
-165
lines changed

.dev.env

-139 Bytes
Binary file not shown.

.github/workflows/CD-time-tracker-ui.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ jobs:
3434
CLIENT_ID: ${{ secrets.client_id }}
3535
CLIENT_URL: ${{ secrets.client_url }}
3636
STACK_EXCHANGE_ID: ${{ secrets.stack_exchange_id }}
37-
AUTH_URL: ${{ secrets.AUTH_URL }}
38-
AUTH_APP_NAME: ${{ secrets.AUTH_APP_NAME }}
3937
STACK_EXCHANGE_ACCESS_TOKEN: ${{ secrets.stack_exchange_access_token }}
4038
AZURE_APP_CONFIGURATION_CONNECTION_STRING: ${{ secrets.azure_app_configuration_connection_string }}
4139
run: |

.github/workflows/CI-time-tracker-ui.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ jobs:
4646
SCOPES: ${{ secrets.SCOPES }}
4747
CLIENT_ID: ${{ secrets.CLIENT_ID }}
4848
CLIENT_URL : ${{ secrets.CLIENT_URL }}
49-
AUTH_URL: ${{ secrets.AUTH_URL }}
50-
AUTH_APP_NAME: ${{ secrets.AUTH_APP_NAME }}
5149
STACK_EXCHANGE_ID: ${{ secrets.STACK_EXCHANGE_ID }}
5250
STACK_EXCHANGE_ACCESS_TOKEN: ${{ secrets.STACK_EXCHANGE_ACCESS_TOKEN }}
5351
AZURE_APP_CONFIGURATION_CONNECTION_STRING: ${{ secrets.AZURE_APP_CONFIGURATION_CONNECTION_STRING }}

.github/workflows/time-tracker-ui-ci.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,12 @@ jobs:
2929
with:
3030
ssh-private-key: ${{ secrets.INFRA_TERRAFORM_MODULES_SSH_PRIV_KEY }}
3131

32-
- name: Unlock DEV secrets
33-
uses: sliteteam/[email protected]
34-
env:
35-
GIT_CRYPT_KEY: ${{ secrets.GIT_CRYPT_KEY_DEFAULT }}
36-
3732
- name: build docker
3833
run: make build
3934

4035
- name: Running tests
4136
run: |
37+
chmod -R 777 ./$home
4238
make test
4339
- name: Generate coverage report
4440
env:

.prod.env

-64 Bytes
Binary file not shown.

.stage.env

-84 Bytes
Binary file not shown.

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ remove: ## Delete container timetracker_ui.
4141
.PHONY: test
4242
test: ## Run all tests on docker container timetracker_ui at the CLI.
4343
docker-compose build timetracker_ui_test
44-
docker-compose --env-file=.dev.env up -d timetracker_ui_test
44+
docker-compose up -d timetracker_ui_test
4545
docker logs -f timetracker_ui_test
4646

4747
.PHONY: testdev
@@ -85,7 +85,7 @@ publish_prod: ## Upload a docker image to the prod azure container registry acr=
8585
docker push $(acr).azurecr.io/timetracker_ui:$(image_tag)
8686

8787
.PHONY: login
88-
login: ## Login in respository of docker images.
88+
login: ## Login in respository of docker images
8989
az acr login --name $(acr)
9090

9191
.PHONY: release

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,6 @@ In project path, open your favourite command line and run `npm install` in order
5959

6060
# Prepare your environment
6161

62-
### **Local DNS Configuration**
63-
64-
To test the application in a local environment please modify you `/etc/hosts` on Linux/Mac. In Windows `C:\Windows\System32\Drivers\etc\hosts` and add this line:
65-
```text
66-
127.0.0.1 timetracker-dev.ioet.com
67-
```
68-
6962
### Set environment variables
7063
**1**. Using GPG create your key by running this command in your favourite command shell: `gpg --generate-key`.
7164

docker-compose.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ services:
33
timetracker_ui:
44
container_name: timetracker_ui
55
image: timetracker_ui
6-
env_file:
7-
- .dev.env
86
build:
97
context: .
108
dockerfile: ./Docker/Dockerfile.dev
@@ -16,8 +14,6 @@ services:
1614
API_URL: ${API_URL}
1715
CLIENT_ID: ${CLIENT_ID}
1816
CLIENT_URL: ${CLIENT_URL}
19-
AUTH_URL: ${AUTH_URL}
20-
AUTH_APP_NAME: ${AUTH_APP_NAME}
2117
SCOPES: ${SCOPES}
2218
STACK_EXCHANGE_ID: ${STACK_EXCHANGE_ID}
2319
STACK_EXCHANGE_ACCESS_TOKEN: ${STACK_EXCHANGE_ACCESS_TOKEN}

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)