Skip to content

Commit

Permalink
refactor: slim infrastructure ci profile (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrekucci authored Jul 2, 2024
1 parent 0ad75c4 commit 870452a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/infrstructure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,10 @@ jobs:
- name: Configure Control Machine
run: |
ANSIBLE_USER=$([ "${IS_MANUAL_DEPLOYMENT}" == "true" ] && echo "ubuntu" || echo "${USER}")
ANSIBLE_USER="${USER}"
ANSIBLE_CONNECTION="ansible_connection=local"
if [ "${IS_MANUAL_DEPLOYMENT}" == "true" ]; then
ANSIBLE_USER="ubuntu"
ANSIBLE_CONNECTION=""
export ANSIBLE_HOST_KEY_CHECKING=false
Expand Down Expand Up @@ -166,7 +167,7 @@ jobs:
exit 1
fi
if [ "${{ github.event.inputs.all_targets }}" == "false" ]; then
if [ "${IS_MANUAL_DEPLOYMENT}" == "false" ] || [ "${{ github.event.inputs.all_targets }}" == "false" ]; then
STDOUT="$(echo "${STDOUT}" | awk -F 'stdout\\) ' '{print $2}')"
OS="$(echo "${STDOUT}" | awk '{print $1}' | tr '[:upper:]' '[:lower:]')"
ARCH="$(echo "${STDOUT}" | awk '{print $2}' | tr '[:upper:]' '[:lower:]')"
Expand Down
2 changes: 0 additions & 2 deletions infrastructure/nomad/playbooks/variables/profiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ jobs:
ip: 0.0.0.0
net_restrict: 0.0.0.0/0
type: signer
sync_mode: snap

mev_commit_geth_member_node: &mev_commit_geth_member_node_job
name: mev-commit-geth-member-node
Expand Down Expand Up @@ -507,7 +506,6 @@ profiles:
- *artifacts_job
- *mev_commit_geth_bootnode1_job
- *mev_commit_geth_signer_node1_job
- *mev_commit_geth_member_node_job
- *contracts_deployer_job
- *mev_commit_bootnode1_job
- *mev_commit_provider_node1_job
Expand Down
2 changes: 1 addition & 1 deletion oracle/pkg/l1Listener/l1Listener_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func TestL1Listener(t *testing.T) {
}()

select {
case <-time.After(5 * time.Second):
case <-time.After(10 * time.Second):
t.Fatal("timeout waiting for winner", i)
case winner := <-reg.winners:
if winner.blockNum != int64(i) {
Expand Down

0 comments on commit 870452a

Please sign in to comment.