|
|
@ -409,6 +409,11 @@ jobs: |
|
|
|
- name: Build consul:local image |
|
|
|
- name: Build consul:local image |
|
|
|
run: docker build -t ${{ env.CONSUL_LATEST_IMAGE_NAME }}:local -f ./build-support/docker/Consul-Dev.dockerfile . |
|
|
|
run: docker build -t ${{ env.CONSUL_LATEST_IMAGE_NAME }}:local -f ./build-support/docker/Consul-Dev.dockerfile . |
|
|
|
- name: Build consul-envoy:target-version image |
|
|
|
- name: Build consul-envoy:target-version image |
|
|
|
|
|
|
|
id: buildConsulEnvoyImage |
|
|
|
|
|
|
|
continue-on-error: true |
|
|
|
|
|
|
|
run: docker build -t consul-envoy:target-version --build-arg CONSUL_IMAGE=${{ env.CONSUL_LATEST_IMAGE_NAME }}:local --build-arg ENVOY_VERSION=${{ env.ENVOY_VERSION }} -f ./test/integration/consul-container/assets/Dockerfile-consul-envoy ./test/integration/consul-container/assets |
|
|
|
|
|
|
|
- name: Retry Build consul-envoy:target-version image |
|
|
|
|
|
|
|
if: steps.buildConsulEnvoyImage.outcome == 'failure' |
|
|
|
run: docker build -t consul-envoy:target-version --build-arg CONSUL_IMAGE=${{ env.CONSUL_LATEST_IMAGE_NAME }}:local --build-arg ENVOY_VERSION=${{ env.ENVOY_VERSION }} -f ./test/integration/consul-container/assets/Dockerfile-consul-envoy ./test/integration/consul-container/assets |
|
|
|
run: docker build -t consul-envoy:target-version --build-arg CONSUL_IMAGE=${{ env.CONSUL_LATEST_IMAGE_NAME }}:local --build-arg ENVOY_VERSION=${{ env.ENVOY_VERSION }} -f ./test/integration/consul-container/assets/Dockerfile-consul-envoy ./test/integration/consul-container/assets |
|
|
|
- name: Configure GH workaround for ipv6 loopback |
|
|
|
- name: Configure GH workaround for ipv6 loopback |
|
|
|
if: ${{ !endsWith(github.repository, '-enterprise') }} |
|
|
|
if: ${{ !endsWith(github.repository, '-enterprise') }} |
|
|
@ -545,8 +550,18 @@ jobs: |
|
|
|
- name: Build consul:local image |
|
|
|
- name: Build consul:local image |
|
|
|
run: docker build -t ${{ env.CONSUL_LATEST_IMAGE_NAME }}:local -f ./build-support/docker/Consul-Dev.dockerfile . |
|
|
|
run: docker build -t ${{ env.CONSUL_LATEST_IMAGE_NAME }}:local -f ./build-support/docker/Consul-Dev.dockerfile . |
|
|
|
- name: Build consul-envoy:latest-version image |
|
|
|
- name: Build consul-envoy:latest-version image |
|
|
|
|
|
|
|
id: buildConsulEnvoyLatestImage |
|
|
|
|
|
|
|
continue-on-error: true |
|
|
|
|
|
|
|
run: docker build -t consul-envoy:latest-version --build-arg CONSUL_IMAGE=docker.mirror.hashicorp.services/${{ env.CONSUL_LATEST_IMAGE_NAME }}:${{ env.CONSUL_LATEST_VERSION }} --build-arg ENVOY_VERSION=${{ env.ENVOY_VERSION }} -f ./test/integration/consul-container/assets/Dockerfile-consul-envoy ./test/integration/consul-container/assets |
|
|
|
|
|
|
|
- name: Retry Build consul-envoy:latest-version image |
|
|
|
|
|
|
|
if: steps.buildConsulEnvoyLatestImage.outcome == 'failure' |
|
|
|
run: docker build -t consul-envoy:latest-version --build-arg CONSUL_IMAGE=docker.mirror.hashicorp.services/${{ env.CONSUL_LATEST_IMAGE_NAME }}:${{ env.CONSUL_LATEST_VERSION }} --build-arg ENVOY_VERSION=${{ env.ENVOY_VERSION }} -f ./test/integration/consul-container/assets/Dockerfile-consul-envoy ./test/integration/consul-container/assets |
|
|
|
run: docker build -t consul-envoy:latest-version --build-arg CONSUL_IMAGE=docker.mirror.hashicorp.services/${{ env.CONSUL_LATEST_IMAGE_NAME }}:${{ env.CONSUL_LATEST_VERSION }} --build-arg ENVOY_VERSION=${{ env.ENVOY_VERSION }} -f ./test/integration/consul-container/assets/Dockerfile-consul-envoy ./test/integration/consul-container/assets |
|
|
|
- name: Build consul-envoy:target-version image |
|
|
|
- name: Build consul-envoy:target-version image |
|
|
|
|
|
|
|
id: buildConsulEnvoyTargetImage |
|
|
|
|
|
|
|
continue-on-error: true |
|
|
|
|
|
|
|
run: docker build -t consul-envoy:target-version --build-arg CONSUL_IMAGE=${{ env.CONSUL_LATEST_IMAGE_NAME }}:local --build-arg ENVOY_VERSION=${{ env.ENVOY_VERSION }} -f ./test/integration/consul-container/assets/Dockerfile-consul-envoy ./test/integration/consul-container/assets |
|
|
|
|
|
|
|
- name: Retry Build consul-envoy:target-version image |
|
|
|
|
|
|
|
if: steps.buildConsulEnvoyTargetImage.outcome == 'failure' |
|
|
|
run: docker build -t consul-envoy:target-version --build-arg CONSUL_IMAGE=${{ env.CONSUL_LATEST_IMAGE_NAME }}:local --build-arg ENVOY_VERSION=${{ env.ENVOY_VERSION }} -f ./test/integration/consul-container/assets/Dockerfile-consul-envoy ./test/integration/consul-container/assets |
|
|
|
run: docker build -t consul-envoy:target-version --build-arg CONSUL_IMAGE=${{ env.CONSUL_LATEST_IMAGE_NAME }}:local --build-arg ENVOY_VERSION=${{ env.ENVOY_VERSION }} -f ./test/integration/consul-container/assets/Dockerfile-consul-envoy ./test/integration/consul-container/assets |
|
|
|
- name: Build sds image |
|
|
|
- name: Build sds image |
|
|
|
run: docker build -t consul-sds-server ./test/integration/connect/envoy/test-sds-server/ |
|
|
|
run: docker build -t consul-sds-server ./test/integration/connect/envoy/test-sds-server/ |
|
|
|