Skip to content

Commit

Permalink
Prepping for 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
laszlocph committed Aug 12, 2024
1 parent 68ab025 commit fba54af
Show file tree
Hide file tree
Showing 295 changed files with 23,096 additions and 80,216 deletions.
10 changes: 0 additions & 10 deletions .env.example

This file was deleted.

63 changes: 0 additions & 63 deletions .gimlet/preview.yaml

This file was deleted.

6 changes: 1 addition & 5 deletions .github/workflows/build.yml → .github/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,6 @@ jobs:
with:
path: ${{ steps.go-cache-paths.outputs.go-mod }}
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
- name: 🏗️ Build chart configure frontend
run: make build-cli-frontend
- name: 🏗️ Build stack frontend
run: make build-stack-frontend
- name: 🏗️ Build CLI
run: make build-cli
env:
Expand Down Expand Up @@ -178,7 +174,7 @@ jobs:
with:
fetch-depth: 5
- name: 🏗️ Build dashboard frontend
run: make build-dashboard-frontend
run: make build-frontend

image-builder:
name: 🏗️ Build Image builder
Expand Down
38 changes: 17 additions & 21 deletions .github/workflows/publish-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ jobs:
else
echo "::set-output name=version::$GITHUB_SHA"
fi
- name: 🏗️ Build chart configure frontend
run: make build-cli-frontend
- name: 🏗️ Build stack frontend
run: make build-stack-frontend
- name: Dist
run: make dist-cli
env:
Expand All @@ -56,20 +52,20 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
with:
asset_paths: '["./bin/gimlet*"]'
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.PAT }} # `PAT` is a secret that contains your Personal Access Token with `write:packages` scope
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
file: docker/cli/Dockerfile
platforms: linux/amd64
push: true
tags: |
ghcr.io/gimlet-io/gimlet-cli:${{ steps.version.outputs.version }}
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v1
# - name: Login to GitHub Container Registry
# uses: docker/login-action@v1
# with:
# registry: ghcr.io
# username: ${{ github.repository_owner }}
# password: ${{ secrets.PAT }} # `PAT` is a secret that contains your Personal Access Token with `write:packages` scope
# # - name: Build and push Docker image
# uses: docker/build-push-action@v2
# with:
# context: .
# file: docker/cli/Dockerfile
# platforms: linux/amd64
# push: true
# tags: |
# ghcr.io/gimlet-io/gimlet-cli:${{ steps.version.outputs.version }}
12 changes: 1 addition & 11 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,11 @@ jobs:
echo "::set-output name=version::$GITHUB_SHA"
fi
- name: 🏗️ Build frontend
run: make build-dashboard-frontend
run: make build-frontend
- name: Dist
run: make dist-dashboard
env:
VERSION: ${{ steps.version.outputs.version }}
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Gimlet ${{ steps.version.outputs.version }}
draft: false
prerelease: false
- name: Set up QEMU
uses: docker/setup-qemu-action@v2.2.0
- name: Set up Docker Buildx
Expand Down
29 changes: 5 additions & 24 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,13 @@ bin
web/cli/node_modules
web/cli/dist

web/stack/node_modules
web/stack/dist

web/dashboard/node_modules
web/dashboard/dist

web/installer/node_modules
web/installer/dist

pkg/commands/chart/bundle.js
pkg/commands/chart/bundle.js.LICENSE.txt
pkg/commands/chart/index.html
web/.vite

pkg/commands/stack/web/bundle.js
pkg/commands/stack/web/bundle.js.LICENSE.txt
pkg/commands/stack/web/index.html
web/node_modules
web/dist

.env

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

gimlet-dashboard.sqlite

__debug_bin

cmd/installer/web/main.js
cmd/installer/web/main.js.map
cmd/installer/web/main.js.LICENSE.txt
cmd/installer/web/1.chunk.js
cmd/installer/web/1.chunk.js.map
cmd/installer/web/main.css
cmd/installer/web/main.css.map
cmd/installer/web/index.html
cmd/installer/web/favicon.ico
cmd/installer/web/asset-manifest.json
**/__debug_bin*

.DS_Store

web/coverage/
web/dashboard/coverage/
cmd/dashboard/git-root/
46 changes: 0 additions & 46 deletions .gitpod.yml

This file was deleted.

13 changes: 13 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,18 @@
"program": "cmd/agent",
"envFile": "${workspaceFolder}/.env"
},
{
"name": "sync",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "cmd/cli",
"args": [
"sync",
"../../fixtures",
"laszlo-debug@infrastructure:/"
],
"envFile": "${workspaceFolder}/.env"
},
]
}
Loading

0 comments on commit fba54af

Please sign in to comment.