Skip to content

Commit

Permalink
Merge pull request #1323 from sigstore/sign/migration
Browse files Browse the repository at this point in the history
Signing event: sign/migration
  • Loading branch information
jku authored Aug 30, 2024
2 parents 8a968c0 + 624bc82 commit 67d0366
Show file tree
Hide file tree
Showing 27 changed files with 264 additions and 1,731 deletions.
48 changes: 0 additions & 48 deletions .github/workflows/cosign-test.yml

This file was deleted.

5 changes: 2 additions & 3 deletions .github/workflows/create-signing-events.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: TUF-on-CI create Signing events

on:
# disabled during migration
#schedule:
# - cron: '17 1,7,13,19 * * *'
schedule:
- cron: '17 1,7,13,19 * * *'
workflow_dispatch:

permissions: {}
Expand Down
54 changes: 0 additions & 54 deletions .github/workflows/delegation-pop-verify.yml

This file was deleted.

161 changes: 0 additions & 161 deletions .github/workflows/initialize.yml

This file was deleted.

54 changes: 1 addition & 53 deletions .github/workflows/ci-test.yml → .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.

name: CI Test
name: Lint

on:
push:
paths-ignore:
- 'ceremony/**'
pull_request:
paths-ignore:
- 'ceremony/**'

jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: './go.mod'
check-latest: true
- name: golangci-lint
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v6.1.0
with:
version: v1.59

yamllint:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -65,40 +47,6 @@ jobs:
with:
actionlint_flags: -color -shellcheck=

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: './go.mod'
check-latest: true
- name: install deps
run: |
sudo apt-get install libpcsclite-dev
- name: Test
run: go test -tags=pivkey -v ./...
- name: Ensure no files were modified as a result of the build
run: git update-index --refresh && git diff-index --quiet HEAD -- || git diff --exit-code

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: './go.mod'
check-latest: true
- name: install deps
run: |
sudo apt-get install libpcsclite-dev
- name: build verification
run: go build -o verify ./cmd/verify/
- name: build TUF script
run: go build -o tuf -tags=pivkey ./cmd/tuf
- name: build test script
run: go build -o keygen -tags=pivkey ./tests/keygen

shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/online-sign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ name: TUF-on-CI online signing
permissions: {}

on:
# disabled during migration
#schedule:
# - cron: '17 1,7,13,19 * * *'
#push:
# branches: [ main ]
# paths: ['metadata/**', '!metadata/timestamp.json', '!metadata/snapshot.json']
schedule:
- cron: '17 1,7,13,19 * * *'
push:
branches: [main]
paths: ['metadata/**', '!metadata/timestamp.json', '!metadata/snapshot.json']
workflow_dispatch:

jobs:
Expand Down
Loading

0 comments on commit 67d0366

Please sign in to comment.