Skip to content

Commit 4b010a5

Browse files
authored
Merge pull request #43375 from hashicorp/td-gorelease_cleanup
CRT Onboarding: clean up goreleaser artifacts and workflows
2 parents 6d1f036 + 8541a7f commit 4b010a5

File tree

8 files changed

+192
-374
lines changed

8 files changed

+192
-374
lines changed

.github/goreleaser-cross-compiler-test.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: crt-post-promote-production
2+
3+
on:
4+
repository_dispatch:
5+
types:
6+
- crt-post-promote-production
7+
- crt-post-promote-production::*
8+
9+
permissions:
10+
actions: write
11+
12+
jobs:
13+
start-registry-check:
14+
name: Start Registry Check
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Initiate Workflow
18+
shell: bash
19+
env:
20+
GH_TOKEN: ${{ github.token }}
21+
run: |
22+
gh workflow run \
23+
--repo ${{ github.repository }} \
24+
--ref main \
25+
--field version=${{ github.event.client_payload.payload.version }} \
26+
registry-check.yml
27+
create-update-changelog-pr:
28+
name: Create Update Changelog PR
29+
runs-on: ubuntu-latest
30+
steps:
31+
- name: Initiate Workflow
32+
shell: bash
33+
env:
34+
GH_TOKEN: ${{ github.token }}
35+
run: |
36+
gh workflow run \
37+
--repo ${{ github.repository }} \
38+
--ref main \
39+
--field previous_version=${{ github.event.client_payload.payload.version }} \
40+
update-changelog.yml
41+
post-publish:
42+
name: Runs post publish actions
43+
runs-on: ubuntu-latest
44+
steps:
45+
- name: Initiate Workflow
46+
shell: bash
47+
env:
48+
GH_TOKEN: ${{ github.token }}
49+
run: |
50+
gh workflow run \
51+
--repo ${{ github.repository }} \
52+
--ref main \
53+
--field release_tag=${{ github.event.client_payload.payload.version }} \
54+
post-publish.yml

.github/workflows/goreleaser-ci.yml

Lines changed: 0 additions & 73 deletions
This file was deleted.

.github/workflows/post-publish.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Post Publish
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
release_tag:
7+
type: string
8+
description: 'Semver release tag e.g. 1.1.0 (v prefix will be added automatically)'
9+
required: true
10+
11+
jobs:
12+
tidy-jira:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Tidy Jira
16+
uses: breathingdust/github-jira-tidy@a64b76479e0021bf2ea7b2066b7496e0d365f929 # v0.11.0
17+
with:
18+
jira_host: 'hashicorp.atlassian.net'
19+
jira_username: '[email protected]'
20+
jira_password: ${{ secrets.jira_password }}
21+
jira_jql_filter: ${{ secrets.jira_jql_filter }}
22+
jira_github_url_field_id: 'cf[10089]'
23+
github_release_name: v${{ github.event.inputs.release_tag }}
24+
github_token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/post_publish.yml

Lines changed: 0 additions & 77 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 0 additions & 116 deletions
This file was deleted.

0 commit comments

Comments
 (0)