Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
C
CIC ETH
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
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
Privacy statement
Keyboard shortcuts
?
What's new
6
Snippets
Groups
Projects
Show more breadcrumbs
Grassroots Economics
CIC ETH
Commits
af55f0a9
Commit
af55f0a9
authored
4 years ago
by
Blair Vanderlugt
Browse files
Options
Downloads
Patches
Plain Diff
updated build
parent
591e76be
No related branches found
No related tags found
2 merge requests
!50
Bvander/refactor cic eth
,
!49
Chainspec in tasks, fix semver in setuptools
Pipeline
#249783293
failed
4 years ago
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+10
-20
10 additions, 20 deletions
.gitlab-ci.yml
docker/Dockerfile
+1
-1
1 addition, 1 deletion
docker/Dockerfile
with
11 additions
and
21 deletions
.gitlab-ci.yml
+
10
−
20
View file @
af55f0a9
default
:
image
:
python:3.8.5-slim-buster
before_script
:
-
apt-get update
-
apt-get install -y libpq-dev gcc gnupg git
#- pip install pytest pytest-celery pytest-mock eth-tester
-
pip install --extra-index-url https://pip.grassrootseconomics.net:8433 -r requirements.txt
-
pip install --extra-index-url https://pip.grassrootseconomics.net:8433 -r test_requirements.txt
-
git clone --depth 1 https://gitlab.com/grassrootseconomics/bancor-contracts bancor
-
cd bancor
# d6e39d5fbdb95068e92379a9139f48021da2f95a + build
-
git fetch --depth 1 origin 77a6deeafef3620d1d53e3c54856c2c0cfb812e8
-
git checkout 77a6deeafef3620d1d53e3c54856c2c0cfb812e8
-
cd ..
#- mv bancor /usr/local/lib/python3.8/site-packages/cic_registry/
-
pwd
.contract-migration-changes-target
:
rules
:
-
changes
:
-
$CONTEXT/*
test-dev
:
script
:
-
CICTEST_BANCOR_DIR=`pwd`/bancor/solidity/build/contracts pytest -v -s --log-cli-level DEBUG --log-level DEBUG --cov=cic_eth --cov-fail-under=90 --cov-report term-missing tests
#- echo "no tests executed, will fail without synced ganache-cli, need mock or omit functional tests"
build-cic-eth
:
extends
:
-
.contract-migration-changes-target
-
.py-build
variables
:
CONTEXT
:
apps/cic-eth
\ No newline at end of file
This diff is collapsed.
Click to expand it.
docker/Dockerfile
+
1
−
1
View file @
af55f0a9
...
...
@@ -16,7 +16,7 @@ ARG root_requirement_file='requirements.txt'
#RUN apk add linux-headers
#RUN apk add libffi-dev
RUN
apt-get update
&&
\
apt
install
-y
gcc gnupg libpq-dev wget make g++ gnupg bash
apt
install
-y
gcc gnupg libpq-dev wget make g++ gnupg bash
procps
# Copy shared requirements from top of mono-repo
RUN
echo
"copying root req file
${
root_requirement_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