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

My release 0.21 from dev branch #115

Open
wants to merge 49 commits into
base: development
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
0f8f66b
nodes: Add partition and feature_set labels to nodes collector
fihuer Dec 13, 2019
f8fb30d
queue: Collect jobs with user, partition and reason information
fihuer Dec 13, 2019
2ff4fba
scheduler: Collect rpc stats
fihuer Dec 13, 2019
7538040
vendor dependencies
fihuer Dec 16, 2019
895c7c6
Merge branch '74_Correct_spec_file_path'
mtds Mar 29, 2022
df50ddf
nodes: Add partition and feature_set labels to nodes collector
fihuer Dec 13, 2019
214e48a
queue: Collect jobs with user, partition and reason information
fihuer Dec 13, 2019
dff6df3
scheduler: Collect rpc stats
fihuer Dec 13, 2019
4b7ac9f
Create go.yml
fihuer Jul 1, 2024
867002b
nodes_tests: Fix tests with new test data according to new way of par…
fihuer Jul 3, 2024
fd17889
lint & static checks fixes
fihuer Jul 3, 2024
8b24889
nodes: Also count the nodes that are not parsed correctly
fihuer Jul 3, 2024
b909964
Merge branch 'master' into rebase_020
fihuer Jul 3, 2024
903630b
Merge pull request #2 from cea-hpc/rebase_020
fihuer Jul 3, 2024
228bd94
Create go-ossf-slsa3-publish.yml
fihuer Jul 3, 2024
fc1338b
Create go.yml
fihuer Jul 3, 2024
641544a
Remove tests that cannot run without slurm
fihuer Jul 3, 2024
73303e7
Update go-ossf-slsa3-publish.yml
fihuer Jul 3, 2024
d6fd92e
Add the "planned" node state
fihuer Jul 3, 2024
c57324f
Add goreleaser configuration files
fihuer Jul 3, 2024
ee0e8a7
Add .slsa-goreleaser.yml configuration file
fihuer Jul 3, 2024
fc28823
Update gpus.go for Slurm>=19.05.0rc1
SckyzO Sep 11, 2024
6721bb3
import packages update
SckyzO Sep 11, 2024
ecc3d5c
Add TLS & BasicAuth support
SckyzO Sep 11, 2024
9efe0d1
update gitignore
SckyzO Sep 11, 2024
b1dd3b1
fix log package + go.sum + rename bin to slurm_exporter
Sep 18, 2024
1ef9293
update README
Sep 18, 2024
3c10b49
Add CGO_ENABLED
Sep 18, 2024
39a5021
update workflow to go 1.20wq
Sep 18, 2024
81776ef
Create FUNDING.yml
SckyzO Oct 9, 2024
7075a83
Update README.md
SckyzO Oct 9, 2024
b4ba665
Update README.md
SckyzO Oct 9, 2024
14fa4d9
Add new metric slurm_node_status
Oct 9, 2024
7e35a22
Merge branch 'master' of github.com:SckyzO/slurm_exporter
Oct 9, 2024
00339fc
replace io/ioutil by io (deprecated)
Oct 9, 2024
614337b
update gitignore
Oct 9, 2024
8a7e81a
update makefile
Oct 9, 2024
b0717ae
update go modules
Oct 9, 2024
12f9363
add Slurm Binaries informations metrics
Oct 9, 2024
7ce0a14
add release workflow
Oct 9, 2024
75d30ad
update slurm_binary_info
Oct 9, 2024
b377b21
update go version
Oct 9, 2024
3866f2d
update workflow
Oct 9, 2024
6e8207f
update workfow
Oct 10, 2024
b3c8a67
dev update workflow
Oct 10, 2024
faef9f9
update
Oct 10, 2024
48e8c8d
Merge branch 'development' into master
SckyzO Jan 14, 2025
ceea63c
Update go-slsa-release.yml
SckyzO Feb 19, 2025
81a78c7
Update go-release.yml
SckyzO Feb 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update
Tom committed Oct 10, 2024
commit faef9f96dbf121d1991ff29f7bddbcfd7bab611e
48 changes: 26 additions & 22 deletions .github/workflows/go-slsa-release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# .github/workflows/go-ossf-slsa3-publish.yml

name: SLSA Go releaser v2
name: SLSA Go releaser

on:
push:
@@ -22,31 +20,37 @@ jobs:
id-token: write # Required for signing and SLSA provenance.
contents: write # Needed for uploading release assets.
name: SLSA GoReleaser Build
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected]
with:
go-version: 1.22.2
config: .slsa-goreleaser.yml # Use the custom SLSA config file

goreleaser:
needs: build
runs-on: ubuntu-latest
name: Run GoReleaser
strategy:
matrix:
goarch: [amd64, 386, arm64] # Multi-architecture builds
steps:
# Step 1: Check out the source code
- name: Checkout code
uses: actions/checkout@v3

# Step 2: Set up GoReleaser
- name: Install GoReleaser
uses: goreleaser/goreleaser-action@v4
# Step 2: Set up Go environment
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.22.2

# Step 3: Build using SLSA generator for Go
- name: Build using SLSA
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected]
with:
go-version: 1.22.2
# We define architectures directly in the matrix
goarch: ${{ matrix.goarch }}

# Step 3: Run GoReleaser based on branch or tag
- name: Run GoReleaser
run: |
if [[ "${GITHUB_REF}" == refs/heads/master || "${GITHUB_REF}" == refs/heads/dev ]]; then
goreleaser --snapshot --rm-dist # Use snapshot for branches
else
goreleaser release --rm-dist # Full release for tags
fi
# Step 4: Upload the artifact to the release if on a tag
- name: Upload binary to GitHub
if: startsWith(github.ref, 'refs/tags/')
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.MY_RELEASE_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: "binary-${{ matrix.goarch }}"
asset_name: "slurm_exporter-${{ github.ref_name }}-linux-${{ matrix.goarch }}"
asset_content_type: application/octet-stream