From 1c4cbcf767f6d5cfb3e8a4b7ba0b6aca5eb0327b Mon Sep 17 00:00:00 2001
From: Pavel Vetokhin
Date: Wed, 6 Sep 2023 22:01:50 +0300
Subject: [PATCH] Enhance naming
---
.dx/group_vars/all.yml | 2 +-
.dx/tasks/pipeline/status.yml | 2 +-
{.env => .environ}/amber/.env | 0
{.env => .environ}/amber/requirements.txt | 0
{.env => .environ}/green/.env | 0
{.env => .environ}/green/requirements.txt | 0
.github/workflows/pipeline-beyond-doubt.yml | 2 --
7 files changed, 2 insertions(+), 4 deletions(-)
rename {.env => .environ}/amber/.env (100%)
rename {.env => .environ}/amber/requirements.txt (100%)
rename {.env => .environ}/green/.env (100%)
rename {.env => .environ}/green/requirements.txt (100%)
diff --git a/.dx/group_vars/all.yml b/.dx/group_vars/all.yml
index b7d19b09..b5989ccc 100644
--- a/.dx/group_vars/all.yml
+++ b/.dx/group_vars/all.yml
@@ -7,7 +7,7 @@ solution_cid: "{{ lookup('ansible.builtin.pipe', 'git write-tree --prefix=soluti
environ: green
dx_cid: "{{ lookup('ansible.builtin.pipe', 'git write-tree --prefix=.dx')[:7] }}"
-env_cid: "{{ lookup('ansible.builtin.pipe', 'git write-tree --prefix=.env/' ~ environ)[:7] }}"
+environ_cid: "{{ lookup('ansible.builtin.pipe', 'git write-tree --prefix=.environ/' ~ environ)[:7] }}"
tool_cid: "{{ lookup('ansible.builtin.pipe', 'git write-tree --prefix=.tools')[:7] }}"
test_cid: "{{ lookup('ansible.builtin.pipe', 'git write-tree --prefix=tests')[:7] }}"
diff --git a/.dx/tasks/pipeline/status.yml b/.dx/tasks/pipeline/status.yml
index fc6d0fe2..61f79696 100644
--- a/.dx/tasks/pipeline/status.yml
+++ b/.dx/tasks/pipeline/status.yml
@@ -4,7 +4,7 @@
cmd: git hash-object --stdin
stdin: |
{{ dx_cid }}
- {{ env_cid }}
+ {{ environ_cid }}
{{ tool_cid }}
{{ test_cid }}
register: pipeline_cid
diff --git a/.env/amber/.env b/.environ/amber/.env
similarity index 100%
rename from .env/amber/.env
rename to .environ/amber/.env
diff --git a/.env/amber/requirements.txt b/.environ/amber/requirements.txt
similarity index 100%
rename from .env/amber/requirements.txt
rename to .environ/amber/requirements.txt
diff --git a/.env/green/.env b/.environ/green/.env
similarity index 100%
rename from .env/green/.env
rename to .environ/green/.env
diff --git a/.env/green/requirements.txt b/.environ/green/requirements.txt
similarity index 100%
rename from .env/green/requirements.txt
rename to .environ/green/requirements.txt
diff --git a/.github/workflows/pipeline-beyond-doubt.yml b/.github/workflows/pipeline-beyond-doubt.yml
index 664f26ea..71c24fdf 100644
--- a/.github/workflows/pipeline-beyond-doubt.yml
+++ b/.github/workflows/pipeline-beyond-doubt.yml
@@ -46,8 +46,6 @@ jobs:
-e docker_host=ghcr.io
-e environ=${{ matrix.environ.name }}
-e focus=pipeline
- -e usage=toy
- -e prefs=turing
working-directory: .dx
env:
GITHUB_ACTOR: ${{ github.actor }}