Skip to content

Commit

Permalink
ci: prepare testnet-1 env
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiendan committed Sep 12, 2023
1 parent bfafc87 commit 101e223
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Build and push docker image to GitHub Container Registry
strategy:
matrix:
environment: [devnet-1]
environment: [devnet-1, testnet-1]
runs-on: ubuntu-latest-16-core
environment: ${{ matrix.environment }}
outputs:
Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions packages/backend/src/faucet/faucet.service.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { context, Context, trace } from '@opentelemetry/api'
import { Injectable, Logger } from '@nestjs/common'
import { Injectable } from '@nestjs/common'
import { ConfigService } from '@nestjs/config'
import { ethers, providers } from 'ethers'

import { GetSubnetAssetsDto } from './faucet.dto'
import { apm, SERVICE_NAME } from '../main'
import { apm } from '../main'
import { sanitizeURLProtocol } from '../utils'
import { PROVIDER_ERRORS, WALLET_ERRORS } from './faucet.errors'
import { Transaction } from 'elastic-apm-node'
Expand All @@ -29,7 +28,6 @@ export class FaucetService {
})
)
).finally(() => {
console.log('full done')
apmTransaction.end()
})
}
Expand Down Expand Up @@ -62,7 +60,6 @@ export class FaucetService {
const receipt = await tx.wait()

span.end()
console.log('end index', apmSpanIndex)

resolve(receipt)
} catch (error) {
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@elastic/apm-rum": "^5.14.0",
"@emotion/react": "11.10.6",
"@emotion/styled": "11.10.6",
"@topos-protocol/topos-smart-contracts": "^1.1.4-rc1",
"@topos-protocol/topos-smart-contracts": "^1.2.2",
"antd": "^5.4.0",
"axios": "^1.4.0",
"ethers": "^5.7.2",
Expand Down

0 comments on commit 101e223

Please sign in to comment.