Skip to content

Commit

Permalink
Merge pull request cri-o#7409 from saschagrunert/get-script-removal
Browse files Browse the repository at this point in the history
Remove get script
  • Loading branch information
openshift-ci[bot] authored Oct 23, 2023
2 parents 297d07c + 8f9b393 commit b345191
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 333 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,31 +103,6 @@ jobs:
go-version: ${{ env.GO_VERSION }}
- run: make check-config-template

get-script:
if: ${{ github.base_ref == 'main' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: sudo scripts/get
- run: crio version

get-script-with-verification:
if: ${{ github.base_ref == 'main' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
- uses: sigstore/cosign-installer@v3
- run: |
BOM_VERSION=v0.5.1
curl -sSfL --retry 5 --retry-delay 3 https://github.com/kubernetes-sigs/bom/releases/download/$BOM_VERSION/bom-amd64-linux -o bom
chmod +x bom
sudo cp bom /usr/bin
- run: sudo -E PATH=$PATH scripts/get
- run: crio version

dependencies:
runs-on: ubuntu-latest
steps:
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,15 +150,16 @@ To install `CRI-O`, you can follow our [installation guide](install.md).
Alternatively, if you'd rather build `CRI-O` from source, checkout our [setup
guide](install.md#build-and-install-cri-o-from-source).
We also provide a way in building
[static binaries of `CRI-O`](install.md#static-builds) via nix.
[static binaries of `CRI-O`](install.md#static-builds) via nix as part of the
[cri-o/packaging repository](https://github.com/cri-o/packaging).
Those binaries are available for every successfully built commit on our
[Google Cloud Storage Bucket][bucket].
This means that the latest commit can be installed via our convenience script:

[bucket]: https://console.cloud.google.com/storage/browser/cri-o/artifacts

```console
> curl https://raw.githubusercontent.com/cri-o/cri-o/main/scripts/get | bash
> curl https://raw.githubusercontent.com/cri-o/packaging/main/get | bash
```

The script automatically verifies the uploaded sigstore signatures as well, if
Expand All @@ -172,13 +173,13 @@ This can be selected via the script, too:

<!-- markdownlint-disable MD013 -->
```shell
curl https://raw.githubusercontent.com/cri-o/cri-o/main/scripts/get | bash -s -- -a arm64
curl https://raw.githubusercontent.com/cri-o/packaging/main/get | bash -s -- -a arm64
```

It is also possible to select a specific git SHA or tag by:

```shell
curl https://raw.githubusercontent.com/cri-o/cri-o/main/scripts/get | bash -s -- -t v1.21.0
curl https://raw.githubusercontent.com/cri-o/packaging/main/get | bash -s -- -t v1.21.0
```
<!-- markdownlint-enable MD013 -->

Expand Down
6 changes: 0 additions & 6 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,6 @@ dependencies:
- path: .github/workflows/nixpkgs.yml
match: NIX_VERSION

- name: bom
version: 0.5.1
refPaths:
- path: .github/workflows/verify.yml
match: BOM_VERSION

- name: release-notes
version: 0.16.1
refPaths:
Expand Down
298 changes: 0 additions & 298 deletions scripts/get

This file was deleted.

0 comments on commit b345191

Please sign in to comment.