-
Notifications
You must be signed in to change notification settings - Fork 34
Enable build of environment-specific control images #160
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
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
1cb4f6a
add control image build
sjpb 7232467
make Packer VM build hostname/dns name/ansible_host all match
sjpb 6b24f5d
use default packer inventory_hostname & clarify packer image/VM name
sjpb d7ca6eb
fix openhpc & grafana states for control image build
sjpb 3b037fd
update packer README with image limitations
sjpb 7fc8085
Merge branch 'main' into feature/control-images2
sjpb 9c15764
Merge branch 'main' into feature/control-images2
sjpb ad4f769
use extra vars to override concrete environment in packer
sjpb dc22504
Merge branch 'main' into feature/control-images2
sjpb cb1bd72
delete control image after successful CI run
sjpb a4cf5e6
fix grafana version
sjpb 4d2da5a
pin grafana to 8.4.6-1 ...
sjpb d57f2b7
Merge branch 'fix/grafana' into feature/control-images2
sjpb 890449e
reimage control and check slurm up
sjpb 29bc479
test control rebuilt in CI
sjpb 755d2ed
improve CI image deletion
sjpb c5ab79e
Merge branch 'main' into feature/control-images2
sjpb 2fd86fe
update packer README
sjpb 268aaf5
Merge branch 'feature/control-images2' of https://github.com/stackhpc…
sjpb 2506aec
bump openhpc role version
sjpb 91e91e5
omit block device configuration in packer build
sjpb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
- name: Read packer build manifest | ||
set_fact: | ||
manifest: "{{ lookup('file', manifest_path) | from_json }}" | ||
vars: | ||
manifest_path: "{{ lookup('env', 'APPLIANCES_REPO_ROOT') }}/packer/packer-manifest.json" | ||
delegate_to: localhost | ||
|
||
- name: Get latest image builds | ||
set_fact: | ||
login_build: "{{ manifest['builds'] | selectattr('custom_data', 'eq', {'source': 'login'}) | last }}" | ||
compute_build: "{{ manifest['builds'] | selectattr('custom_data', 'eq', {'source': 'compute'}) | last }}" | ||
control_build: "{{ manifest['builds'] | selectattr('custom_data', 'eq', {'source': 'control'}) | last }}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Used to override anything defined in a concrete environment | ||
|
||
openhpc_slurm_partitions: [] # as no compute nodes will be in play, but partition definition might exist in inventory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.