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
672d924e
Commit
672d924e
authored
3 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Plain Diff
Merge branch '
L2SDP-534
' into 'master'
Added .gitlab-ci.yml Closes
L2SDP-534
See merge request desp/hdl!174
parents
2cfeac88
189e1bb9
No related branches found
No related tags found
1 merge request
!174
Added .gitlab-ci.yml
Pipeline
#22177
passed
3 years ago
Stage: simulation
Stage: synthesis
Stage: hardware
Pipeline: sdptr
#22178
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+101
-0
101 additions, 0 deletions
.gitlab-ci.yml
applications/lofar2/images/lofar2_unb2b_sdp_station_full.tar.gz
+1
-0
1 addition, 0 deletions
...ations/lofar2/images/lofar2_unb2b_sdp_station_full.tar.gz
with
102 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
101
−
0
View file @
672d924e
###############################################################################
#
# Copyright 2022
# ASTRON (Netherlands Institute for Radio Astronomy) <http://www.astron.nl/>
# P.O.Box 2, 7990 AA Dwingeloo, The Netherlands
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
###############################################################################
# Author:
# . Daniel van der Schuur
# Purpose:
# . Define automated test stages for the HDL repository this file belongs to.
# Description:
# . See https://support.astron.nl/confluence/display/L2M/L3+SDP+Decision%3A+Gitlab+pipeline+automation+to+test+SDPFW+with+OPC+UA
stages
:
-
simulation
-
synthesis
-
hardware
###############################################################################
# HDL simulation stage
###############################################################################
sim-compile
:
tags
:
-
fpga
stage
:
simulation
script
:
-
echo "Compiling for simulation"
-
mkdir build
-
touch build/info.txt
artifacts
:
paths
:
-
build/
sim-run
:
tags
:
-
fpga
stage
:
simulation
script
:
-
echo "Running simulations"
# - test -f "build/info.txt" # This fails despite having artifact (see
# sim-compile code block where a folder and
# file are generated and preserved by using
# 'artifacts').
###############################################################################
# HDL synthesis stage
###############################################################################
synth-compile
:
tags
:
-
fpga
stage
:
synthesis
script
:
-
echo "Compiling for synthesis"
synth-check-fmax
:
tags
:
-
fpga
stage
:
synthesis
script
:
-
echo "Checking achieved fMax"
synth-check-programming-files
:
tags
:
-
fpga
stage
:
synthesis
script
:
-
echo "Checking if programming files have been generated"
###############################################################################
# Hardware stage
# . for some reason we cannot use tags + trigger together. So this will be
# run on the shared Gitlab runner - which is fine.
###############################################################################
trigger-opc-ua-test
:
stage
:
hardware
only
:
changes
:
-
applications/lofar2/images/lofar2_unb2b_sdp_station_full.tar.gz
# script:
# - echo "Found updated programming file. Triggering OPC UA test in SDPTR repo."
trigger
:
project
:
LOFAR2.0/sdptr
branch
:
L2SDP-534
This diff is collapsed.
Click to expand it.
applications/lofar2/images/lofar2_unb2b_sdp_station_full.tar.gz
0 → 120000
+
1
−
0
View file @
672d924e
lofar2_unb2b_sdp_station_bf-r087d98be6.tar.gz
\ No newline at end of file
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