Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create rancher release command line to check RCs and Dev deps #272

Closed
johnatasr opened this issue Oct 6, 2023 · 1 comment
Closed

Create rancher release command line to check RCs and Dev deps #272

johnatasr opened this issue Oct 6, 2023 · 1 comment
Assignees

Comments

@johnatasr
Copy link
Contributor

johnatasr commented Oct 6, 2023

With ecm-distro-tools gh action created we could simplify this script https://github.com/rancher/rancher/pull/42773/files, could be used as a command in ecm-distro-tools.

Example of action

name: Final release actions

on:
  workflow_dispatch:
  release:
    types: [prereleased]
  pull_request:

env:
  RELEASE_TITLE: ${{ github.event.release.name || '' }}

jobs:
  check-deps-and-tags:
    runs-on: ubuntu-latest

    steps:
      -
        name: setup ecm-distro-tools
        uses: rancher/ecm-distro-tools
        with:
          version: v0.23.0
        env:
           GH_TOKEN: ${{ github.token }}
      -
        name: Verify dependencies files in a final release candidate
        run: rancher-release check-deps-rcs --commit ${{ env.GITHUB_SHA }}
@johnatasr
Copy link
Contributor Author

Command merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant