55 Commits

Author SHA1 Message Date
Bret Fisher
2eea4a1630 tweaks 2023-04-29 21:16:17 -04:00
Bret Fisher
da84cbcf8b add arm64 build 2023-02-28 19:12:40 -05: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
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
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
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
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
c5e479e6d1 ⚙️ Add GHA workflow to build+push to GHCR and Docker Hub 2021-11-01 09:11:22 +01:00
dependabot[bot]
4e893c14ce Bump github/super-linter from 4.5.1 to 4.6.1
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.5.1 to 4.6.1.
- [Release notes](https://github.com/github/super-linter/releases)
- [Commits](https://github.com/github/super-linter/compare/v4.5.1...v4.6.1)

---
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-08-09 15:03:50 +00:00
dependabot[bot]
9171788b6f Bump github/super-linter from 4.5.0 to 4.5.1 (#25)
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/github/super-linter/releases)
- [Commits](https://github.com/github/super-linter/compare/v4.5.0...v4.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-26 16:54:45 -04:00
dependabot[bot]
76cd09daff Bump docker/metadata-action from 3.3.0 to 3.4.1 (#24)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3.3.0 to 3.4.1.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v3.3.0...v3.4.1)

---
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-19 11:09:43 -04:00
dependabot[bot]
ff51dc9f67 Bump github/super-linter from 4.2.2 to 4.5.0 (#23)
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.2.2 to 4.5.0.
- [Release notes](https://github.com/github/super-linter/releases)
- [Commits](https://github.com/github/super-linter/compare/v4.2.2...v4.5.0)

---
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-19 11:09:35 -04:00
Bret Fisher
facb2c9c8e more gha tweaks 2021-07-04 15:19:36 -04:00
Bret Fisher
a904e1cc15 minor gha updates 2021-07-04 14:42:06 -04:00
Bret Fisher
3042013d0d updated versions, added dispatch workflow (#21) 2021-07-02 18:38:15 -04:00
Bret Fisher
699d7ab959 ignore some hadolint rules 2021-06-11 18:33:26 -04:00
dependabot[bot]
d3bf5699f9 Bump github/super-linter from 4.2.1 to 4.2.2 (#19)
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/github/super-linter/releases)
- [Commits](https://github.com/github/super-linter/compare/v4.2.1...v4.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-11 14:33:18 -04:00
dependabot[bot]
3d0554dd5a Bump docker/setup-qemu-action from 1.1.0 to 1.2.0 (#18)
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1.1.0...v1.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-10 18:41:54 -04:00
dependabot[bot]
c3e65f488d Bump github/super-linter from 4.2.0 to 4.2.1 (#17)
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/github/super-linter/releases)
- [Commits](https://github.com/github/super-linter/compare/v4.2.0...v4.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-10 18:41:45 -04:00
dependabot[bot]
419c208a73 Bump actions/cache from 2.1.5 to 2.1.6 (#16)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.5 to 2.1.6.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.5...v2.1.6)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-10 18:41:37 -04:00
Bret Fisher
e17563bcbd update linter ignore 2021-06-10 18:41:15 -04:00
Bret Fisher
61653dc366 fixing lint errors 2021-06-09 17:46:55 -04:00
dependabot[bot]
9626d1f29a Bump actions/cache from 2 to 2.1.5 (#5)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 2.1.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...v2.1.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-09 10:54:03 -04:00
dependabot[bot]
371bed6955 Bump actions/checkout from 2 to 2.3.4 (#6)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 2.3.4.
- [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...v2.3.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-09 10:53:55 -04:00
dependabot[bot]
24c34b4c19 Bump docker/setup-qemu-action from 1 to 1.1.0 (#9)
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 1 to 1.1.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1...v1.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-09 10:53:46 -04:00
dependabot[bot]
06f0213e14 Bump github/super-linter from 3 to 4.2.0 (#14)
Bumps [github/super-linter](https://github.com/github/super-linter) from 3 to 4.2.0.
- [Release notes](https://github.com/github/super-linter/releases)
- [Commits](https://github.com/github/super-linter/compare/v3...v4.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-09 10:52:53 -04:00
Bret Fisher
2f30cbf018 improve comments and ghcr username 2021-05-01 15:58:08 -05:00
Bret Fisher
156d25aefa friendly name workflows 2021-05-01 17:56:15 +00:00
Bret Fisher
be9ac6c948 limit build action 2021-05-01 17:53:32 +00:00
Bret Fisher
048263be8b adding dependabot config 2021-05-01 17:43:19 +00:00
Bret Fisher
297832f7e2 adding linter (#2) 2021-05-01 12:17:29 -05:00
Bret Fisher
03d899d056 one more gha fix 2021-04-30 17:29:41 -05:00
Bret Fisher
28f575b4ed updating ghaction and adding caching 2021-04-30 17:17:04 -05:00
Bret Fisher
84c6c6e820 trying to fix buildx arm issues 2021-04-30 16:30:07 -05:00
Bret Fisher
c44520056b branch rename 2021-04-27 14:55:11 -05:00
Bret Fisher
13aa6112fa fixing image tags 2021-04-27 14:52:40 -05:00