Skip to content

Commit

Permalink
fix azure provider
Browse files Browse the repository at this point in the history
  • Loading branch information
mlabouardy committed Jun 19, 2022
1 parent 95de416 commit efba90c
Show file tree
Hide file tree
Showing 23 changed files with 26 additions and 840 deletions.
8 changes: 5 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ jobs:
chmod +x komiser_windows_amd64.exe komiser_darwin_amd64 komiser_linux_amd64
- run:
name: Push Linux binary
command: aws s3 cp komiser_linux_amd64 s3://komiser-releases/2.6.0/linux/komiser --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers
command: aws s3 cp komiser_linux_amd64 s3://komiser-releases/2.7.0/linux/komiser --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers
- run:
name: Push Windows binary
command: aws s3 cp komiser_windows_amd64.exe s3://komiser-releases/2.6.0/windows/komiser --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers
command: aws s3 cp komiser_windows_amd64.exe s3://komiser-releases/2.7.0/windows/komiser --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers
- run:
name: Push Mac OS X binary
command: aws s3 cp komiser_darwin_amd64 s3://komiser-releases/2.6.0/osx/komiser --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers
command: aws s3 cp komiser_darwin_amd64 s3://komiser-releases/2.7.0/osx/komiser --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers
- run:
name: Upload IAM policy
command: aws s3 cp policy.json s3://komiser-releases/policy.json --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers
Expand All @@ -85,7 +85,9 @@ jobs:
command: |
docker login -u$DOCKERHUB_LOGIN -p$DOCKERHUB_PASSWORD
docker tag mlabouardy/komiser:latest mlabouardy/komiser:${CIRCLE_SHA1}
docker tag mlabouardy/komiser:latest mlabouardy/komiser:2.7.0
docker push mlabouardy/komiser:latest
docker push mlabouardy/komiser:2.7.0
docker push mlabouardy/komiser:${CIRCLE_SHA1}
workflows:
Expand Down
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,24 +37,24 @@ Does your company use Komiser? Ask your manager or marketing team if your compa

## Download

Below are the available downloads for the latest version of Komiser (2.6.0). Please download the proper package for your operating system and architecture.
Below are the available downloads for the latest version of Komiser (2.7.0). Please download the proper package for your operating system and architecture.

### Linux:

```
wget https://cli.komiser.io/2.6.0/linux/komiser
wget https://cli.komiser.io/2.7.0/linux/komiser
```

### Windows:

```
wget https://cli.komiser.io/2.6.0/windows/komiser -OutFile komiser.exe
wget https://cli.komiser.io/2.7.0/windows/komiser -OutFile komiser.exe
```

### Mac OS X:

```
wget https://cli.komiser.io/2.6.0/osx/komiser
wget https://cli.komiser.io/2.7.0/osx/komiser
```

_Note_: make sure to add the execution permission to Komiser `chmod +x komiser`
Expand All @@ -67,7 +67,7 @@ brew install komiser
### Docker:

```
docker run -d -p 3000:3000 -e AWS_ACCESS_KEY_ID="" -e AWS_SECRET_ACCESS_KEY="" -e AWS_DEFAULT_REGION="" --name komiser mlabouardy/komiser:2.6.0
docker run -d -p 3000:3000 -e AWS_ACCESS_KEY_ID="" -e AWS_SECRET_ACCESS_KEY="" -e AWS_DEFAULT_REGION="" --name komiser mlabouardy/komiser:2.7.0
```

## How to use
Expand Down Expand Up @@ -200,6 +200,10 @@ komiser start --port 3000

* Point your browser to http://localhost:3000

<p align="center">
<img src="https://cdn.komiser.io/images/dashboard-azure.png"/>
</p>

### OVH

* Create an API application from [here](https://eu.api.ovh.com/createToken/).
Expand Down
10 changes: 7 additions & 3 deletions dashboard/src/app/app.component.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.service-logo{
.service-logo {
width: 30px;
}

.notif-box {
width: 370px;
}

.notif-content{
.notif-content {
width: 100%;
}

Expand All @@ -17,6 +17,10 @@
margin-top: 50px;
}

.photo img{
.photo img {
object-fit: contain !important;
}

.logo img {
width: 125px;
}
14 changes: 3 additions & 11 deletions dashboard/src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<div class="main-header">
<div class="logo-header">
<a class="logo" href="index.html">
<img src="https://cdn.komiser.io/images/logo-home.png" style="width: 32px; margin-right:10px" /> Komiser
Dashboard</a>
<img src="https://cdn.komiser.io/images/komiser-oraculi.png" /></a>
<button aria-controls="sidebar" aria-expanded="false" aria-label="Toggle navigation"
class="navbar-toggler sidenav-toggler ml-auto" data-target="collapse" data-toggle="collapse" type="button">
<span class="navbar-toggler-icon"></span>
Expand All @@ -24,12 +23,6 @@
</div>
</form>
<ul class="navbar-nav topbar-nav ml-md-auto align-items-center">
<li class="nav-item dropdown hidden-caret">
<a aria-expanded="false" aria-haspopup="true" class="nav-link dropdown-toggle"
data-toggle="dropdown" routerLink="/limits" id="navbarDropdown" role="button">
<i class="la la-rocket"></i>
</a>
</li>
<li class="nav-item dropdown hidden-caret">
<a aria-expanded="false" aria-haspopup="true" class="nav-link dropdown-toggle"
data-toggle="dropdown" href="#" id="navbarDropdown" role="button">
Expand Down Expand Up @@ -167,8 +160,7 @@
<nav class="pull-left">
<ul class="nav">
<li class="nav-item">
<a class="nav-link"
href="https://join.slack.com/t/komiser/shared_invite/zt-141wqevac-mjY6psVrChaf0EUGryHJjA">Slack</a>
<a class="nav-link" href="https://discord.oraculi.io">Discord</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://www.github.com/mlabouardy/komiser">GitHub</a>
Expand All @@ -181,7 +173,7 @@
<div class="copyright ml-auto">
2022, made with
<i class="la la-heart heart text-danger"></i> by
<a href="https://www.komiser.io">Komiser</a>
<a href="https://www.oraculi.io">Oraculi</a>
</div>
</div>
</footer>
Expand Down
13 changes: 0 additions & 13 deletions dashboard/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ import { OvhDataAndAIComponent } from './pages/data-and-ai/ovh/ovh.component';
import { DigitaloceanService } from './services/digitalocean.service';
import { GcpService } from './services/gcp.service';
import { GoogleAnalyticsService } from './services/google-analytics.service';
import { AwsLimitsComponent } from './pages/limits/aws/aws.component';
import { GcpLimitsComponent } from './pages/limits/gcp/gcp.component';
import { LimitsComponent } from './pages/limits/limits.component';
import { OvhLimitsComponent } from './pages/limits/ovh/ovh.component';
import { AwsNetworkComponent } from './pages/network/aws/aws.component';
import { AzureNetworkComponent } from './pages/network/azure/azure.component';
import { DigitaloceanNetworkComponent } from './pages/network/digitalocean/digitalocean.component';
Expand Down Expand Up @@ -92,11 +88,6 @@ const appRoutes: Routes = [
component: ProfileComponent,
data: { title: "Profile - Komiser" },
},
{
path: "limits",
component: LimitsComponent,
data: { title: "Service Limits Checks - Komiser" },
},
{
path: "notifications",
component: NotificationsComponent,
Expand All @@ -120,7 +111,6 @@ const appRoutes: Routes = [
SecurityComponent,
DataAndAiComponent,
ProfileComponent,
LimitsComponent,
AwsDashboardComponent,
GcpDashboardComponent,
AwsComputeComponent,
Expand All @@ -136,8 +126,6 @@ const appRoutes: Routes = [
GcpSecurityComponent,
GcpDataAndAIComponent,
AwsDataAndAIComponent,
AwsLimitsComponent,
GcpLimitsComponent,
AwsProfileComponent,
GcpProfileComponent,
NotificationsComponent,
Expand All @@ -147,7 +135,6 @@ const appRoutes: Routes = [
OvhNetworkComponent,
OvhSecurityComponent,
OvhDataAndAIComponent,
OvhLimitsComponent,
OvhProfileComponent,
DigitaloceanDashboardComponent,
DigitaloceanComputeComponent,
Expand Down
9 changes: 1 addition & 8 deletions dashboard/src/app/pages/dashboard/azure/azure.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,7 @@ export class AzureDashboardComponent
["westus3", { latitude: "33.448376", longitude: "-112.074036" }],
["australiaeast", { latitude: "-33.86", longitude: "151.2094" }],
["southeastasia", { latitude: "1.283", longitude: "103.833" }],
["southeastasia", { latitude: "1.283", longitude: "103.833" }],
/* ["ams", { latitude: "52.370216", longitude: "4.895168" }],
["sfo", { latitude: "37.774929", longitude: "-122.419418" }],
["sgp", { latitude: "1.352083", longitude: "103.819839" }],
["lon", { latitude: "51.507351", longitude: "-0.127758" }],
["fra", { latitude: "50.110924", longitude: "8.682127" }],
["tor", { latitude: "43.653225", longitude: "-79.383186" }],
["blr", { latitude: "12.971599", longitude: "77.594566" }],*/
['australiaeas', { latitude: '-31.84', longitude: '145.61' }],
]);

private _subscription: Subscription;
Expand Down
93 changes: 0 additions & 93 deletions dashboard/src/app/pages/limits/aws/aws.component.css

This file was deleted.

28 changes: 0 additions & 28 deletions dashboard/src/app/pages/limits/aws/aws.component.html

This file was deleted.

25 changes: 0 additions & 25 deletions dashboard/src/app/pages/limits/aws/aws.component.spec.ts

This file was deleted.

Loading

0 comments on commit efba90c

Please sign in to comment.