From efe1e5ea5e83cf4a695d1615bdb98a5960c973bb Mon Sep 17 00:00:00 2001 From: Katalina Okano Date: Sun, 11 Oct 2020 15:36:29 -0400 Subject: [PATCH] ci: move dev-container again, just dont run it with everything else --- .github/workflows/build.yml | 4 ++-- .github/workflows/dev-container.yml | 6 ++++-- {.devcontainer => hack/dev-container}/BUILD.bazel | 0 {.devcontainer => hack/dev-container}/README.md | 0 4 files changed, 6 insertions(+), 4 deletions(-) rename {.devcontainer => hack/dev-container}/BUILD.bazel (100%) rename {.devcontainer => hack/dev-container}/README.md (100%) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d3ecf03..8029f53 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,8 +27,8 @@ jobs: "${GITHUB_WORKSPACE}/bin/bazel" test \ -c opt \ --stamp \ - --workspace_status_command hack/workspace_status.sh \ - //src/... //hack/... + --workspace_status_command hack/workspace_status.sh --\ + //src/... //hack/... -//hack/dev-container/... - name: Docker Login run: | diff --git a/.github/workflows/dev-container.yml b/.github/workflows/dev-container.yml index c56fdb9..ac20b88 100644 --- a/.github/workflows/dev-container.yml +++ b/.github/workflows/dev-container.yml @@ -4,6 +4,8 @@ on: push: paths: - .devcontainer/* + - hack/dev-container + - WORKSPACE - .github/workflows/dev-container.yml schedule: - cron: '0 12 * * 2' # 12 noon every tuesday @@ -34,11 +36,11 @@ jobs: -c opt \ --stamp \ --workspace_status_command hack/workspace_status.sh \ - //.devcontainer:publish-dev-container + //hack/dev-container:publish-dev-container echo ${{secrets.DOCKER_PASSWORD}} | docker login -u ${{secrets.DOCKER_USERNAME}} --password-stdin "${GITHUB_WORKSPACE}/bin/bazel" run \ -c opt \ --stamp \ --workspace_status_command hack/workspace_status.sh \ - //.devcontainer:publish-dev-container-dockerhub + //hack/dev-container:publish-dev-container-dockerhub diff --git a/.devcontainer/BUILD.bazel b/hack/dev-container/BUILD.bazel similarity index 100% rename from .devcontainer/BUILD.bazel rename to hack/dev-container/BUILD.bazel diff --git a/.devcontainer/README.md b/hack/dev-container/README.md similarity index 100% rename from .devcontainer/README.md rename to hack/dev-container/README.md