Skip to content

Commit

Permalink
ci: rename workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mtulio committed Jul 12, 2024
1 parent 367606a commit d230684
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 94 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
---
name: linter
name: pre-linter

on:
workflow_call: {}
push:
tags:
- '*'
pull_request:
branches:
- main
Expand Down
65 changes: 0 additions & 65 deletions .github/workflows/release-devel.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
---
name: merge
name: release-main-devel

on:
push:
branches: ["main"]

jobs:
linter:
if: startsWith(github.ref, 'refs/head/main')
uses: ./.github/workflows/linter.yaml
uses: ./.github/workflows/pre-linter.yaml

test-openshift-tests-plugin:
if: startsWith(github.ref, 'refs/head/main')
uses: ./.github/workflows/test-openshift-tests-plugin.yaml

build-latest:
if: startsWith(github.ref, 'refs/head/main')
Expand All @@ -18,7 +23,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Build and publish container image to quay.io
- name: Build and publish latest container image to quay.io
env:
RELEASE_VERSION: latest
SKIP_ANNOTATION: "true"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,30 +1,18 @@
---
name: release-tag

on:
push:
tags:
- 'v*.*.*'
tags: ['v*.*.*']

jobs:
opct-builder:
linter:
if: startsWith(github.ref, 'refs/tags/')
uses: ./.github/workflows/opct.yaml
uses: ./.github/workflows/pre-linter.yaml

build-image:
test-openshift-tests-plugin:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
needs:
- opct-builder
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Warm up build local container image x86
env:
RELEASE_VERSION: ci-${{ github.run_id }}
SKIP_ANNOTATION: "true"
run: |
make build VERSION=$RELEASE_VERSION CMD=build PLATFORMS=linux/amd64
uses: ./.github/workflows/test-openshift-tests-plugin.yaml

#

Check warning on line 17 in .github/workflows/release-tag.yaml

View workflow job for this annotation

GitHub Actions / yaml

17:1 [comments-indentation] comment not indented like content
# Releasing: triggered when a tag is created
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
---
name: openshift-tests-plugin / test
name: test / openshift-tests-plugin

on:
workflow_call: {}
push:
tags:
- '*'
pull_request:
branches:
- main
Expand Down

0 comments on commit d230684

Please sign in to comment.