-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: setup http server and goreleaser
- Loading branch information
1 parent
ca15b05
commit 4329fff
Showing
11 changed files
with
248 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
.terraform* | ||
.tfvars | ||
terraform.tfstate* | ||
terraform.tfstate* | ||
dist/ | ||
inventory.ini |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# This is an example .goreleaser.yml file with some sensible defaults. | ||
# Make sure to check the documentation at https://goreleaser.com | ||
|
||
# The lines below are called `modelines`. See `:help modeline` | ||
# Feel free to remove those if you don't want/need to use them. | ||
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json | ||
# vim: set ts=2 sw=2 tw=0 fo=cnqoj | ||
|
||
version: 1 | ||
|
||
before: | ||
hooks: | ||
# You may remove this if you don't use go modules. | ||
- go mod tidy | ||
# you may remove this if you don't need go generate | ||
- go generate ./... | ||
|
||
builds: | ||
- env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
- linux | ||
- windows | ||
- darwin | ||
|
||
archives: | ||
- format: tar.gz | ||
# this name template makes the OS and Arch compatible with the results of `uname`. | ||
name_template: >- | ||
{{ .ProjectName }}_ | ||
{{- title .Os }}_ | ||
{{- if eq .Arch "amd64" }}x86_64 | ||
{{- else if eq .Arch "386" }}i386 | ||
{{- else }}{{ .Arch }}{{ end }} | ||
{{- if .Arm }}v{{ .Arm }}{{ end }} | ||
# use zip for windows archives | ||
format_overrides: | ||
- goos: windows | ||
format: zip | ||
|
||
changelog: | ||
sort: asc | ||
filters: | ||
exclude: | ||
- "^docs:" | ||
- "^test:" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- hosts: all | ||
tasks: | ||
- name: Download the go binary | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,48 @@ | ||
module github.com/utibeabasi6/ebs-playground | ||
|
||
go 1.21.5 | ||
go 1.21.7 | ||
|
||
require ( | ||
github.com/adelowo/gulter v0.0.0-20240229000022-107b6a6781ef | ||
github.com/dustin/go-humanize v1.0.1 | ||
github.com/gofiber/fiber/v2 v2.52.1 | ||
github.com/shirou/gopsutil v3.21.11+incompatible | ||
) | ||
|
||
require ( | ||
github.com/andybalholm/brotli v1.0.5 // indirect | ||
github.com/dustin/go-humanize v1.0.1 // indirect | ||
github.com/aws/aws-sdk-go-v2 v1.25.1 // indirect | ||
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.1 // indirect | ||
github.com/aws/aws-sdk-go-v2/config v1.27.3 // indirect | ||
github.com/aws/aws-sdk-go-v2/credentials v1.17.3 // indirect | ||
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.15.1 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.1 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.1 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.1 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.1 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.1 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.1 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.1 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/s3 v1.51.0 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/sso v1.20.0 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.23.0 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/sts v1.28.0 // indirect | ||
github.com/aws/smithy-go v1.20.1 // indirect | ||
github.com/cloudinary/cloudinary-go/v2 v2.7.0 // indirect | ||
github.com/creasty/defaults v1.5.1 // indirect | ||
github.com/go-ole/go-ole v1.2.6 // indirect | ||
github.com/gofiber/fiber/v2 v2.52.1 // indirect | ||
github.com/gofiber/template v1.8.3 // indirect | ||
github.com/gofiber/template/html/v2 v2.1.1 // indirect | ||
github.com/gofiber/utils v1.1.0 // indirect | ||
github.com/google/uuid v1.5.0 // indirect | ||
github.com/gorilla/schema v1.2.0 // indirect | ||
github.com/klauspost/compress v1.17.0 // indirect | ||
github.com/mattn/go-colorable v0.1.13 // indirect | ||
github.com/mattn/go-isatty v0.0.20 // indirect | ||
github.com/mattn/go-runewidth v0.0.15 // indirect | ||
github.com/rivo/uniseg v0.2.0 // indirect | ||
github.com/shirou/gopsutil v3.21.11+incompatible // indirect | ||
github.com/valyala/bytebufferpool v1.0.0 // indirect | ||
github.com/valyala/fasthttp v1.51.0 // indirect | ||
github.com/valyala/tcplisten v1.0.0 // indirect | ||
github.com/yusufpapurcu/wmi v1.2.4 // indirect | ||
golang.org/x/sync v0.6.0 // indirect | ||
golang.org/x/sys v0.15.0 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
|
||
python3 -m pip install --user ansible |
Oops, something went wrong.