diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 000000000..c9e5283ea --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,11 @@ +# This configuration file was automatically generated by Gitpod. +# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml) +# and commit this file to your remote git repository to share the goodness with others. + +# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart + +tasks: + - init: go get && go build ./... && go test ./... && make + command: go run . + + diff --git a/script/test/fixtures/env/output-k8s.yaml b/script/test/fixtures/env/output-k8s.yaml index 61bf3efe4..f53119dab 100644 --- a/script/test/fixtures/env/output-k8s.yaml +++ b/script/test/fixtures/env/output-k8s.yaml @@ -67,12 +67,12 @@ spec: valueFrom: configMapKeyRef: key: BAR - name: home-runner-work-kompose-kompose-script-test-fixtures-env-hadoop-hive-namenode-env + name: hadoop-hive-namenode-env - name: FOO valueFrom: configMapKeyRef: key: FOO - name: home-runner-work-kompose-kompose-script-test-fixtures-env-hadoop-hive-namenode-env + name: hadoop-hive-namenode-env image: bde2020/hadoop-namenode:2.0.0-hadoop2.7.4-java8 name: another-namenode ports: @@ -95,8 +95,8 @@ kind: ConfigMap metadata: creationTimestamp: null labels: - io.kompose.service: another-namenode-home-runner-work-kompose-kompose-script-test-fixtures-env-hadoop-hive-namenode-env - name: home-runner-work-kompose-kompose-script-test-fixtures-env-hadoop-hive-namenode-env + io.kompose.service: another-namenode-hadoop-hive-namenode-env + name: hadoop-hive-namenode-env --- apiVersion: apps/v1 @@ -125,14 +125,14 @@ spec: valueFrom: configMapKeyRef: key: BAR - name: home-runner-work-kompose-kompose-script-test-fixtures-env-hadoop-hive-namenode-env + name: hadoop-hive-namenode-env - name: CLUSTER_NAME value: test - name: FOO valueFrom: configMapKeyRef: key: FOO - name: home-runner-work-kompose-kompose-script-test-fixtures-env-hadoop-hive-namenode-env + name: hadoop-hive-namenode-env image: bde2020/hadoop-namenode:2.0.0-hadoop2.7.4-java8 name: namenode ports: diff --git a/script/test/fixtures/env/output-os.yaml b/script/test/fixtures/env/output-os.yaml index f42839594..487b57108 100644 --- a/script/test/fixtures/env/output-os.yaml +++ b/script/test/fixtures/env/output-os.yaml @@ -49,8 +49,8 @@ kind: ConfigMap metadata: creationTimestamp: null labels: - io.kompose.service: another-namenode-home-runner-work-kompose-kompose-script-test-fixtures-env-hadoop-hive-namenode-env - name: home-runner-work-kompose-kompose-script-test-fixtures-env-hadoop-hive-namenode-env + io.kompose.service: another-namenode-hadoop-hive-namenode-env + name: hadoop-hive-namenode-env --- apiVersion: apps.openshift.io/v1 @@ -79,12 +79,12 @@ spec: valueFrom: configMapKeyRef: key: BAR - name: home-runner-work-kompose-kompose-script-test-fixtures-env-hadoop-hive-namenode-env + name: hadoop-hive-namenode-env - name: FOO valueFrom: configMapKeyRef: key: FOO - name: home-runner-work-kompose-kompose-script-test-fixtures-env-hadoop-hive-namenode-env + name: hadoop-hive-namenode-env image: ' ' name: another-namenode ports: @@ -166,14 +166,14 @@ spec: valueFrom: configMapKeyRef: key: BAR - name: home-runner-work-kompose-kompose-script-test-fixtures-env-hadoop-hive-namenode-env + name: hadoop-hive-namenode-env - name: CLUSTER_NAME value: test - name: FOO valueFrom: configMapKeyRef: key: FOO - name: home-runner-work-kompose-kompose-script-test-fixtures-env-hadoop-hive-namenode-env + name: hadoop-hive-namenode-env image: ' ' name: namenode ports: