Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
keyringer
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
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
rhatto
keyringer
Commits
be35f8c3
Unverified
Commit
be35f8c3
authored
3 months ago
by
rhatto
Browse files
Options
Downloads
Patches
Plain Diff
Feat: CI: test job (
#10
)
parent
77ad450f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#258588
failed
3 months ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+26
-0
26 additions, 0 deletions
.gitlab-ci.yml
with
26 additions
and
0 deletions
.gitlab-ci.yml
+
26
−
0
View file @
be35f8c3
...
...
@@ -52,3 +52,29 @@ debian:
artifacts
:
paths
:
-
dist
test
:
image
:
debian:testing
script
:
# Install keyringer from the distro packaging system
# This ensures the needed dependencies are installed
-
apt-get update
-
apt-get install -y keyringer
# Import debian/upstream/signing-key.asc
-
git fetch --all
-
git branch debian --track origin/debian ||
true
-
git checkout debian
-
gpg --import < debian/upstream/signing-key.asc
# Test in the develop branch
-
git branch develop --track origin/develop ||
true
-
git checkout develop
-
mkdir ~/temp/tests/keyringer
-
./keyringer test init ~/temp/tests/keyringer
-
gpg --with-colons --list-keys | grep uid | awk -F ':' '{ x = $10; gsub(/.*</, "", x); gsub(/>/, "", x); print x, $8; }' >> ~/temp/tests/keyringer/config/recipients/default
-
./keyringer test check
-
./keyringer test teardown -y
# Test in the main branch
# ...
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