diff --git a/.github/workflows/dhcp-testing.yml b/.github/workflows/dhcp-testing.yml new file mode 100644 index 0000000..fdd1158 --- /dev/null +++ b/.github/workflows/dhcp-testing.yml @@ -0,0 +1,21 @@ +on: + push + +jobs: + DhcpServerTesting: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Configure AWS Credentials + uses: aws-actions/configure-aws-credentials@v2 + with: + aws-region: eu-west-2 + role-to-assume: arn:aws:iam::683290208331:role/GitHubWorkflow + role-session-name: GitHubWorkflow + + - name: Sts GetCallerIdentity + run: | + aws sts get-caller-identity + diff --git a/buildspec.test.yml b/buildspec.test.yml index 643ec46..15ca7c6 100644 --- a/buildspec.test.yml +++ b/buildspec.test.yml @@ -10,10 +10,6 @@ env: DOCKER_PASSWORD: "/moj-network-access-control/docker/password" phases: - install: - commands: - - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://127.0.0.1:2375 --storage-driver=overlay2& - - timeout 15 sh -c "until docker info; do echo .; sleep 1; done" build: commands: