Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HDL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
RTSD
HDL
Commits
07c2e7ee
Commit
07c2e7ee
authored
2 years ago
by
Pieter Donker
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file
parent
bd37f0f3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#45406
failed
2 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+40
-0
40 additions, 0 deletions
.gitlab-ci.yml
with
40 additions
and
0 deletions
.gitlab-ci.yml
+
40
−
0
View file @
07c2e7ee
...
@@ -26,10 +26,50 @@
...
@@ -26,10 +26,50 @@
# . See https://support.astron.nl/confluence/display/L2M/L3+SDP+Decision%3A+Gitlab+pipeline+automation+to+test+SDPFW+with+OPC+UA
# . See https://support.astron.nl/confluence/display/L2M/L3+SDP+Decision%3A+Gitlab+pipeline+automation+to+test+SDPFW+with+OPC+UA
stages
:
stages
:
-
image
-
simulation
-
simulation
-
synthesis
-
synthesis
-
hardware
-
hardware
# build docker image
docker-image
:
stage
:
image
image
:
docker:latest
tags
:
-
privileged
only
:
refs
:
-
master
services
:
-
docker:dind
variables
:
DOCKER_TLS_CERTDIR
:
"
/certs"
before_script
:
-
docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script
:
-
|
if [[ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]]; then
tag=""
echo "Running on default branch '$CI_DEFAULT_BRANCH': tag = 'latest'"
else
tag=":$CI_COMMIT_REF_SLUG"
echo "Running on branch '$CI_COMMIT_BRANCH': tag = $tag"
fi
-
docker build --pull -t "$CI_REGISTRY_IMAGE${tag}" .
-
docker push "$CI_REGISTRY_IMAGE${tag}"
lint-vhdl-libraries
:
stage
:
linting
extends
:
docker-image
allow_failure
:
true
before_script
:
-
DEBIAN_FRONTEND=noninteractive apt-get update
-
DEBIAN_FRONTEND=noninteractive apt-get install -y python3 python3-pip python3-ipython
-
pip3 install vsg --use-pep517
script
:
-
cd libraries
-
find . -name "*.vhd" -exec vsg -f {} \;
###############################################################################
###############################################################################
# HDL simulation stage
# HDL simulation stage
...
...
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