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

refactor: slim infrastructure ci profile #186

Merged
merged 1 commit into from
Jul 2, 2024
Merged
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
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
Loading