Skip to content

Modifications for v1.2.1 #80

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 2 commits into from
Dec 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions etc/sympi_singularity.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ master=https://github.com/sylabs/singularity.git
3.4.2=https://github.com/sylabs/singularity/releases/download/v3.4.2/singularity-3.4.2.tar.gz
3.5.0=https://github.com/sylabs/singularity/releases/download/v3.5.0/singularity-3.5.0.tar.gz
3.5.1=https://github.com/sylabs/singularity/releases/download/v3.5.1/singularity-3.5.1.tar.gz
3.5.2=https://github.com/sylabs/singularity/releases/download/v3.5.2/singularity-3.5.2.tar.gz
4 changes: 3 additions & 1 deletion pkg/sy/sy.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ const (

// SudoCmdsKey is the key used to specify which Singularity commands need to be executed with sudo
SudoCmdsKey = "singularity_sudo_cmds"

sympiConfigFilename = "sympi_singularity.conf"
)

// GetPathToSyMPIConfigFile returns the path to the tool's configuration file
Expand Down Expand Up @@ -180,7 +182,7 @@ func IsSudoCmd(cmd string, sysCfg *sys.Config) bool {
}

func getSingularityConfigFilePath(sysCfg *sys.Config) string {
return filepath.Join(sysCfg.EtcDir, "synmpi_singularity.conf")
return filepath.Join(sysCfg.EtcDir, sympiConfigFilename)
}

// LoadSingularityReleaseConf loads from the configuration file the list of supported
Expand Down