Skip to content
This repository was archived by the owner on Mar 9, 2025. It is now read-only.

Commit fba54af

Browse files
committed
Prepping for 1.0
1 parent 68ab025 commit fba54af

File tree

295 files changed

+23096
-80216
lines changed

Some content is hidden

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

295 files changed

+23096
-80216
lines changed

.env.example

Lines changed: 0 additions & 10 deletions
This file was deleted.

.gimlet/preview.yaml

Lines changed: 0 additions & 63 deletions
This file was deleted.

.github/workflows/build.yml renamed to .github/build.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,6 @@ jobs:
9191
with:
9292
path: ${{ steps.go-cache-paths.outputs.go-mod }}
9393
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
94-
- name: 🏗️ Build chart configure frontend
95-
run: make build-cli-frontend
96-
- name: 🏗️ Build stack frontend
97-
run: make build-stack-frontend
9894
- name: 🏗️ Build CLI
9995
run: make build-cli
10096
env:
@@ -178,7 +174,7 @@ jobs:
178174
with:
179175
fetch-depth: 5
180176
- name: 🏗️ Build dashboard frontend
181-
run: make build-dashboard-frontend
177+
run: make build-frontend
182178

183179
image-builder:
184180
name: 🏗️ Build Image builder

.github/workflows/publish-cli.yml

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ jobs:
3232
else
3333
echo "::set-output name=version::$GITHUB_SHA"
3434
fi
35-
- name: 🏗️ Build chart configure frontend
36-
run: make build-cli-frontend
37-
- name: 🏗️ Build stack frontend
38-
run: make build-stack-frontend
3935
- name: Dist
4036
run: make dist-cli
4137
env:
@@ -56,20 +52,20 @@ jobs:
5652
GITHUB_TOKEN: ${{ github.token }}
5753
with:
5854
asset_paths: '["./bin/gimlet*"]'
59-
- name: Set up Docker Buildx
60-
uses: docker/setup-buildx-action@v1
61-
- name: Login to GitHub Container Registry
62-
uses: docker/login-action@v1
63-
with:
64-
registry: ghcr.io
65-
username: ${{ github.repository_owner }}
66-
password: ${{ secrets.PAT }} # `PAT` is a secret that contains your Personal Access Token with `write:packages` scope
67-
- name: Build and push Docker image
68-
uses: docker/build-push-action@v2
69-
with:
70-
context: .
71-
file: docker/cli/Dockerfile
72-
platforms: linux/amd64
73-
push: true
74-
tags: |
75-
ghcr.io/gimlet-io/gimlet-cli:${{ steps.version.outputs.version }}
55+
# - name: Set up Docker Buildx
56+
# uses: docker/setup-buildx-action@v1
57+
# - name: Login to GitHub Container Registry
58+
# uses: docker/login-action@v1
59+
# with:
60+
# registry: ghcr.io
61+
# username: ${{ github.repository_owner }}
62+
# password: ${{ secrets.PAT }} # `PAT` is a secret that contains your Personal Access Token with `write:packages` scope
63+
# # - name: Build and push Docker image
64+
# uses: docker/build-push-action@v2
65+
# with:
66+
# context: .
67+
# file: docker/cli/Dockerfile
68+
# platforms: linux/amd64
69+
# push: true
70+
# tags: |
71+
# ghcr.io/gimlet-io/gimlet-cli:${{ steps.version.outputs.version }}

.github/workflows/publish.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,11 @@ jobs:
3333
echo "::set-output name=version::$GITHUB_SHA"
3434
fi
3535
- name: 🏗️ Build frontend
36-
run: make build-dashboard-frontend
36+
run: make build-frontend
3737
- name: Dist
3838
run: make dist-dashboard
3939
env:
4040
VERSION: ${{ steps.version.outputs.version }}
41-
- name: Create Release
42-
id: create_release
43-
uses: actions/create-release@v1
44-
env:
45-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46-
with:
47-
tag_name: ${{ github.ref }}
48-
release_name: Gimlet ${{ steps.version.outputs.version }}
49-
draft: false
50-
prerelease: false
5141
- name: Set up QEMU
5242
uses: docker/[email protected]
5343
- name: Set up Docker Buildx

.gitignore

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,13 @@ bin
1111
web/cli/node_modules
1212
web/cli/dist
1313

14-
web/stack/node_modules
15-
web/stack/dist
16-
1714
web/dashboard/node_modules
1815
web/dashboard/dist
1916

20-
web/installer/node_modules
21-
web/installer/dist
22-
23-
pkg/commands/chart/bundle.js
24-
pkg/commands/chart/bundle.js.LICENSE.txt
25-
pkg/commands/chart/index.html
17+
web/.vite
2618

27-
pkg/commands/stack/web/bundle.js
28-
pkg/commands/stack/web/bundle.js.LICENSE.txt
29-
pkg/commands/stack/web/index.html
19+
web/node_modules
20+
web/dist
3021

3122
.env
3223

@@ -40,20 +31,10 @@ fixtures/k3s/kubeconfig.yaml
4031

4132
gimlet-dashboard.sqlite
4233

43-
__debug_bin
44-
45-
cmd/installer/web/main.js
46-
cmd/installer/web/main.js.map
47-
cmd/installer/web/main.js.LICENSE.txt
48-
cmd/installer/web/1.chunk.js
49-
cmd/installer/web/1.chunk.js.map
50-
cmd/installer/web/main.css
51-
cmd/installer/web/main.css.map
52-
cmd/installer/web/index.html
53-
cmd/installer/web/favicon.ico
54-
cmd/installer/web/asset-manifest.json
34+
**/__debug_bin*
5535

5636
.DS_Store
5737

38+
web/coverage/
5839
web/dashboard/coverage/
5940
cmd/dashboard/git-root/

.gitpod.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

.vscode/launch.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,18 @@
7878
"program": "cmd/agent",
7979
"envFile": "${workspaceFolder}/.env"
8080
},
81+
{
82+
"name": "sync",
83+
"type": "go",
84+
"request": "launch",
85+
"mode": "auto",
86+
"program": "cmd/cli",
87+
"args": [
88+
"sync",
89+
"../../fixtures",
90+
"laszlo-debug@infrastructure:/"
91+
],
92+
"envFile": "${workspaceFolder}/.env"
93+
},
8194
]
8295
}

0 commit comments

Comments
 (0)