Skip to content

Commit 0e04fe1

Browse files
authored
This reverts commit 5863564. (#946)
1 parent 387de8b commit 0e04fe1

35 files changed

+114
-144
lines changed

.dev.env

-138 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

-74 Bytes
Binary file not shown.

.stage.env

-36 Bytes
Binary file not shown.

Makefile

Lines changed: 1 addition & 1 deletion
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

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}

scripts/populate-keys.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ echo "API_URL='$API_URL'" >> .env
55
echo "AUTHORITY='$AUTHORITY'" >> .env
66
echo "CLIENT_ID='$CLIENT_ID'" >> .env
77
echo "CLIENT_URL='$CLIENT_URL'" >> .env
8-
echo "AUTH_URL='$AUTH_URL'" >> .env
9-
echo "AUTH_APP_NAME='$AUTH_APP_NAME'" >> .env
108
echo "SCOPES='$SCOPES'" >> .env
119
echo "STACK_EXCHANGE_ID='$STACK_EXCHANGE_ID'" >> .env
1210
echo "STACK_EXCHANGE_ACCESS_TOKEN='$STACK_EXCHANGE_ACCESS_TOKEN'" >> .env

0 commit comments

Comments
 (0)