Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PrivateStorageio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tom Prince
PrivateStorageio
Commits
fe52b3b4
Commit
fe52b3b4
authored
4 years ago
by
Florian Sesser
Browse files
Options
Downloads
Patches
Plain Diff
Remove CircleCI config
We use GitLab instead now.
parent
c5e130cd
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.circleci/config.yml
+0
-107
0 additions, 107 deletions
.circleci/config.yml
with
0 additions
and
107 deletions
.circleci/config.yml
deleted
100644 → 0
+
0
−
107
View file @
c5e130cd
# Copyright 2019 PrivateStorage.io, LLC
#
# 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.
version
:
2
jobs
:
test
:
docker
:
-
image
:
"
nixorg/nix:circleci"
steps
:
-
"
checkout"
-
run
:
name
:
"
Run
Tests"
command
:
|
nix-shell --run 'nix-build nixos/unit-tests.nix' && cat result
system-tests-driver
:
# Cannot actually run the system tests on CircleCI but we can build
# everything that makes them up. This by itself can catch a lot of
# problems.
docker
:
-
image
:
"
nixorg/nix:circleci"
steps
:
-
"
checkout"
-
restore_cache
:
# Get all of Nix's state relating to the particular revision of
# nixpkgs we're using. It will always be the same. CircleCI
# artifacts and nixpkgs store objects are probably mostly hosted in
# the same place (S3) so there's not a lot of difference for
# anything that's pre-built. For anything we end up building
# ourselves, though, this saves us all of the build time (less the
# download time).
#
# Read about caching dependencies: https://circleci.com/docs/2.0/caching/
name
:
"
Restore
Nix
Store
Paths"
keys
:
# Construct cache keys that allow sharing as long as nixpkgs
# revision is unchanged.
#
# If nixpkgs changes then potentially a lot of cached packages for
# the base system will be invalidated so we may as well drop them
# and make a new cache with the new packages.
-
privatestorageio-nix-store-v2-{{ checksum "nixpkgs.json" }}
-
privatestorageio-nix-store-v2-
-
run
:
name
:
"
Build
System
Test
Driver"
command
:
|
nix-shell --run 'nix-build --max-jobs 1 --cores 1 nixos/system-tests.nix -A driver'
# Give it a good long while. PaymentServer and its dependencies, in
# particular, can take a while to build.
no_output_timeout
:
"
20m"
-
save_cache
:
name
:
"
Cache
Nix
Store
Paths"
key
:
privatestorageio-nix-store-v2-{{ checksum "nixpkgs.json" }}
paths
:
-
"
/nix"
build
:
docker
:
-
image
:
"
nixorg/nix:circleci"
steps
:
-
"
checkout"
-
restore_cache
:
# See comments for nix store caching in `build` job.
name
:
"
Restore
Nix
Store
Paths"
keys
:
-
privatestorageio-docs-nix-store-v1-{{ checksum "nixpkgs.json" }}
-
privatestorageio-docs-nix-store-v1-
-
run
:
name
:
"
Nix
Build"
command
:
|
nix-shell --run 'nix-build docs.nix'
-
save_cache
:
name
:
"
Cache
Nix
Store
Paths"
key
:
privatestorageio-docs-nix-store-v1-{{ checksum "nixpkgs.json" }}
paths
:
-
"
/nix"
-
store_artifacts
:
path
:
"
result/docs"
destination
:
"
docs"
workflows
:
version
:
2
everything
:
jobs
:
-
"
test"
-
"
build"
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