From c61a0cd2acd75c55862ba1a97fbeb37c91acd3a4 Mon Sep 17 00:00:00 2001 From: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Date: Thu, 28 Oct 2021 07:50:58 -0400 Subject: [PATCH 01/14] change pull location of theia run Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --- .github/workflows/theia-zowe-explorer-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/theia-zowe-explorer-ci.yml b/.github/workflows/theia-zowe-explorer-ci.yml index 3a67673bc1..905c678108 100644 --- a/.github/workflows/theia-zowe-explorer-ci.yml +++ b/.github/workflows/theia-zowe-explorer-ci.yml @@ -37,7 +37,7 @@ jobs: - run: ls -la temp/plugins - name: Start Theia - run: docker run --name theia --init -d -p 3000:3000 -v "${PWD}/temp:/home/theia/.theia" theiaide/theia:1.15.0 + run: docker run --name theia --init -d -p 3000:3000 -v "${PWD}/temp:/home/theia/.theia" quay.io/zowe-explorer/theia # NOTE(Kelosky): alternatively, we could run docker via something like this; however, we cannot hot reload # hosted VS Code extensions after theia is started (at least at the time this was written). # services: From 8ae68ae7706da6e41325d78907375fc3d66d9f35 Mon Sep 17 00:00:00 2001 From: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Date: Thu, 28 Oct 2021 07:53:05 -0400 Subject: [PATCH 02/14] change file for GHA to run Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --- packages/zowe-explorer/src/Profiles.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/zowe-explorer/src/Profiles.ts b/packages/zowe-explorer/src/Profiles.ts index 96f7ff6b68..a65236adeb 100644 --- a/packages/zowe-explorer/src/Profiles.ts +++ b/packages/zowe-explorer/src/Profiles.ts @@ -9,6 +9,8 @@ * * */ +// Change a file to get the GHA tests to run + import { IProfileLoaded, Logger, From cfddf3996d137ebc3f6250393373791aa762635e Mon Sep 17 00:00:00 2001 From: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Date: Thu, 28 Oct 2021 08:00:04 -0400 Subject: [PATCH 03/14] add 1.18.0 tag to command Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --- .github/workflows/theia-zowe-explorer-ci.yml | 2 +- packages/zowe-explorer/src/Profiles.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/theia-zowe-explorer-ci.yml b/.github/workflows/theia-zowe-explorer-ci.yml index 905c678108..cd25aea7bc 100644 --- a/.github/workflows/theia-zowe-explorer-ci.yml +++ b/.github/workflows/theia-zowe-explorer-ci.yml @@ -37,7 +37,7 @@ jobs: - run: ls -la temp/plugins - name: Start Theia - run: docker run --name theia --init -d -p 3000:3000 -v "${PWD}/temp:/home/theia/.theia" quay.io/zowe-explorer/theia + run: docker run --name theia --init -d -p 3000:3000 -v "${PWD}/temp:/home/theia/.theia" quay.io/zowe-explorer/theia:1.18.0 # NOTE(Kelosky): alternatively, we could run docker via something like this; however, we cannot hot reload # hosted VS Code extensions after theia is started (at least at the time this was written). # services: diff --git a/packages/zowe-explorer/src/Profiles.ts b/packages/zowe-explorer/src/Profiles.ts index a65236adeb..c6f5cdf3d6 100644 --- a/packages/zowe-explorer/src/Profiles.ts +++ b/packages/zowe-explorer/src/Profiles.ts @@ -10,6 +10,7 @@ */ // Change a file to get the GHA tests to run +// test 2 import { IProfileLoaded, From 21aa7f9b61d2e6365adce479d05a7f4104917ca0 Mon Sep 17 00:00:00 2001 From: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Date: Thu, 28 Oct 2021 08:06:06 -0400 Subject: [PATCH 04/14] clean up Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --- packages/zowe-explorer/src/Profiles.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/zowe-explorer/src/Profiles.ts b/packages/zowe-explorer/src/Profiles.ts index c6f5cdf3d6..96f7ff6b68 100644 --- a/packages/zowe-explorer/src/Profiles.ts +++ b/packages/zowe-explorer/src/Profiles.ts @@ -9,9 +9,6 @@ * * */ -// Change a file to get the GHA tests to run -// test 2 - import { IProfileLoaded, Logger, From a3c6abaaa92bcdab95d28ecc63926aa7e6c8bb1b Mon Sep 17 00:00:00 2001 From: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Date: Thu, 28 Oct 2021 13:47:59 -0400 Subject: [PATCH 05/14] try something Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --- .github/workflows/theia-zowe-explorer-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/theia-zowe-explorer-ci.yml b/.github/workflows/theia-zowe-explorer-ci.yml index cd25aea7bc..0a14954140 100644 --- a/.github/workflows/theia-zowe-explorer-ci.yml +++ b/.github/workflows/theia-zowe-explorer-ci.yml @@ -37,7 +37,7 @@ jobs: - run: ls -la temp/plugins - name: Start Theia - run: docker run --name theia --init -d -p 3000:3000 -v "${PWD}/temp:/home/theia/.theia" quay.io/zowe-explorer/theia:1.18.0 + run: docker run --name theia --init -it -p 3000:3000 -v "${PWD}/temp/plugins:/home/theia/plugins" quay.io/zowe-explorer/theia:1.18.0 # NOTE(Kelosky): alternatively, we could run docker via something like this; however, we cannot hot reload # hosted VS Code extensions after theia is started (at least at the time this was written). # services: @@ -53,7 +53,7 @@ jobs: - run: yarn lint - name: Verify plugin loaded - run: docker exec -i theia ls -la /home/theia/.theia/plugins + run: docker exec -i theia ls -la /home/theia/plugins - name: Verify Theia accessible run: curl --fail http://localhost:3000 From f95c44f94bf022ad114c7d172cdff5f55556ffde Mon Sep 17 00:00:00 2001 From: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Date: Thu, 28 Oct 2021 13:49:14 -0400 Subject: [PATCH 06/14] kick off GHAs Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --- packages/zowe-explorer/src/Profiles.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/zowe-explorer/src/Profiles.ts b/packages/zowe-explorer/src/Profiles.ts index 96f7ff6b68..b9808312de 100644 --- a/packages/zowe-explorer/src/Profiles.ts +++ b/packages/zowe-explorer/src/Profiles.ts @@ -9,6 +9,8 @@ * * */ +// kick off GHAs + import { IProfileLoaded, Logger, From 177366346fcb05536ff4bc3a4cca5eea35287999 Mon Sep 17 00:00:00 2001 From: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Date: Thu, 28 Oct 2021 13:53:43 -0400 Subject: [PATCH 07/14] change back to background run Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --- .github/workflows/theia-zowe-explorer-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/theia-zowe-explorer-ci.yml b/.github/workflows/theia-zowe-explorer-ci.yml index 0a14954140..e88aceeee8 100644 --- a/.github/workflows/theia-zowe-explorer-ci.yml +++ b/.github/workflows/theia-zowe-explorer-ci.yml @@ -37,7 +37,7 @@ jobs: - run: ls -la temp/plugins - name: Start Theia - run: docker run --name theia --init -it -p 3000:3000 -v "${PWD}/temp/plugins:/home/theia/plugins" quay.io/zowe-explorer/theia:1.18.0 + run: docker run --name theia --init -d -p 3000:3000 -v "${PWD}/temp/plugins:/home/theia/plugins" quay.io/zowe-explorer/theia:1.18.0 # NOTE(Kelosky): alternatively, we could run docker via something like this; however, we cannot hot reload # hosted VS Code extensions after theia is started (at least at the time this was written). # services: From 91dea3cb6b6f459ea66b38b5f6449b1c6e7f4732 Mon Sep 17 00:00:00 2001 From: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Date: Thu, 28 Oct 2021 15:06:07 -0400 Subject: [PATCH 08/14] try changing permissions to .theia dir Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --- .github/workflows/theia-zowe-explorer-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/theia-zowe-explorer-ci.yml b/.github/workflows/theia-zowe-explorer-ci.yml index e88aceeee8..964c5d4fc2 100644 --- a/.github/workflows/theia-zowe-explorer-ci.yml +++ b/.github/workflows/theia-zowe-explorer-ci.yml @@ -52,6 +52,8 @@ jobs: - run: yarn lint + - run: docker exec -i theia chmod g+w /home/theia/.theia + - name: Verify plugin loaded run: docker exec -i theia ls -la /home/theia/plugins From b1a63bb0d27fc069ec19cc549c13943a5a8fca03 Mon Sep 17 00:00:00 2001 From: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Date: Thu, 28 Oct 2021 15:17:22 -0400 Subject: [PATCH 09/14] trying Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --- .github/workflows/theia-zowe-explorer-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/theia-zowe-explorer-ci.yml b/.github/workflows/theia-zowe-explorer-ci.yml index 964c5d4fc2..4fb055f8aa 100644 --- a/.github/workflows/theia-zowe-explorer-ci.yml +++ b/.github/workflows/theia-zowe-explorer-ci.yml @@ -52,7 +52,8 @@ jobs: - run: yarn lint - - run: docker exec -i theia chmod g+w /home/theia/.theia + - run: docker exec -i theia mkdir /home/theia/.theia + - run: docker exec -i theia chmod 02775 /home/theia/.theia - name: Verify plugin loaded run: docker exec -i theia ls -la /home/theia/plugins From cc9b34d7f53e78b65d27c65be15b2a8691241301 Mon Sep 17 00:00:00 2001 From: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Date: Thu, 28 Oct 2021 15:38:42 -0400 Subject: [PATCH 10/14] didn't help Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --- .github/workflows/theia-zowe-explorer-ci.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/theia-zowe-explorer-ci.yml b/.github/workflows/theia-zowe-explorer-ci.yml index 4fb055f8aa..e88aceeee8 100644 --- a/.github/workflows/theia-zowe-explorer-ci.yml +++ b/.github/workflows/theia-zowe-explorer-ci.yml @@ -52,9 +52,6 @@ jobs: - run: yarn lint - - run: docker exec -i theia mkdir /home/theia/.theia - - run: docker exec -i theia chmod 02775 /home/theia/.theia - - name: Verify plugin loaded run: docker exec -i theia ls -la /home/theia/plugins From 8ee6223930c1c8dc7d1bfded90a3476c699ab221 Mon Sep 17 00:00:00 2001 From: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Date: Thu, 28 Oct 2021 16:02:33 -0400 Subject: [PATCH 11/14] not mount as root Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --- .github/workflows/theia-zowe-explorer-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/theia-zowe-explorer-ci.yml b/.github/workflows/theia-zowe-explorer-ci.yml index e88aceeee8..e7c0817294 100644 --- a/.github/workflows/theia-zowe-explorer-ci.yml +++ b/.github/workflows/theia-zowe-explorer-ci.yml @@ -37,7 +37,7 @@ jobs: - run: ls -la temp/plugins - name: Start Theia - run: docker run --name theia --init -d -p 3000:3000 -v "${PWD}/temp/plugins:/home/theia/plugins" quay.io/zowe-explorer/theia:1.18.0 + run: docker run --name theia --init -d -p 3000:3000 --user theia -v "${PWD}/temp/plugins:/home/theia/plugins" quay.io/zowe-explorer/theia:1.18.0 # NOTE(Kelosky): alternatively, we could run docker via something like this; however, we cannot hot reload # hosted VS Code extensions after theia is started (at least at the time this was written). # services: From 5273c10face36991efd10971ba4374fe9ce4f482 Mon Sep 17 00:00:00 2001 From: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Date: Thu, 28 Oct 2021 16:10:48 -0400 Subject: [PATCH 12/14] worked this way locally Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --- .github/workflows/theia-zowe-explorer-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/theia-zowe-explorer-ci.yml b/.github/workflows/theia-zowe-explorer-ci.yml index e7c0817294..422b702fa3 100644 --- a/.github/workflows/theia-zowe-explorer-ci.yml +++ b/.github/workflows/theia-zowe-explorer-ci.yml @@ -37,7 +37,7 @@ jobs: - run: ls -la temp/plugins - name: Start Theia - run: docker run --name theia --init -d -p 3000:3000 --user theia -v "${PWD}/temp/plugins:/home/theia/plugins" quay.io/zowe-explorer/theia:1.18.0 + run: docker run --name theia --init -d -p 3000:3000 --user theia -v "${PWD}/temp/plugins/:/home/theia/plugins" quay.io/zowe-explorer/theia:1.18.0 # NOTE(Kelosky): alternatively, we could run docker via something like this; however, we cannot hot reload # hosted VS Code extensions after theia is started (at least at the time this was written). # services: From fc6e86fe72d75eec20f794f1d0a12a6c42e6ee3f Mon Sep 17 00:00:00 2001 From: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Date: Fri, 29 Oct 2021 08:41:01 -0400 Subject: [PATCH 13/14] remove commented line Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --- packages/zowe-explorer/src/Profiles.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/zowe-explorer/src/Profiles.ts b/packages/zowe-explorer/src/Profiles.ts index b9808312de..96f7ff6b68 100644 --- a/packages/zowe-explorer/src/Profiles.ts +++ b/packages/zowe-explorer/src/Profiles.ts @@ -9,8 +9,6 @@ * * */ -// kick off GHAs - import { IProfileLoaded, Logger, From 662106da980c57ed4a457689222de3e8828dcb65 Mon Sep 17 00:00:00 2001 From: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Date: Wed, 3 Nov 2021 08:47:24 -0400 Subject: [PATCH 14/14] change 1.18.0 to latest Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --- .github/workflows/theia-zowe-explorer-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/theia-zowe-explorer-ci.yml b/.github/workflows/theia-zowe-explorer-ci.yml index 422b702fa3..3d6b6230cc 100644 --- a/.github/workflows/theia-zowe-explorer-ci.yml +++ b/.github/workflows/theia-zowe-explorer-ci.yml @@ -37,7 +37,7 @@ jobs: - run: ls -la temp/plugins - name: Start Theia - run: docker run --name theia --init -d -p 3000:3000 --user theia -v "${PWD}/temp/plugins/:/home/theia/plugins" quay.io/zowe-explorer/theia:1.18.0 + run: docker run --name theia --init -d -p 3000:3000 --user theia -v "${PWD}/temp/plugins/:/home/theia/plugins" quay.io/zowe-explorer/theia:latest # NOTE(Kelosky): alternatively, we could run docker via something like this; however, we cannot hot reload # hosted VS Code extensions after theia is started (at least at the time this was written). # services: