Commit Graph

137 Commits

Author SHA1 Message Date
Bret Fisher
63aa0ab5fc Merge pull request #47 from BretFisher/add-arm64-build
add arm64 build
2023-02-28 21:37:38 -05:00
Bret Fisher
da84cbcf8b add arm64 build 2023-02-28 19:12:40 -05:00
Bret Fisher
8e3385ef69 fixing more lints 2022-05-17 16:15:38 -04:00
Bret Fisher
2b02a35896 fixing more lints 2022-05-17 16:05:32 -04:00
Bret Fisher
f2602941f9 ignoring lints 2022-05-17 15:48:52 -04:00
Bret Fisher
3f3a6847d4 fixing lints 2022-05-17 15:30:18 -04:00
Bret Fisher
0219c933e8 fixing lints 2022-05-15 19:19:46 -04:00
Bret Fisher
3cc0fa0837 gha upgrade (#46) 2022-05-15 18:02:27 -04:00
Bret Fisher
1d617af967 move to remote build gha 2022-01-17 00:14:31 -05:00
Bret Fisher
6d251b4a8f update docker caching 2022-01-15 18:22:46 -05:00
Bret Fisher
003c66d19e tweaking for k8smastery (#44)
* tweaking for k8smastery

* linting tweaks
2022-01-15 16:41:53 -05:00
Bret Fisher
25fe15f766 Merge branch 'upstream' into jpetazzo-main
# Conflicts:
#	Dockerfile
#	README.md
#	motd
#	shpod.yaml
2022-01-15 14:44:47 -05:00
Bret Fisher
097e3df462 Merge in upstream refactor for multiplatform awesomesauce (#42)
* Changes stern to point to stern/stern

* ♻️ Update Stern to use stern/stern; get it from the GHCR image; update curl commands

* Update README to mention Bret's fork which supports ARM

* ♻️ Bump up versions and fix krew missing from PATH

Fixes #12

* Add alias k=kubectl + completion

Closes #11

* Update shpod.yaml

Remove `imagePullPolicy`; it will default to `Always` since we're using the `:latest` tag.

* ✏️  Change default editor (for kubectl edit) to vim

*  Update krew install URL

* ⚙️  Add GHA workflow to build+push to GHCR and Docker Hub

* 🏭️ Refactor Dockerfile to log as non-root

Multiple improvements here:
- start a shell with the k8s user instead of root
- when running without a tty, start an SSH server instead of a login shell
- move shell setup to bash_profile instead of Dockerfile
- add a helper script to set up tailhist
- add motd support

*  Add 'tree' and 'kustomize'

*  Upgrade to Compose v2 and add completion for a bunch of tools

* 🔧 Minor fixes and tweaks

*  Add regclient tools (regbot, regctl, regsync)

* 📃 Generate kubeconfig + update docs

*  Add kube-linter

* ♻️  Refactor Dockerfile to leverage BuildKit parallelism

* 🧹 Build httping instead of using a sketchy binary

* 🧹 Move jid version to an env var

* 🏭️ Rewrite Dockerfile to support multi-arch and cross-compilation

*  Add Docker CLI

* ♻️  Move version numbers to their individual build stage for better caching

* 🐞 Fix multi-arch support for krew

* 📃 Update documentation

*  Add crane, ngrok, and skopeo

*  Add yq and switch versions to ARG instead of ENV

Thanks @soulshake for the suggestion!

*  Update kubeseal

* 🐞 Fix kubeconfig download logic

*  Remove fftw (it's huge and doesn't bring much benefit to httping)

* 🐞 Tiny typo fix in motd

*  Add k9s; rollback kubeseal version

* 📃 Add info to install packages in motd

* ✂️  Remove skopeo (it's rarely used and it's juse one 'apk add' away)

*  Add iputils so that ping runs without sudo

* 🔑 Increase MaxAuthTries in SSH for folks with many keys

* push on pr

* auth on pr's

* only latest if on default branch

Co-authored-by: onlinejudge95 <onlinejudge95@gmail.com>
Co-authored-by: Jérôme Petazzoni <jerome.petazzoni@gmail.com>
2022-01-14 17:30:06 -05:00
Bret Fisher
6e0b6797bd fix krew install 2022-01-14 20:20:06 +00:00
Bret Fisher
6ac6db5baa remove linux/arm/v7 due to missing docker image 2022-01-14 14:58:55 -05:00
Bret Fisher
950ab3c093 moving to reusable linter workflow 2022-01-14 14:29:58 -05:00
Bret Fisher
9fa4c0a435 Merge pull request #34 from BretFisher/dependabot/github_actions/actions/checkout-2.4.0
Bump actions/checkout from 2.3.4 to 2.4.0
2022-01-14 13:54:05 -05:00
Bret Fisher
8a46e7677c Merge pull request #38 from BretFisher/dependabot/github_actions/actions/cache-2.1.7
Bump actions/cache from 2.1.6 to 2.1.7
2022-01-14 13:48:47 -05:00
Bret Fisher
a2092d1303 Merge pull request #40 from BretFisher/dependabot/github_actions/github/super-linter-4.8.5
Bump github/super-linter from 4.6.1 to 4.8.5
2022-01-14 13:22:09 -05:00
Bret Fisher
26974190b3 Merge pull request #39 from BretFisher/dependabot/github_actions/docker/metadata-action-3.6.2
Bump docker/metadata-action from 3.4.1 to 3.6.2
2022-01-14 13:21:11 -05:00
dependabot[bot]
4e474090b9 Bump github/super-linter from 4.6.1 to 4.8.5
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.6.1 to 4.8.5.
- [Release notes](https://github.com/github/super-linter/releases)
- [Changelog](https://github.com/github/super-linter/blob/main/docs/release-process.md)
- [Commits](https://github.com/github/super-linter/compare/v4.6.1...v4.8.5)

---
updated-dependencies:
- dependency-name: github/super-linter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-27 15:06:23 +00:00
dependabot[bot]
b3589075d4 Bump docker/metadata-action from 3.4.1 to 3.6.2
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3.4.1 to 3.6.2.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v3.4.1...v3.6.2)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 15:06:06 +00:00
Jérôme Petazzoni
50a70c6ca5 🔑 Increase MaxAuthTries in SSH for folks with many keys 2021-12-07 12:13:34 +01:00
Jérôme Petazzoni
4ceda01a12 Add iputils so that ping runs without sudo 2021-12-06 13:44:47 +01:00
Jérôme Petazzoni
27692571e9 ✂️ Remove skopeo (it's rarely used and it's juse one 'apk add' away) 2021-12-06 13:38:22 +01:00
Jérôme Petazzoni
a097de4202 📃 Add info to install packages in motd 2021-12-06 12:58:19 +01:00
Jérôme Petazzoni
33f0a0a951 Add k9s; rollback kubeseal version 2021-12-03 22:17:35 +01:00
Jérôme Petazzoni
1a717ab1cf 🐞 Tiny typo fix in motd 2021-12-03 16:27:29 +01:00
dependabot[bot]
e8e3c872e6 Bump actions/cache from 2.1.6 to 2.1.7
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.6...v2.1.7)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-29 15:05:56 +00:00
Jérôme Petazzoni
1ab941e5eb Remove fftw (it's huge and doesn't bring much benefit to httping) 2021-11-25 17:27:05 +01:00
Jérôme Petazzoni
a0d8549fde 🐞 Fix kubeconfig download logic 2021-11-22 18:43:34 +01:00
Jérôme Petazzoni
bf64cc24c7 Update kubeseal 2021-11-16 08:58:11 +01:00
Jérôme Petazzoni
b60a27e5c7 Add yq and switch versions to ARG instead of ENV
Thanks @soulshake for the suggestion!
2021-11-14 14:26:50 +01:00
Jérôme Petazzoni
5bb8d24623 Add crane, ngrok, and skopeo 2021-11-13 13:43:13 +01:00
Jérôme Petazzoni
cfcc9535f5 📃 Update documentation 2021-11-13 13:32:35 +01:00
Jérôme Petazzoni
476e8c2fc3 🐞 Fix multi-arch support for krew 2021-11-13 12:52:22 +01:00
Jérôme Petazzoni
34c2cdb62c ♻️ Move version numbers to their individual build stage for better caching 2021-11-13 12:51:39 +01:00
Jérôme Petazzoni
481b914d50 Add Docker CLI 2021-11-13 12:33:37 +01:00
Jérôme Petazzoni
c50789e662 🏭️ Rewrite Dockerfile to support multi-arch and cross-compilation 2021-11-13 04:38:02 +01:00
Jérôme Petazzoni
b815973255 🧹 Move jid version to an env var 2021-11-13 01:40:55 +01:00
Jérôme Petazzoni
528c5b2f88 🧹 Build httping instead of using a sketchy binary 2021-11-13 01:23:34 +01:00
Jérôme Petazzoni
d20887bbd5 ♻️ Refactor Dockerfile to leverage BuildKit parallelism 2021-11-13 01:07:07 +01:00
dependabot[bot]
92b751cd89 Bump actions/checkout from 2.3.4 to 2.4.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.4...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 15:06:22 +00:00
Jérôme Petazzoni
c6efedad6d Add kube-linter 2021-11-07 19:54:01 +01:00
Jérôme Petazzoni
6bd79dd695 📃 Generate kubeconfig + update docs 2021-11-07 17:59:32 +01:00
Jérôme Petazzoni
5758cc3eed Add regclient tools (regbot, regctl, regsync) 2021-11-04 09:00:22 +01:00
Jérôme Petazzoni
c7431936ec 🔧 Minor fixes and tweaks 2021-11-02 19:29:42 +01:00
Jérôme Petazzoni
1100d6b473 Upgrade to Compose v2 and add completion for a bunch of tools 2021-11-02 11:19:46 +01:00
Jérôme Petazzoni
5b10d73322 Add 'tree' and 'kustomize' 2021-11-02 08:40:09 +01:00
Jérôme Petazzoni
6717affce7 🏭️ Refactor Dockerfile to log as non-root
Multiple improvements here:
- start a shell with the k8s user instead of root
- when running without a tty, start an SSH server instead of a login shell
- move shell setup to bash_profile instead of Dockerfile
- add a helper script to set up tailhist
- add motd support
2021-11-01 11:57:34 +01:00