Skip to content

Commit

Permalink
Add executable permission for eos scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dpakach committed Sep 4, 2020
1 parent a731795 commit f4fc87d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -341,17 +341,26 @@ def coreApiTestsEosStorage(ctx, coreBranch = 'master', coreCommit = '', part_num
'DRONE_COMMIT_ID': ctx.build.commit
},
'commands': [
# Install Go
'wget -q https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz',
'mkdir -p /usr/local/bin',
'tar xf go1.14.2.linux-amd64.tar.gz -C /usr/local',
'ln -s /usr/local/go/bin/* /usr/local/bin',

# Install Hcloud Cli
'go get -u github.com/hetznercloud/cli/cmd/hcloud',
'ls -la /srv/app/',

# Create an eos machine
'cd /drone/src',
'/drone/src/tests/spwan_eos.sh',
'cd /srv/app/testrunner',

# Run tests
'make test-acceptance-api',

# Delete the eos machine
'hcloud server delete droneci-eos-test-%s-%s' % (ctx.build.commit, part_number)
],
'volumes': [{
'name': 'gopath',
Expand Down
Empty file modified tests/config/drone/create-config.json.sh
100644 → 100755
Empty file.
Empty file modified tests/config/drone/create-identifier-registration.sh
100644 → 100755
Empty file.
Empty file modified tests/config/drone/setup-eos.sh
100644 → 100755
Empty file.
Empty file modified tests/spwan_eos.sh
100644 → 100755
Empty file.

0 comments on commit f4fc87d

Please sign in to comment.