openinfrastructure / terraform-google-pubsub

This module makes it easy to create Google Cloud Pub/Sub topic and subscriptions associated with the topic.
https://registry.terraform.io/modules/terraform-google-modules/pubsub/google
Apache License 2.0
0 stars 1 forks source link

DevEx 2.0 #1

Open jeffmccune opened 5 years ago

jeffmccune commented 5 years ago

TODO

Dependencies

As minimal as possible. Goal:

References

jeffmccune commented 5 years ago

Issue: gitlab-runner locally does not build uncommitted changes. See 1683

gitlab-runner exec docker hello
Runtime platform                                    arch=amd64 os=darwin pid=76831 revision=0e5417a3 version=12.0.1
WARNING: You most probably have uncommitted changes.
WARNING: These changes will not be tested.
Running with gitlab-runner 12.0.1 (0e5417a3)
Using Docker executor with image gcr.io/cloud-foundation-cicd/cft/lint:2.4.0 ...
Pulling docker image gcr.io/cloud-foundation-cicd/cft/lint:2.4.0 ...
Using docker image sha256:951b518f7c952c900f56c4628d1bf7f4d073d0db67c04fd89e37f138a4ced8e4 for gcr.io/cloud-foundation-cicd/cft/lint:2.4.0 ...
Running on runner--project-0-concurrent-0 via jmccune-macbookpro.roam.corp.google.com...
Fetching changes...
Initialized empty Git repository in /builds/project-0/.git/
Created fresh repository.
From /Users/jmccune/projects/gcp/cft/terraform-google-pubsub
 * [new branch]      devex2.0/runner -> origin/devex2.0/runner
 * [new branch]      master          -> origin/master
 * [new tag]         v0.1.0          -> v0.1.0
 * [new tag]         v0.2.0          -> v0.2.0
Checking out 8f4dfcfd as devex2.0/runner...

Skipping Git submodules setup
$ test/hello_world
/bin/bash: line 31: test/hello_world: No such file or directory
ERROR: Job failed: exit code 1
FATAL: exit code 1
jeffmccune commented 5 years ago

Compatiblity table of what gitlab-runner exec can and cannot do is at:

jeffmccune commented 5 years ago

Explore data only containers