summaryrefslogtreecommitdiff
path: root/tests/functional/fixtures
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-12-01 01:04:53 +0100
committerGitHub <noreply@github.com>2021-12-01 01:04:53 +0100
commit8d76826fa64460e504acc5924f859f8dbc246b42 (patch)
tree083fefada982c795e2415092794db429abb0c184 /tests/functional/fixtures
parent5a1678f43184bd459132102cc13cf8426fe0449d (diff)
parent86ab04e54ea4175f10053decfad5086cda7aa024 (diff)
downloadgitlab-master.tar.gz
Merge pull request #1723 from python-gitlab/jlvillal/dead_mastermaster
Close-out `master` branch
Diffstat (limited to 'tests/functional/fixtures')
-rw-r--r--tests/functional/fixtures/.env2
-rw-r--r--tests/functional/fixtures/avatar.pngbin592 -> 0 bytes
-rw-r--r--tests/functional/fixtures/docker-compose.yml46
-rw-r--r--tests/functional/fixtures/set_token.rb9
4 files changed, 0 insertions, 57 deletions
diff --git a/tests/functional/fixtures/.env b/tests/functional/fixtures/.env
deleted file mode 100644
index 374f7ac..0000000
--- a/tests/functional/fixtures/.env
+++ /dev/null
@@ -1,2 +0,0 @@
-GITLAB_IMAGE=gitlab/gitlab-ce
-GITLAB_TAG=14.3.2-ce.0
diff --git a/tests/functional/fixtures/avatar.png b/tests/functional/fixtures/avatar.png
deleted file mode 100644
index a3a767c..0000000
--- a/tests/functional/fixtures/avatar.png
+++ /dev/null
Binary files differ
diff --git a/tests/functional/fixtures/docker-compose.yml b/tests/functional/fixtures/docker-compose.yml
deleted file mode 100644
index 134f266..0000000
--- a/tests/functional/fixtures/docker-compose.yml
+++ /dev/null
@@ -1,46 +0,0 @@
-version: '3'
-
-networks:
- gitlab-network:
- name: gitlab-network
-
-services:
- gitlab:
- image: '${GITLAB_IMAGE}:${GITLAB_TAG}'
- container_name: 'gitlab-test'
- hostname: 'gitlab.test'
- privileged: true # Just in case https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/1350
- environment:
- GITLAB_ROOT_PASSWORD: 5iveL!fe
- GITLAB_SHARED_RUNNERS_REGISTRATION_TOKEN: registration-token
- GITLAB_OMNIBUS_CONFIG: |
- external_url 'http://gitlab.test'
- registry['enable'] = false
- nginx['redirect_http_to_https'] = false
- nginx['listen_port'] = 80
- nginx['listen_https'] = false
- pages_external_url 'http://pages.gitlab.lxd'
- gitlab_pages['enable'] = true
- gitlab_pages['inplace_chroot'] = true
- prometheus['enable'] = false
- alertmanager['enable'] = false
- node_exporter['enable'] = false
- redis_exporter['enable'] = false
- postgres_exporter['enable'] = false
- pgbouncer_exporter['enable'] = false
- gitlab_exporter['enable'] = false
- grafana['enable'] = false
- letsencrypt['enable'] = false
- ports:
- - '8080:80'
- - '2222:22'
- networks:
- - gitlab-network
-
- gitlab-runner:
- image: gitlab/gitlab-runner:latest
- container_name: 'gitlab-runner-test'
- depends_on:
- - gitlab
- networks:
- - gitlab-network
diff --git a/tests/functional/fixtures/set_token.rb b/tests/functional/fixtures/set_token.rb
deleted file mode 100644
index 503588b..0000000
--- a/tests/functional/fixtures/set_token.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html#programmatically-creating-a-personal-access-token
-
-user = User.find_by_username('root')
-
-token = user.personal_access_tokens.first_or_create(scopes: [:api, :sudo], name: 'default');
-token.set_token('python-gitlab-token');
-token.save!
-
-puts token.token