Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ Container feature that also doesn't support Alpine.
- [gcx](src/gcx/README.md) – installs `gcx` directly from upstream
https://github.com/grafana/gcx binary releases.

- [grafanactl](src/grafanactl/README.md) – installs `grafanactl` directly from
upstream https://github.com/grafana/grafanactl binary releases.
- (deprecated) [grafanactl](src/grafanactl/README.md) – installs `grafanactl`
directly from upstream https://github.com/grafana/grafanactl binary releases.
Use the [gcx](src/gcx/README.md) feature instead as upstream `grafanactl` is
no longer maintained and replaced by `gcx`.

- [gocover](src/gocover/README.md) – provides a `gocover` command to run
conveniently unit tests and update a README.md coverage badge, supporting a
Expand All @@ -74,6 +76,9 @@ Container feature that also doesn't support Alpine.
- [nerdctl](src/nerdctl/README.md) – installs `nerdctl` directly from upstream
https://github.com/containerd/nerdctl binary releases.

- [pinact](src/pinact/README.md) – installs `pinact` directly from upstream
https://github.com/suzuki-shunsuke/pinact binary releases.

- [pin-github-action](src/pin-github-action/README.md) – provides mheaps's
`pin-github-action` for pinning GitHub actions to specific hashes.

Expand Down
2 changes: 1 addition & 1 deletion src/bpftool/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bpftool",
"id": "bpftool",
"version": "0.0.4",
"version": "0.0.5",
"description": "Installs bpftool binary from upstream https://github.com/libbpf/bpftool binary releases.",
"options": {
"version": {
Expand Down
2 changes: 1 addition & 1 deletion src/bpftool/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ fi

if [ "$BPFTOOL_VERSION" = "latest" ]; then
# get latest release
BPFTOOL_VERSION=$(curl -s ${QUERYLATEST_URL} | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
BPFTOOL_VERSION=$(curl -s ${QUERYLATEST_URL} | grep -m1 '"tag_name":' | sed -E 's/.*"tag_name": *"([^"]+)".*/\1/')
fi

echo "installing bpftool version: ${BPFTOOL_VERSION}"
Expand Down
2 changes: 1 addition & 1 deletion src/cni-plugins/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "CNI Plugins",
"id": "cni-plugins",
"version": "0.0.1",
"version": "0.0.2",
"description": "Installs CNI plugins from upstream.",
"options": {
"version": {
Expand Down
2 changes: 1 addition & 1 deletion src/cni-plugins/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ fi

if [ "$CNIPLUGINS_VERSION" = "latest" ]; then
# get latest release
CNIPLUGINS_VERSION=$(curl -s ${QUERYLATEST_URL} | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
CNIPLUGINS_VERSION=$(curl -s ${QUERYLATEST_URL} | grep -m1 '"tag_name":' | sed -E 's/.*"tag_name": *"([^"]+)".*/\1/')
fi

echo version: $CNIPLUGINS_VERSION
Expand Down
2 changes: 1 addition & 1 deletion src/gcx/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gcx",
"id": "gcx",
"version": "0.0.1",
"version": "0.0.2",
"description": "Installs Grafana gcx CLI from upstream https://github.com/grafana/gcx binary releases.",
"options": {
"version": {
Expand Down
2 changes: 1 addition & 1 deletion src/gcx/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ fi

if [ "$GCX_VERSION" = "latest" ]; then
# get latest release
GCX_VERSION=$(curl -s ${QUERYLATEST_URL} | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
GCX_VERSION=$(curl -s ${QUERYLATEST_URL} | grep -m1 '"tag_name":' | sed -E 's/.*"tag_name": *"([^"]+)".*/\1/')
fi

echo "installing gcx version: ${GCX_VERSION}"
Expand Down
3 changes: 2 additions & 1 deletion src/grafanactl/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "grafanactl",
"id": "grafanactl",
"version": "0.0.2",
"deprecated": true,
"version": "0.0.3",
"description": "Installs grafanactl from upstream https://github.com/grafana/grafanactl binary releases.",
"options": {
"version": {
Expand Down
2 changes: 1 addition & 1 deletion src/grafanactl/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ fi

if [ "$GRAFANACTL_VERSION" = "latest" ]; then
# get latest release
GRAFANACTL_VERSION=$(curl -s ${QUERYLATEST_URL} | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
GRAFANACTL_VERSION=$(curl -s ${QUERYLATEST_URL} | grep -m1 '"tag_name":' | sed -E 's/.*"tag_name": *"([^"]+)".*/\1/')
fi

echo "installing grafanactl version: ${GRAFANACTL_VERSION}"
Expand Down
2 changes: 1 addition & 1 deletion src/lazygit/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "lazygit",
"id": "lazygit",
"version": "0.0.1",
"version": "0.0.2",
"description": "Installs lazygit from upstream https://github.com/jesseduffield/lazygit binary releases.",
"options": {
"version": {
Expand Down
2 changes: 1 addition & 1 deletion src/lazygit/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ fi

if [ "$LAZYGIT_VERSION" = "latest" ]; then
# get latest release
LAZYGIT_VERSION=$(curl -s ${QUERYLATEST_URL} | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
LAZYGIT_VERSION=$(curl -s ${QUERYLATEST_URL} | grep -m1 '"tag_name":' | sed -E 's/.*"tag_name": *"([^"]+)".*/\1/')
fi

echo "installing lazygit version: ${LAZYGIT_VERSION}"
Expand Down
2 changes: 1 addition & 1 deletion src/nerdctl/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "nerdctl containerd control CLI and CNI plugins",
"id": "nerdctl",
"version": "0.1.0",
"version": "0.1.1",
"description": "Installs nerdctl and CNI plugins from upstream.",
"options": {
"version": {
Expand Down
4 changes: 1 addition & 3 deletions src/nerdctl/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,7 @@ fi

if [ "$NERDCTL_VERSION" = "latest" ]; then
# get latest release
NERDCTL_VERSION=$(curl -s ${QUERYLATEST_URL} \
| grep '"tag_name":' \
| sed -E 's/.*"([^"]+)".*/\1/')
NERDCTL_VERSION=$(curl -s ${QUERYLATEST_URL} | grep -m1 '"tag_name":' | sed -E 's/.*"tag_name": *"([^"]+)".*/\1/')
fi

echo "version: ${NERDCTL_VERSION}"
Expand Down
2 changes: 1 addition & 1 deletion src/pinact/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pinact",
"id": "pinact",
"version": "0.0.1",
"version": "0.0.2",
"description": "Installs pinact from upstream https://github.com/suzuki-shunsuke/pinact binary releases.",
"options": {
"version": {
Expand Down
2 changes: 1 addition & 1 deletion src/pinact/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ fi

if [ "$PINACT_VERSION" = "latest" ]; then
# get latest release
PINACT_VERSION=$(curl -s ${QUERYLATEST_URL} | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
PINACT_VERSION=$(curl -s ${QUERYLATEST_URL} | grep -m1 '"tag_name":' | sed -E 's/.*"tag_name": *"([^"]+)".*/\1/')
fi

echo "installing pinact version: ${PINACT_VERSION}"
Expand Down
Loading