Skip to content

Commit

Permalink
refactor: remove command-line installer (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-racciatti authored Nov 24, 2023
1 parent 002f2bd commit a11fe76
Show file tree
Hide file tree
Showing 19 changed files with 24 additions and 842 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
name: Release Kilt
name: Release agent-kilt runtimes

on:
push:
tags:
- 'v*'


jobs:
release:
name: Release
Expand All @@ -16,14 +15,16 @@ jobs:
with:
go-version: ^1.18
id: go

- name: Checkout Code
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12 changes: 6 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
.idea/

/runtimes/cloudformation/agent-kilt.zip
/runtimes/cloudformation/cmd/cfn-apply-kilt/cfn-apply-kilt
/runtimes/cloudformation/cmd/cfn-image-info/cfn-image-info
/runtimes/cloudformation/cmd/handler/handler

/utilities/launcher/launcher
/utilities/logshipper/logshipper
/utilities/waitforever/waitforever
/utilities/debug-bridge/debug-bridge/debug-bridge

/installer/artifacts
/installer/kilt
/installer/cmd/kilt-installer/pkged.go
/installer/cmd/kilt-installer/kilt-installer
/dist/
29 changes: 10 additions & 19 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,31 @@
version: 1

before:
hooks:
- make -C runtimes/cloudformation clean kilt.zip
- make -C installer deps
- go install github.com/markbates/pkger/cmd/pkger@latest
- go generate installer/generate.go
- make -C runtimes/cloudformation clean agent-kilt.zip

builds:
- env:
- CGO_ENABLED=0
main: ./cmd/kilt-installer
dir: installer
binary: kilt
goos:
- linux
- windows
- darwin

archives:
- replacements:
darwin: macos
linux: linux
windows: windows
386: x86
amd64: x86_64
name_template: "kilt-installer-{{ .Os }}-{{ .Arch }}"
format: binary
- format: zip
name_template: "agent-kilt-{{ .Os }}-{{ .Arch }}"

release:
extra_files:
- glob: ./runtimes/cloudformation/kilt.zip

checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"

changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- "^docs:"
- "^test:"
18 changes: 0 additions & 18 deletions installer/Makefile

This file was deleted.

25 changes: 0 additions & 25 deletions installer/cmd/create-bucket/main.go

This file was deleted.

216 changes: 0 additions & 216 deletions installer/cmd/kilt-installer/cfn-macro.go

This file was deleted.

Loading

0 comments on commit a11fe76

Please sign in to comment.