Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
Jacamar CI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
Exascale Computing Project CI
Jacamar CI
Merge requests
!213
Support PBS executor type
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Support PBS executor type
46-paulbry-pbs-dev
into
develop
Overview
0
Commits
2
Pipelines
5
Changes
6
Merged
Paul Bryant
requested to merge
46-paulbry-pbs-dev
into
develop
3 years ago
Overview
0
Commits
2
Pipelines
5
Changes
6
Expand
Closes
#46 (closed)
Edited
3 years ago
by
Paul Bryant
0
0
Merge request reports
Compare
develop
version 4
254a5b2d
3 years ago
version 3
947e7cef
3 years ago
version 2
85291299
3 years ago
version 1
5ac8fac9
3 years ago
develop (base)
and
latest version
latest version
e1353a4a
2 commits,
3 years ago
version 4
254a5b2d
2 commits,
3 years ago
version 3
947e7cef
1 commit,
3 years ago
version 2
85291299
2 commits,
3 years ago
version 1
5ac8fac9
1 commit,
3 years ago
6 files
+
388
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
build/containers/pbs-tester/Dockerfile
0 → 100644
+
76
−
0
Options
FROM
registry.gitlab.com/ecp-ci/jacamar-ci/centos7-builder:latest
# OpenPBS test container
# https://github.com/openpbs/openpbs/blob/master/INSTALL
RUN
yum
install
-y
\
# PBS build reqs
autoconf \
automake \
expat-devel \
gcc \
gcc-c++ \
hwloc-devel \
libedit-devel \
libical-devel \
libtool \
libX11-devel \
libXext \
libXft \
libXt-devel \
make \
ncurses-devel \
openssl-devel \
perl \
postgresql-contrib \
postgresql-devel \
python3-devel \
rpm-build \
swig \
tcl-devel \
tk-devel \
# PBS run reqs
expat \
libical \
libedit \
postgresql-contrib \
postgresql-server \
python3 \
sendmail \
sudo \
tcl \
tk \
# Misc tools
vim \
&& yum clean all \
&& useradd -ms /bin/bash pbsadmin \
&& useradd -ms /bin/bash pbsuser \
&& echo "pbsadmin ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers \
&& mkdir /pbs \
&& chmod 777 /pbs
ARG
PBS_VER="20.0.1"
USER
pbsadmin
WORKDIR
/pbs
RUN
wget https://github.com/openpbs/openpbs/archive/refs/tags/v
${
PBS_VER
}
.tar.gz
\
&&
tar
-xvf
v
${
PBS_VER
}
.tar.gz
\
&&
cd
openpbs-
${
PBS_VER
}
\
&&
./autogen.sh
\
&&
./configure
--prefix
=
/opt/pbs
\
&&
make
\
&&
sudo
make
install
\
&&
cd
/
\
&&
sudo rm
-rf
/pbs
USER
root
COPY
entry.bash /entry.bash
WORKDIR
/
RUN
/opt/pbs/libexec/pbs_postinstall
\
&&
sed
-i
's/PBS_START_MOM\=0/PBS_START_MOM\=1/'
/etc/pbs.conf
\
&&
chmod
4755 /opt/pbs/sbin/pbs_iff /opt/pbs/sbin/pbs_rcp
\
&&
echo
"source /etc/profile.d/pbs.sh"
>>
/etc/profile
\
&&
chmod
755 /entry.bash
# Note, the container must be ran with "buildkitsandbox" hostname in order to function.
ENTRYPOINT
["/entry.bash"]
Loading