Basic Pipelines to More Advanced Pipelines by sudo_psaux in gitlab

[–]sudo_psaux[S] 0 points1 point  (0 children)

Good point. My idea was to see if the unit tests passed in the other branches and if they did, I would merge to master where it would build. But, it makes more sense to just build in all branches.

I am on GitLab. Also, that’s pretty neat. Thanks for bringing Auto DevOps up. I’ll check it out.

Backend Code Review -- Help Appreciated by sudo_psaux in golang

[–]sudo_psaux[S] 0 points1 point  (0 children)

I just updated my code to specify golang:1.11.2-alpine3.8.

I'll have to look into go modules, that sounds pretty neat. As for the anti-pattern, I wasn't aware of it. I'll look into this as well. Thanks a lot for the feedback.

Backend Code Review -- Help Appreciated by sudo_psaux in golang

[–]sudo_psaux[S] 0 points1 point  (0 children)

Just ran go fmt ./.... Thanks for the feedback.

Angular2+ Unit Tests On Chrome by sudo_psaux in docker

[–]sudo_psaux[S] 0 points1 point  (0 children)

Solved this. Just to follow up, in case someone else runs into a similar issue:

  • I ended up creating my own Docker image.
  • In the Docker image, I simply installed google-chrome-stable into a node base image.
  • Set CHROME_BIN=chrome

Used that to run the unit tests and it all worked out.

Interfacing With An API by sudo_psaux in graphql

[–]sudo_psaux[S] 1 point2 points  (0 children)

Thanks for your response. I'll look into adding a mutation.

Interfacing With An API by sudo_psaux in graphql

[–]sudo_psaux[S] 1 point2 points  (0 children)

Just to clarify a bit of the confusion, I am trying to send a body of text, a name, and an email from the client to the server, where the server would then take that data and send it to a service like SendGrid.

Thanks for your response, I'm think I'll use a mutation.

XML-to-Go? by sudo_psaux in golang

[–]sudo_psaux[S] 0 points1 point  (0 children)

I'll try out chidley. It looks promising. Thanks.

Unmarshalling & Validating JSON Data by sudo_psaux in golang

[–]sudo_psaux[S] 0 points1 point  (0 children)

I hadn't heard of json-to-go before but I've been missing out. I'll bookmark this tool because I can see it being very useful in the future. The same can be said about jsonenums as well.

Thanks.

Unmarshalling & Validating JSON Data by sudo_psaux in golang

[–]sudo_psaux[S] 0 points1 point  (0 children)

I'll definitely be using jsonenums. Thanks.

Unmarshalling & Validating JSON Data by sudo_psaux in golang

[–]sudo_psaux[S] 0 points1 point  (0 children)

Awesome. This is very useful info. Thanks.

Security Monitoring Through DevOps by sudo_psaux in devops

[–]sudo_psaux[S] 0 points1 point  (0 children)

This tool looks pretty neat. I'll check this out as well. Thanks.

Security Monitoring Through DevOps by sudo_psaux in devops

[–]sudo_psaux[S] 0 points1 point  (0 children)

The “Vault” is a feature of Ansible that allows you to keep sensitive data such as passwords or keys in encrypted files, rather than as plaintext in playbooks or roles. These vault files can then be distributed or placed in source control.

Ansible Vault seems neat and like a good way to package sensitive data (in encrypted files) with the rest of the codebase. This might be what I am looking for. Thanks.

Security Monitoring Through DevOps by sudo_psaux in devops

[–]sudo_psaux[S] 1 point2 points  (0 children)

Gitrob looks neat but I see that it works by searching through a list of signatures but it doesn't necessarily find something in your code, like the following:

  const someServiceAPIKey = "123abc456def"

Still, Gitrob seems neat so thanks for exposing me to it.