From 0aeb09df995fb08b24712510a412706b2b9ba859 Mon Sep 17 00:00:00 2001 From: Juraj Piar Date: Mon, 13 May 2024 09:55:50 +0100 Subject: [PATCH] feat(ci): uses rsksmart docker images --- .github/workflows/build_and_test.yml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 8940a6412b8..a3ce55b218b 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -60,11 +60,12 @@ jobs: container: image: eclipse-temurin:17-jdk defaults: - run: - working-directory: . + run: + working-directory: . steps: - uses: actions/checkout@v2 - name: Run SonarQube analysis + env: run: | echo "Installing git" apt-get update && apt-get install -yqq git @@ -93,7 +94,11 @@ jobs: echo "Running SonarQube analysis" ./configure.sh ./gradlew sonarqube --no-daemon -x build -x test $extra_flags \ - -Dsonar.organization=rsksmart -Dsonar.host.url="$sonar_url" -Dsonar.login="$sonar_token" + -Dsonar.organization=rsksmart -Dsonar.host.url="$sonar_url" -Dsonar.login="$sonar_token" \ + -Dsonar.scm.provider=git + + + tests: needs: build @@ -164,10 +169,10 @@ jobs: - name: Build and push Docker images run: | - docker build -t jurajpiar/bitcoind1:latest -f bitcoind1.Dockerfile . - docker push jurajpiar/bitcoind1:latest - docker build -t jurajpiar/bitcoind2:latest -f bitcoind2.Dockerfile . - docker push jurajpiar/bitcoind2:latest + docker build -t rsksmart/mit_bitcoind1:latest -f bitcoind1.Dockerfile . + docker push rsksmart/mit_bitcoind1:latest + docker build -t rsksmart/mit_bitcoind2:latest -f bitcoind2.Dockerfile . + docker push rsksmart/mit_bitcoind2:latest mining-tests: @@ -177,14 +182,14 @@ jobs: runs-on: ubuntu-latest services: bitcoind1: - image: jurajpiar/bitcoind1:latest + image: rsksmart/mit_bitcoind1:latest ports: - 8331:8331 - 31591:31591 - 32591:32591 options: --name bitcoind1 bitcoind2: - image: jurajpiar/bitcoind2:latest + image: rsksmart/mit_bitcoind2:latest ports: - 8332:8332 - 31592:31592