Skip to content

Commit

Permalink
Merge pull request #96 from Cray-HPE/release/1.13.0
Browse files Browse the repository at this point in the history
Release: v1.13.0
  • Loading branch information
dlaine-hpe authored Jul 17, 2024
2 parents a70f0ce + e13c6b8 commit 87e8d3b
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/license-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v42
uses: tj-actions/changed-files@v44

- name: License Check
if: ${{ steps.changed-files.outputs.all_changed_files }}
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.13.0] - 2024-07-17
### Fixed
- MTL-2104 - refresh iPXE codebase.

### Dependencies
- Bump `tj-actions/changed-files` from 42 to 44 ([#93](https://github.com/Cray-HPE/cms-ipxe/pull/93), [#94](https://github.com/Cray-HPE/cms-ipxe/pull/94))

## [1.12.1] - 2024-02-29

### Fixed
Expand Down
6 changes: 5 additions & 1 deletion src/crayipxe/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# MIT License
#
# (C) Copyright 2019-2022 Hewlett Packard Enterprise Development LP
# (C) Copyright 2019-2022, 2024 Hewlett Packard Enterprise Development LP
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
Expand All @@ -28,6 +28,10 @@
LOGGER = logging.getLogger(__name__)
IPXE_BUILD_DIR = '/ipxe'

# Use the HPC iPXE configuration.
# https://github.com/Cray-HPE/ipxe/tree/master/src/config/hpc
IPXE_CONFIG = 'hpc'

# Format logs and set the requested log level.
log_format = "%(asctime)-15s - %(levelname)-7s - %(name)s - %(message)s"
requested_log_level = os.environ.get('LOG_LEVEL', 'INFO')
Expand Down
5 changes: 4 additions & 1 deletion src/crayipxe/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# MIT License
#
# (C) Copyright 2023 Hewlett Packard Enterprise Development LP
# (C) Copyright 2023-2024 Hewlett Packard Enterprise Development LP
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
Expand Down Expand Up @@ -34,6 +34,7 @@
from socket import gaierror

from crayipxe import IPXE_BUILD_DIR
from crayipxe import IPXE_CONFIG
from crayipxe.k8s_client import api_instance, client
from crayipxe.tokens import fetch_token, token_expiring_soon, TOKEN_HOST
from crayipxe.liveness.ipxe_timestamp import ipxeTimestamp, LIVENESS_PATH, liveliness_heartbeat
Expand Down Expand Up @@ -377,6 +378,7 @@ def build_command(self):
build_command.append('CERT=%s' % cert_path_filename)
build_command.append('TRUST=%s' % cert_path_filename)
build_command.append('EMBED=%s' % os.path.basename(self.bss_script_path))
build_command.append(f'CONFIG={IPXE_CONFIG}')
s3_host = self.s3_host
if s3_host:
build_command.append('S3_HOST=%s' % s3_host)
Expand Down Expand Up @@ -404,6 +406,7 @@ def debug_command(self):
debug_command.append('CERT=%s' % cert_path_filename)
debug_command.append('TRUST=%s' % cert_path_filename)
debug_command.append('EMBED=%s' % os.path.basename(self.debug_script_path))
debug_command.append(f'CONFIG={IPXE_CONFIG}')
s3_host = self.s3_host
if s3_host:
debug_command.append('S3_HOST=%s' % s3_host)
Expand Down
2 changes: 1 addition & 1 deletion update_external_versions.conf
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
# no images will be found.

image: cray-tpsw-ipxe
major: 3
major: 4
minor: 0
outfile: .cray-tpsw-ipxe-version
server: algol60
Expand Down

0 comments on commit 87e8d3b

Please sign in to comment.