Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/docker builds #438

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Test
run-name: test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19.x
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
# Version Spec of the version to use in SemVer notation.
# It also emits such aliases as lts, latest, nightly and canary builds
# Examples: 12.x, 10.15.1, >=10.15.0, lts/Hydrogen, 16-nightly, latest, node
node-version: '14.20'
- name: Install requirements
run: |
go get -t ./...
make install-linters
npm install
- name: make check
run: make check
- name: make lint-ts
run: make lint-ts
- name: make build-ng
run: make build-ng
- name: make check-ui
run: make check-ui

32 changes: 0 additions & 32 deletions .travis.yml

This file was deleted.

3 changes: 2 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@
"cli": {
"schematicCollections": [
"@angular-eslint/schematics"
]
],
"analytics": false
}
}
6 changes: 3 additions & 3 deletions docker/images/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# skycoin build
# reference https://github.com/skycoin/skycoin
FROM golang:1.10.2-stretch AS build
FROM --platform=linux/amd64 golang:1.10.2-stretch AS build
# dirs
RUN mkdir -p $GOPATH/src/github.com/skycoin/

Expand All @@ -17,8 +17,8 @@ RUN ln -sf /bin/bash /bin/sh
# install node, explorer dependencies build Angular's project
RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash && \
source /root/.profile && \
nvm install 10.16 && \
nvm use 10.16 && \
nvm install 14.20 && \
nvm use 14.20 && \
cd $GOPATH/src/github.com/skycoin/skycoin-explorer && \
npm install && \
npm run build
Expand Down
Binary file modified e2e/test-fixtures/blockchain-180.db
Binary file not shown.