2nd IP address for gitlab pages with custom domains
One of the requirements to setup gitlab pages with custom domains is a 2nd IP address: https://docs.gitlab.com/11.2/ce/administration/pages/index.html
- Wildcard DNS setup
- Secondary IP
How can I obtain a second IP address? The company I have machines on, Hetzner, doesn't seem to rent them.
See also questions close to this topic
File read from angularjs and convert base64 and push into gitlab
multiple zip File read and display in angularjs and those files convert base64 in nodejs and push into gitlab. please suggest me if it possible in nodejs. is there any blug available for reference.
gitlab helm chart gitlab-runner pod status=500 Internal Server Error
I installed gitlab with the latest helm chart in my GKE cloud. The gitlab-runner pod keeps chrashing for several hours now. The logs in the pod show the error:
ERROR: Registering runner... failed runner=3JbLH9V1 status=500 Internal Server Error PANIC: Failed to register this runner. Perhaps you are having network problems Registration attempt 30 of 30 Runtime platform arch=amd64 os=linux pid=398 revision=8bb608ff version=11.7.0 WARNING: Running in user-mode. WARNING: The user-mode requires you to manually start builds processing: WARNING: $ gitlab-runner run WARNING: Use sudo for system-mode: WARNING: $ sudo gitlab-runner...
Any help would be appreciated!
Get the `id` of gitlab project via gitlab api or gitlab-cli
Is there any way to get an
idof the project via GitLab API .
I created a project using GitLab API providing the project name -
curl -kX POST --header "PRIVATE-TOKEN: <access_token>" https://gitlab.example.com/api/v4/projects/my_app&visibility=internal
It returns expected result with project information like
namespaceetc. Now I want to create
issueor create a
branch. I need the project
idnow. So how can I retrieve the
idof my project
my_app. (Not from UI).
I didn't find any API query that I can create
branchwithout using project
I always need
As well I didn't find any API query that I can retrieve the
idusing the project
Only thing I can use by Search API and use
curl -kX GET --header "PRIVATE-TOKEN: <access_token>" https://gitlab.example.com/api/v4/search?scope=projects&search=my_app
But it provides whole lot of information. I only need to retrieve
project id. No idea how to get the project
There is python-gitlab lib by which I can do, similar stuff like using
- Get projects ( gives most recent 20 projects'
gitlab project list
- Create project
gitlab -o yaml project create --name "my_app_cli" --visibility "internal"
- Create Issue of a project
gitlab -o yaml project create-issue --id IDHere also I need to provide
But in this library also, there is no option to retrieve project
id. Same as the API, to create any branch, issue etc, I need to use
idof the created project. I don't want to put manually the
apior while using
Is there any workaround to get the id via
Or Is there any workaround to create
branchetc. without using the
- Get projects ( gives most recent 20 projects'
How to set up static ip on Rasp pi3 running IOT?
I have a Rasp pi3 running IOT and I want to set up a static ip address. I want this because the pi is running a server. I have previously set up a static address by assigning it through the router. However, now I want to connect the pi to the network via a wifi extender, and the extender doesn't give the option to set up a static address.
Is it possible to set a static IP using ADB?
How to setup a STATIC IP ADDRESS while using Google App Engine
I have an application running on Google Cloud's App Engine(flexible environment).
An external API that deals with finances requires us to have a static external IP address so that we may interact. I know App Engine doesn't have an external IP address feature.
I'm also aware that using Google Cloud's Compute Engine, a VM instance with a static IP can be set up.
Is there anyone that has run into this situation and figured out an efficient solution?
Oreo Wifi Network Settings Configuration for a specific Network
I'm trying to give the best UX to my users so the scenario is the following.
Problem: My firmware is emitting Wifi connection without internet (like GoPro cameras) but because of a firmware design mistake we're not able to stream information anymore to the app since Android Oreo.
Solution: User has to set Static IP Configuration and enter a static IP Address.
Question: I need to ask user to change his IP Settings from
Static, but the flows are different from device to device to get there. I could only find the Intent to send user to the
(Intent(Settings.ACTION_WIFI_SETTINGS)). Is there an intent to send user directly to the Wifi's connected Settings Page? (In order to skip the step where users presses on
Manage network settings). Since I can't modify this settings programmatically (in my knowledge) from the Android device, I find this the most elegant solution.
Any suggestion it's appreciated.
How to fix internal link issues when publishing a Docusaurus site on GitLab pages
In my Docusaurus project my internal links work on my local environment, but when I push to GitLab they no longer work. Instead of replacing the original doc title with the new one it adds it to the url at the end ('https://username.io/test-site/docs/overview/add-a-category.html'). I looked over my config file, but I do not understand why this is happening.
I tried updating the id in the front matter for the page, and making sure it matches the id in the sidebars.json file. I have also added customDocsPath and set it to 'docs/' in the config file, though that is supposed to be the default.
--- id: "process-designer-overview" title: "Process Designer Overview" sidebar_label: "Overview" --- # Process Designer The Process Designer is a collaborative business process modeling and design workspace for the business processes, scenarios, roles and tasks that make up governed data processes. Use the Process Designer to: - [Add a Category](add-a-category.html) - [Add a Process or Scenario](Add%20a%20Process%20or%20Scenario.html) - [Edit a Process or Scenario](Edit%20a%20Process%20or%20Scenario.html)
I updated the add a category link in parenthesis to an md extension, but that broke the link on my local and it still didn't work on GitLab. I would expect that when a user clicks on the link it would replace the doc title in the url with the new doc title ('https://username.gitlab.io/docs/add-a-category.html') but instead it just tacks it on to the end ('https://username.gitlab.io/docs/process-designer-overview/add-a-category.html') and so the link is broken as that is not where the doc is located.
Issue redirecting www to naked domain (Gitlab pages, Hugo static website, namecheap, let's encrypt)
I have currently my Hugo static website hosted on gitlab pages with Let's encrypt for the SSL certificate. Both naked and www domain are enabled in gitlab pages as well as in the DNS (namecheap). I would like to redirect www to the naked domain. I have been told to use cloudflare but I would need to use their own SSL certificate (which is apparently subpar compared to Let's encrypt (see https://nickjanetakis.com/blog/lets-encrypt-vs-cloudflare-for-https)) I also don't have access to the htaccess file in a hugo static website.I would really be grateful if someone could help me. Thanks a lot in advance.
I tried a redirect with namecheap but all my attempts have failed.
In DNS (Namecheap) Type: URL Redirect Record Host: www Value: http://example.com I have also tried https for Value.
I expected to type www.example.com and be redirected to example.com but it's not happening.
Issues with using proper directory when running python script in gitlab-ci
I have a python script that I am trying to run as part of gitlab pages deployment of a jekyll site. My site has blog posts that have various tags, and the python script generates the .md files for the tag pages. The script works perfectly fine when I just manually run it in an IDE, however I want it to be part of the gitlab ci deployment process
here is what my gitlab-ci.yml setup looks like:
run: image: python:latest script: - python tag_generator.py artifacts: paths: - public only: - master pages: image: ruby:2.3 stage: deploy script: - bundle install - bundle exec jekyll build -d public artifacts: paths: - public only: - master
however, it doesn't actually create the files that it's supposed to create, here is the output from the job "run":
... Cloning repository... Cloning into '/builds/username/projectname'... Checking out 4c8a47fe as master... Skipping Git submodules setup $ python tag_generator.py Tags generated, count 23 Uploading artifacts... WARNING: public: no matching files ERROR: No files to upload Job succeeded
the script reads out "tags generated, count ___" once it's executed, so it is running, however the files that it's supposed to create aren't being created/uploaded into the right directory. there is a /tag directory in the root project folder, that is where they are supposed to go.
I realize that the issue must have something to do with the public folder, however when I don't have
artifacts: paths: - public
it still doesn't create the files in the /tag directory, so it doesn't work whether I have -public or not, and I don't know what the problem is.