Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dockerfiles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Picasoft
Technique
Dockerfiles
Commits
a3b938f8
Verified
Commit
a3b938f8
authored
4 years ago
by
Quentin Duchemin
Browse files
Options
Downloads
Patches
Plain Diff
[MetricsBot] Update to last version and overwrite old entrypoint
parent
35a4f491
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#62108
failed
4 years ago
Stage: build
Stage: security-tests
Stage: push
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
pica-metrics-bot/Dockerfile
+3
-3
3 additions, 3 deletions
pica-metrics-bot/Dockerfile
pica-metrics-bot/entrypoint.sh
+1
-1
1 addition, 1 deletion
pica-metrics-bot/entrypoint.sh
pica-metrics-bot/picasoft-metrics-bot
+1
-1
1 addition, 1 deletion
pica-metrics-bot/picasoft-metrics-bot
with
5 additions
and
5 deletions
pica-metrics-bot/Dockerfile
+
3
−
3
View file @
a3b938f8
...
...
@@ -6,12 +6,12 @@ LABEL maintainer quentinduchemin@tuta.io
COPY
picasoft-metrics-bot /code
# Custom Picasoft entrypoint
COPY
entrypoint.sh /entrypoint.sh
RUN
chmod
+x /entrypoint
.sh
COPY
entrypoint.sh
/code
/entrypoint.sh
RUN
chmod
+x
/code
/entrypoint
WORKDIR
/code
# Install dependencies
RUN
pip3
install
-r
requirements.txt
ENTRYPOINT
[ "/entrypoint.sh" ]
ENTRYPOINT
[ "/
code/
entrypoint.sh" ]
This diff is collapsed.
Click to expand it.
pica-metrics-bot/entrypoint.sh
+
1
−
1
View file @
a3b938f8
...
...
@@ -32,7 +32,7 @@ INTERVAL_SECONDS=${INTERVAL_SECONDS:-60}
while
:
do
echo
"
$(
date
)
: Gathering stats..."
python3 main.py
echo
"
$(
date
)
: Gathering stats..."
sleep
$INTERVAL_SECONDS
done
This diff is collapsed.
Click to expand it.
picasoft-metrics-bot
@
4ccadd2f
Compare
508a84c7
...
4ccadd2f
Subproject commit
508a84c7332bd95927615b41d067dd78e77d2beb
Subproject commit
4ccadd2f25cc747ecd27acc74839d5ab51589940
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