Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ETL Worker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
industrial-controls
services
dash
ETL Worker
Commits
adeacdde
Commit
adeacdde
authored
3 years ago
by
Brice Copy
Browse files
Options
Downloads
Patches
Plain Diff
Hardcode influxdb repo and pyarrow version
parent
71827794
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1
Draft: Fix stdout issue with latest Gitlab runner upgrade
Pipeline
#2955444
passed
3 years ago
Stage: build
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+4
-11
4 additions, 11 deletions
Dockerfile
influxdb.centos7.repo
+6
-0
6 additions, 0 deletions
influxdb.centos7.repo
with
10 additions
and
11 deletions
Dockerfile
+
4
−
11
View file @
adeacdde
...
...
@@ -3,16 +3,9 @@ FROM $FROM
ARG
SPARK_NXCALS_URL=http://photons-resources.cern.ch/downloads/nxcals_pro/spark/spark-nxcals.zip
RUN
cat
<<
EOF
| tee /etc/yum.repos.d/influxdb.repo
\
[influxdb]
\
name = InfluxDB Repository - RHEL
\$
releasever
\
baseurl = https://repos.influxdata.com/rhel/
\$
releasever/
\$
basearch/stable
\
enabled = 1
\
gpgcheck = 1
\
gpgkey = https://repos.influxdata.com/influxdb.key
\
EOF
RUN
yum update
-y
&&
yum
install
-y
python3 python3-pip python3-virtualenv git unzip bsdtar rsync CERN-CA-certs which influxdb
&&
\
COPY
influxdb.centos7.repo /etc/yum.repos.d/influxdb.repo
RUN
yum update
-y
&&
yum
install
-y
python3 python3-cython python3-pip python3-virtualenv git unzip bsdtar rsync CERN-CA-certs which influxdb
&&
\
yum clean all
ENV
SPARK_HOME=/opt/nxcals-spark
...
...
@@ -34,7 +27,7 @@ USER etlworker
RUN
cd
$SPARK_HOME
&&
\
yes
|
source
$SPARK_HOME
/source-me.sh
&&
\
source
$SPARK_HOME
/nxcals-python3-env/bin/activate
&&
\
pip3 list
&&
pip3
install
pyspark
==
2.3.2 pandas scipy influxdb pyarrow
pip3 list
&&
pip3
install
pyspark
[sql]
==
2.3.2 pandas scipy influxdb
pyarrow
==
0.8.0
RUN
source
$SPARK_HOME
/nxcals-python3-env/bin/activate
&&
\
pip3
install
git+https://gitlab.cern.ch/industrial-controls/services/dash/dash-etl.git@develop
...
...
This diff is collapsed.
Click to expand it.
influxdb.centos7.repo
0 → 100644
+
6
−
0
View file @
adeacdde
[influxdb]
name = InfluxDB Repository - RHEL 7
baseurl = https://repos.influxdata.com/rhel/7/x86_64/stable
enabled = 1
gpgcheck = 1
gpgkey = https://repos.influxdata.com/influxdb.key
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment