Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gitlab-ci-cd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
JetBrains YouTrack
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Prosper
gitlab-ci-cd
Commits
2d1b77a2
Commit
2d1b77a2
authored
3 years ago
by
Griefed
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file
parent
c94453fe
No related branches found
Branches containing commit
Tags
2.1.14
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+4
-4
4 additions, 4 deletions
.gitlab-ci.yml
with
4 additions
and
4 deletions
.gitlab-ci.yml
+
4
−
4
View file @
2d1b77a2
...
@@ -92,8 +92,8 @@ Check Packages:on-schedule:
...
@@ -92,8 +92,8 @@ Check Packages:on-schedule:
git clone $CI_PROJECT_URL.git /tmp/$CI_PROJECT_PATH && \
git clone $CI_PROJECT_URL.git /tmp/$CI_PROJECT_PATH && \
cd /tmp/$CI_PROJECT_PATH && \
cd /tmp/$CI_PROJECT_PATH && \
if [ ! -s "package
-
versions.txt" ];then
if [ ! -s "package
_
versions.txt" ];then
echo "No package
-
versions.txt available..." && \
echo "No package
_
versions.txt available..." && \
# Gather package information from latest build
# Gather package information from latest build
docker run --rm --entrypoint /bin/sh -v /tmp/$CI_PROJECT_PATH:/tmp $DOCKERHUB_USER/$DOCKERHUB_REPO:latest -c '\
docker run --rm --entrypoint /bin/sh -v /tmp/$CI_PROJECT_PATH:/tmp $DOCKERHUB_USER/$DOCKERHUB_REPO:latest -c '\
...
@@ -116,8 +116,8 @@ Check Packages:on-schedule:
...
@@ -116,8 +116,8 @@ Check Packages:on-schedule:
# Nice
# Nice
echo "package_versions.txt added."
echo "package_versions.txt added."
elif [ -s "package
-
versions.txt" ];then
elif [ -s "package
_
versions.txt" ];then
echo "Local package
-
versions.txt available..." && \
echo "Local package
_
versions.txt available..." && \
# Build local image for new package versions list
# Build local image for new package versions list
docker build --no-cache --tag $DOCKERHUB_REPO . && \
docker build --no-cache --tag $DOCKERHUB_REPO . && \
...
...
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