Skip to content

Commit

Permalink
dnm: Temporarily disable release steps for validation
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiwalyajoshi committed Mar 7, 2024
1 parent 22793d1 commit 0487a99
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release
on:
push:
tags:
- v*-d2iq.*
- 'v*-d2iq.*'

# Because variables are not exported, they are not visible by child processes, e.g. make
env:
Expand Down Expand Up @@ -43,28 +43,28 @@ jobs:
REGISTRY=${{ env.registry }} \
CAPVCD_IMG=${{ env.repository }} \
VERSION=${{ env.version }}
- name: Create (draft) GitHub release
run: |
gh release create ${{ env.version }} \
--title ${{ env.version }} \
--draft
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Generate release artifacts, and attach them to the GitHub release
# Because steps do not share data, the artifacts must be generated and
# uploaded in one step.
#
# Also see note on make variables, above.
run: |
make release-manifests \
--makefile d2iq.Makefile \
REGISTRY=${{ env.registry }} \
CAPVCD_IMG=${{ env.repository }} \
VERSION=${{ env.version }}
gh release upload \
--clobber \
${{ env.version }} \
metadata.yaml \
templates/infrastructure-components.yaml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Create (draft) GitHub release
# run: |
# gh release create ${{ env.version }} \
# --title ${{ env.version }} \
# --draft
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Generate release artifacts, and attach them to the GitHub release
# # Because steps do not share data, the artifacts must be generated and
# # uploaded in one step.
# #
# # Also see note on make variables, above.
# run: |
# make release-manifests \
# --makefile d2iq.Makefile \
# REGISTRY=${{ env.registry }} \
# CAPVCD_IMG=${{ env.repository }} \
# VERSION=${{ env.version }}
# gh release upload \
# --clobber \
# ${{ env.version }} \
# metadata.yaml \
# templates/infrastructure-components.yaml
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0487a99

Please sign in to comment.