Skip to content

Commit

Permalink
refactor: remove unused code (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
artemrys authored May 10, 2024
1 parent 2c0d528 commit 58b5db8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 46 deletions.
38 changes: 2 additions & 36 deletions .github/workflows/reusable-build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,13 +242,6 @@ jobs:
- setup-workflow
if: ${{ needs.setup-workflow.outputs.skip-workflow != 'Yes' }}
outputs:
sc4s: ghcr.io/${{ github.repository }}/container:${{ fromJSON(steps.docker_action_meta.outputs.json).labels['org.opencontainers.image.version'] }}
container_tags: ${{ steps.docker_action_meta.outputs.tags }}
container_labels: ${{ steps.docker_action_meta.outputs.labels }}
container_buildtime: ${{ fromJSON(steps.docker_action_meta.outputs.json).labels['org.opencontainers.image.created'] }}
container_version: ${{ fromJSON(steps.docker_action_meta.outputs.json).labels['org.opencontainers.image.version'] }}
container_revision: ${{ fromJSON(steps.docker_action_meta.outputs.json).labels['org.opencontainers.image.revision'] }}
container_base: ${{ fromJSON(steps.docker_action_meta.outputs.json).tags[0] }}
matrix_latestSplunk: ${{ steps.matrix.outputs.latestSplunk }}
matrix_supportedSC4S: ${{ steps.matrix.outputs.supportedSC4S }}
matrix_combinedSplunkversion: ${{ steps.combined_Splunkmatrix.outputs.combinedSplunkversions }}
Expand All @@ -258,39 +251,12 @@ jobs:
contents: write
packages: read
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
submodules: false
persist-credentials: false
- name: Semantic Release
id: version
uses: splunk/[email protected]
with:
dry_run: true
git_committer_name: ${{ secrets.SA_GH_USER_NAME }}
git_committer_email: ${{ secrets.SA_GH_USER_EMAIL }}
gpg_private_key: ${{ secrets.SA_GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.SA_GPG_PASSPHRASE }}
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Docker meta
id: docker_action_meta
uses: docker/[email protected]
with:
images: ghcr.io/${{ github.repository }}/container
tags: |
type=sha,format=long
type=sha
type=semver,pattern={{version}},value=${{ steps.version.outputs.new_release_version }}
type=semver,pattern={{major}},value=${{ steps.version.outputs.new_release_version }}
type=semver,pattern={{major}}.{{minor}},value=${{ steps.version.outputs.new_release_version }}
type=ref,event=branch
type=ref,event=pr
- name: matrix
id: matrix
- id: matrix
uses: splunk/[email protected]

- name: Combined Splunk and SC4S Versions
id: combined_Splunkmatrix
run: |
Expand Down
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,7 @@ meta stage

**Description:**

- GitHub Action to extract metadata from Git reference and GitHub events.

**Action used:** https://github.com/docker/metadata-action

**Artifacts:**

- No Artifacts for this stage.

<img src="images/meta/meta_logs.png" alt="meta_logs" style="width:200px;"/>

- Determines which Splunk and SC4S versions to run tests with.

fossa-scan
=======================
Expand Down
Binary file removed images/meta/meta_logs.png
Binary file not shown.

0 comments on commit 58b5db8

Please sign in to comment.